Gemma 4 31B (Non-reasoning) API Provider Benchmarking & Analysis
This analysis is intended to support you in choosing the best API provider of Gemma 4 31B (Non-reasoning) for your use-case.
Fastest
Output speed
Total 9 providers
Lowest Latency
Time to first token
Total 9 providers
Lowest Price
Blended price (per 1M tokens)
Total 9 providers
Gemma 4 31B is available through 9 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 Cerebras (1,359.5 t/s), Modular (NVFP4) (244.3 t/s), and SambaNova (201.4 t/s). Speed varies significantly across providers, with a 2604% difference between the fastest and slowest.
- For latency, Modular (NVFP4) (0.43s), Cerebras (0.52s), and DeepInfra (FP8) (1.16s) offer the lowest time to first token.
- For pricing, Parasail (0.11), DeepInfra (FP8) (0.15), and SiliconFlow (FP8) (0.16) offer the lowest blended prices per 1M tokens. Prices vary up to 9.3x across providers.
Highlights
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
Pricing: Blended Price
Pricing: Cache Discount
Output Speed vs. Price
Speed
Measured by Output Speed (tokens per second)
Output Speed: Gemma 4 31B (Non-reasoning)
Latency vs. Output Speed
Latency
Measured by Time (seconds) to First Token
Time to First Token
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 | -- | 244 | 0.43 | 2.48 | -- | |||
262k | Open | $0.02 | 58 | 1.44 | 10.05 | -- | |||
131k | Open | $0.28 | 1,360 | 0.52 | 0.89 | -- | |||
262k | Open | $0.04 | 186 | 1.67 | 4.36 | -- | |||
262k | Open | $0.11 | 54 | 1.16 | 10.50 | -- | |||
262k | Open | $0.04 | 54 | 3.39 | 12.60 | -- | |||
262k | Open | $0.04 | 56 | 1.16 | 10.04 | -- | |||
131k | Open | $0.11 | 201 | 3.04 | 5.52 | -- | |||
262k | Open | $0.04 | 50 | 1.53 | 11.47 | -- | |||
Frequently Asked Questions
Common questions about Gemma 4 31B (Non-reasoning) providers
Gemma 4 31B (Non-reasoning) is available through 9 API providers: Modular (NVFP4), Parasail, Cerebras, FriendliAI, Together AI (FP8), SiliconFlow (FP8), DeepInfra (FP8), SambaNova, and Novita. Each provider offers different performance characteristics and pricing.
Gemma 4 31B (Non-reasoning) is currently available through 9 API providers that we benchmark and track.
The fastest providers for Gemma 4 31B (Non-reasoning) by output speed are Cerebras (1,359.5 t/s), Modular (NVFP4) (244.3 t/s), and SambaNova (201.4 t/s). Output speed measures how quickly tokens are generated after the model starts responding.
The providers with the lowest time to first token for Gemma 4 31B (Non-reasoning) are Modular (NVFP4) (0.43s), Cerebras (0.52s), and DeepInfra (FP8) (1.16s). Lower latency means faster initial response time.
The most affordable providers for Gemma 4 31B (Non-reasoning) by blended price are Parasail ($0.11 per 1M tokens), DeepInfra (FP8) ($0.15 per 1M tokens), and SiliconFlow (FP8) ($0.16 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 (Non-reasoning) are SiliconFlow (FP8) ($0.13 per 1M input tokens), DeepInfra (FP8) ($0.13 per 1M input tokens), and FriendliAI ($0.14 per 1M input tokens).
The providers with the lowest output token pricing for Gemma 4 31B (Non-reasoning) are DeepInfra (FP8) ($0.38 per 1M output tokens), Parasail ($0.40 per 1M output tokens), and FriendliAI ($0.40 per 1M output tokens).
8 of 9 providers support JSON mode for Gemma 4 31B (Non-reasoning): Parasail, Cerebras, FriendliAI, Together AI (FP8), SiliconFlow (FP8), DeepInfra (FP8), SambaNova, and Novita.
All 9 providers of Gemma 4 31B (Non-reasoning) support function calling (tool use).
The best provider for Gemma 4 31B (Non-reasoning) depends on your priorities: Cerebras offers the highest output speed, Modular (NVFP4) has the lowest latency, and Parasail provides the most competitive pricing.
When choosing a provider for Gemma 4 31B (Non-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 (Non-reasoning)'s intelligence, capabilities, modalities, and how it compares to other models, see the model overview page. View model overview