Gemma 4 31B (Reasoning) API Provider Benchmarking & Analysis
Analysis of API providers for Gemma 4 31B (Reasoning) across performance metrics including latency (time to first token), output speed (output tokens per second), price and others. API providers benchmarked include CoreWeave, Parasail, DeepInfra, SiliconFlow (FP8), SambaNova, FriendliAI, Lightning AI, Together AI, Google (AI Studio).
Fastest
Output speed
Total 9 providers
Lowest Latency
Time to first answer 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 SambaNova (195.0 t/s), Lightning AI (160.6 t/s), SiliconFlow (FP8) (60.7 t/s). Speed varies significantly across providers, with a 291% difference between the fastest and slowest.
- For latency, Lightning AI (11.41s), SambaNova (11.63s), Together AI (29.94s) offer the lowest time to first token.
- For pricing, DeepInfra (0.08), Parasail (0.12), SiliconFlow (FP8) (0.16) offer the lowest blended prices per 1M tokens. Prices vary up to 2.1x 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
Speed vs. Price
Speed
Measured by Output Speed (tokens per second)
Output Speed: Gemma 4 31B Providers
Latency vs. Output Speed: Gemma 4 31B Providers
Latency
Measured by Time (seconds) to First Token
Time to First Answer Token: Gemma 4 31B Providers
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: Gemma 4 31B Providers
API Features
Summary Table of Key Comparison Metrics
Frequently Asked Questions
Common questions about Gemma 4 31B (Reasoning) providers
Gemma 4 31B (Reasoning) is available through 9 API providers: CoreWeave, Parasail, DeepInfra, SiliconFlow (FP8), SambaNova, FriendliAI, Lightning AI, Together AI, and Google (AI Studio). Each provider offers different performance characteristics and pricing.
Gemma 4 31B (Reasoning) is currently available through 9 API providers that we benchmark and track.
The fastest providers for Gemma 4 31B (Reasoning) by output speed are SambaNova (195.0 t/s), Lightning AI (160.6 t/s), and SiliconFlow (FP8) (60.7 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 (Reasoning) are Lightning AI (0.60s), CoreWeave (0.99s), and Google (AI Studio) (1.13s). Lower latency means faster initial response time.
The most affordable providers for Gemma 4 31B (Reasoning) by blended price are DeepInfra ($0.08 per 1M tokens), Parasail ($0.12 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 (Reasoning) are DeepInfra ($0.13 per 1M input tokens), SiliconFlow (FP8) ($0.13 per 1M input tokens), and Parasail ($0.14 per 1M input tokens).
The providers with the lowest output token pricing for Gemma 4 31B (Reasoning) are DeepInfra ($0.38 per 1M output tokens), Parasail ($0.40 per 1M output tokens), and SiliconFlow (FP8) ($0.40 per 1M output tokens).
8 of 9 providers support JSON mode for Gemma 4 31B (Reasoning): CoreWeave, Parasail, DeepInfra, SambaNova, FriendliAI, Lightning AI, Together AI, and Google (AI Studio).
All 9 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, Lightning AI has the lowest latency, and DeepInfra 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
DeepInfra
SambaNova