Gemma 4 31B (Non-reasoning) API Provider Benchmarking & Analysis
Analysis of API providers for Gemma 4 31B (Non-reasoning) across performance metrics including latency (time to first token), output speed (output tokens per second), price and others. API providers benchmarked include Together.ai (FP8), SiliconFlow (FP8), Novita, DeepInfra (FP8), FriendliAI.
Fastest
Output speed
Total 5 providers
Lowest Latency
Time to first answer token
Total 5 providers
Lowest Price
Blended price (per 1M tokens, 3:1 Input-Output ratio)
Total 5 providers
Gemma 4 31B is available through 5 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 SiliconFlow (FP8) (84.3 t/s), FriendliAI (61.9 t/s), Novita (18.5 t/s). Speed varies significantly across providers, with a 492% difference between the fastest and slowest.
- For latency, DeepInfra (FP8) (1.00s), Together.ai (FP8) (1.16s), Novita (1.73s) offer the lowest time to first token.
- For pricing, DeepInfra (FP8) (0.19), SiliconFlow (FP8) (0.20), Novita (0.21) offer the lowest blended prices per 1M tokens.
- DeepInfra (FP8) offers both the lowest latency and best pricing, making it attractive for cost-conscious applications. SiliconFlow (FP8) is the fastest option for throughput-intensive workloads.
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
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 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 (Non-reasoning) providers
Gemma 4 31B (Non-reasoning) is available through 5 API providers: Together.ai (FP8), SiliconFlow (FP8), Novita, DeepInfra (FP8), and FriendliAI. Each provider offers different performance characteristics and pricing.
Gemma 4 31B (Non-reasoning) is currently available through 5 API providers that we benchmark and track.
The fastest providers for Gemma 4 31B (Non-reasoning) by output speed are SiliconFlow (FP8) (84.3 t/s), FriendliAI (61.9 t/s), and Novita (18.5 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 DeepInfra (FP8) (1.00s), Together.ai (FP8) (1.16s), and Novita (1.73s). Lower latency means faster initial response time.
The most affordable providers for Gemma 4 31B (Non-reasoning) by blended price are DeepInfra (FP8) ($0.19 per 1M tokens), SiliconFlow (FP8) ($0.20 per 1M tokens), and Novita ($0.21 per 1M tokens). Blended price uses a 3:1 input to 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 Novita ($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), SiliconFlow (FP8) ($0.40 per 1M output tokens), and Novita ($0.40 per 1M output tokens).
Prices for Gemma 4 31B (Non-reasoning) vary up to 1.4x across providers. The most affordable is DeepInfra (FP8) at $0.19 per 1M tokens, while Together.ai (FP8) charges $0.28 per 1M tokens.
Output speed for Gemma 4 31B (Non-reasoning) varies significantly across providers. SiliconFlow (FP8) is the fastest at 84.3 t/s, which is 5.9x faster than Together.ai (FP8) at 14.2 t/s.
All 5 providers of Gemma 4 31B (Non-reasoning) support JSON mode for structured output.
All 5 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: SiliconFlow (FP8) offers the highest output speed, DeepInfra (FP8) has the lowest latency, and DeepInfra (FP8) 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
DeepInfra (FP8)