Gemma 4 31B (Reasoning) API Provider Benchmarking & Analysis
This analysis is intended to support you in choosing the best API provider of Gemma 4 31B (Reasoning) for your use-case.
Fastest
Output speed
Total 11 providers
Lowest Latency
Time to first answer token
Total 11 providers
Lowest Price
Blended price (per 1M tokens)
Total 11 providers
Gemma 4 31B is available through 11 API providers, each offering different performance characteristics and pricing. Below is a comparison of the key metrics across providers.
- For output speed, the top providers are SambaNova (511.8 t/s), Modular (NVFP4) (275.7 t/s), and FriendliAI (108.9 t/s). Speed varies significantly across providers, with a 5867% difference between the fastest and slowest.
- For latency, Modular (NVFP4) (6.75s), SambaNova (7.02s), and FriendliAI (17.76s) offer the lowest time to first answer token.
- For pricing, Google (AI Studio) (0.00), DigitalOcean (0.11), and Parasail (0.11) offer the lowest blended prices per 1M tokens.
Update: Default performance benchmarking workload has updated to 10k input tokens to better reflect production use cases. You can still select different workloads above.
Pricing
Pricing: Cache Hit, Input, and Output
Cost per Intelligence Index Task
Output Speed vs. Price
Speed
Measured by Output Speed (tokens per second)
Output Speed: Gemma 4 31B (Reasoning)
Time per Intelligence Index Task
Cost per Task vs. Time per Task
Latency
Measured by Time (seconds) to First Token
Time to First Answer Token
Cache Behaviour
Cache Hit Rate
Cost per Task vs. Cache Hit Rate
End-to-End Response Time
Seconds to output 500 tokens, calculated based on time to first token, 'thinking' time for reasoning models, and output speed
End-to-End Response Time
Key Comparison Metrics & API Features
262k | Open | $0.07 | 62 | 1.99 | 37.89 | 27.88 | |||
262k | Open | $0.10 | 243 | 0.45 | 9.67 | 7.16 | |||
262k | Open | $0.10 | 23 | 1.87 | 99.13 | 75.51 | |||
262k | Open | $0.00 | 36 | 1.12 | 63.66 | 48.55 | |||
262k | Open | $0.07 | 63 | 1.40 | 37.12 | 27.73 | |||
262k | Open | $0.15 | 26 | 1.70 | 88.04 | 67.03 | |||
262k | Open | $0.10 | 52 | 0.89 | 43.64 | 33.19 | |||
262k | Open | $0.54 | 9 | 3.33 | 255.16 | 195.52 | |||
131k | Open | $0.28 | 499 | 3.19 | 7.67 | 3.48 | |||
256k | Open | $0.10 | 99 | 2.95 | 25.61 | 17.59 | |||
262k | Open | $0.05 | 48 | 2.06 | 49.06 | 36.49 | |||
Frequently Asked Questions
Common questions about Gemma 4 31B (Reasoning) providers
Gemma 4 31B (Reasoning) is available through 11 API providers: CoreWeave, Modular (NVFP4), Novita, Google (AI Studio), Parasail, DeepInfra, Crusoe, SiliconFlow (FP8), SambaNova, FriendliAI, and DigitalOcean. Each provider offers different performance characteristics and pricing.
Gemma 4 31B (Reasoning) is currently available through 11 API providers that we benchmark and track.
The fastest providers for Gemma 4 31B (Reasoning) by output speed are SambaNova (511.8 t/s), Modular (NVFP4) (275.7 t/s), and FriendliAI (108.9 t/s). Output speed measures how quickly tokens are generated after the model starts responding.
The providers with the lowest time to first answer token for Gemma 4 31B (Reasoning) are Modular (NVFP4) (6.75s), SambaNova (7.02s), and FriendliAI (17.76s). Lower latency means faster initial response time.
The most affordable providers for Gemma 4 31B (Reasoning) by blended price are Google (AI Studio) ($0.00 per 1M tokens), DigitalOcean ($0.11 per 1M tokens), and Parasail ($0.11 per 1M tokens). Blended price uses a 7:2:1 cache hit/input/output token ratio.
The providers with the lowest input token pricing for Gemma 4 31B (Reasoning) are Google (AI Studio) ($0.00 per 1M input tokens), CoreWeave ($0.10 per 1M input tokens), and Novita ($0.14 per 1M input tokens).
The providers with the lowest output token pricing for Gemma 4 31B (Reasoning) are Google (AI Studio) ($0.00 per 1M output tokens), CoreWeave ($0.34 per 1M output tokens), and Novita ($0.40 per 1M output tokens).
Prices for Gemma 4 31B (Reasoning) range from $0.00 per 1M tokens at Google (AI Studio) to $0.78 per 1M tokens at SiliconFlow (FP8).
Output speed for Gemma 4 31B (Reasoning) varies significantly across providers. SambaNova is the fastest at 511.8 t/s, which is 59.7x faster than SiliconFlow (FP8) at 8.6 t/s.
All 11 providers of Gemma 4 31B (Reasoning) support JSON mode for structured output.
All 11 providers of Gemma 4 31B (Reasoning) support function calling (tool use).
The best provider for Gemma 4 31B (Reasoning) depends on your priorities: SambaNova offers the highest output speed, Modular (NVFP4) has the lowest latency, and Google (AI Studio) provides the most competitive pricing.
When choosing a provider for Gemma 4 31B (Reasoning), consider: output speed (for throughput-intensive tasks), latency (for interactive applications requiring quick first responses), pricing (for cost-sensitive workloads), and API features like JSON mode or function calling.
Yes, provider performance can vary over time due to infrastructure changes, load balancing, and updates. We continuously benchmark all providers and display historical performance trends in the "Over Time" charts.
For information about Gemma 4 31B (Reasoning)'s intelligence, capabilities, modalities, and how it compares to other models, see the model overview page. View model overview