Gemma 4 31B

Open weights model

Released April 2026

Gemma 4 31B (Non-reasoning) API Provider Benchmarking & Analysis

Model Comparison

This analysis is intended to support you in choosing the best API provider of Gemma 4 31B (Non-reasoning) for your use-case.

Fastest

#1
Modular (NVFP4)Modular (NVFP4)
208.1 t/s
#2
SambaNovaSambaNova
203.1 t/s
#3
FriendliAIFriendliAI
107.7 t/s
#4
SiliconFlow (FP8)SiliconFlow (FP8)
56.8 t/s
#5
CoreWeaveCoreWeave
55.6 t/s

Output speed

Total 11 providers

Lowest Latency

#1
Modular (NVFP4)Modular (NVFP4)
0.43 s
#2
CrusoeCrusoe
1.18 s
#3
DeepInfra (FP8)DeepInfra (FP8)
1.46 s
#4
ParasailParasail
1.50 s
#5
Together AI (FP8)Together AI (FP8)
1.53 s

Time to first token

Total 11 providers

Lowest Price

#1
ParasailParasail
$0.11
#2
CoreWeaveCoreWeave
$0.12
#3
DeepInfra (FP8)DeepInfra (FP8)
$0.15
#4
SiliconFlow (FP8)SiliconFlow (FP8)
$0.16
#5
FriendliAIFriendliAI
$0.17

Blended price (per 1M tokens)

Total 11 providers

Gemma 4 31B (Non-reasoning) 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 Modular (NVFP4) (208.1 t/s), SambaNova (203.1 t/s), and FriendliAI (107.7 t/s). Speed varies significantly across providers, with a 1348% difference between the fastest and slowest.
  • For latency, Modular (NVFP4) (0.43s), Crusoe (1.18s), and DeepInfra (FP8) (1.46s) offer the lowest time to first token.
  • For pricing, Parasail (0.11), CoreWeave (0.12), and DeepInfra (FP8) (0.15) offer the lowest blended prices per 1M tokens. Prices vary up to 9.3x across providers.
  • Modular (NVFP4) offers the best performance with both the highest speed and lowest latency. For cost optimization, Parasail provides the most competitive pricing.

Highlights

Output tokens per second · Higher is better
Seconds · Lower is better
USD per 1M tokens (blended) · Lower is better

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

Price (USD per M Tokens) · Lower is better · 10,000 input tokens

Pricing: Blended Price

Blended at 7:2:1 (cache-input-output) · USD per 1M tokens (blended) · Lower is better

Pricing: Cache Discount

1 - (cache hit price / input price) · Higher is better

Output Speed vs. Price

Blended at 7:2:1 (cache-input-output) · Output speed: output tokens per second · USD per 1M tokens (blended)
Most attractive quadrant
Pareto line

Speed

Measured by Output Speed (tokens per second)

Output Speed: Gemma 4 31B (Non-reasoning)

Output speed: output tokens per second · 10,000 input tokens

Latency vs. Output Speed

Latency: seconds to first token received · Output speed: output tokens per second · 10,000 input tokens
Most attractive quadrant

Latency

Measured by Time (seconds) to First Token

Time to First Token

Seconds to first token received · Lower is better · 10,000 input tokens

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

Seconds to output 500 tokens, including reasoning model 'thinking' time · Lower is better · 10,000 input tokens

Key Comparison Metrics & API Features

Modular logoModular
262k
Open
--
208
0.43
2.83
--
Parasail logoParasail
262k
Open
--
36
1.50
15.43
--
Cerebras logoCerebras
131k
Open
--
--
--
--
--
FriendliAI logoFriendliAI
262k
Open
--
108
2.17
6.81
--
Together AI logoTogether AI
262k
Open
--
14
1.53
36.31
--
SiliconFlow logoSiliconFlow
262k
Open
--
57
3.45
12.25
--
DeepInfra logoDeepInfra
262k
Open
--
15
1.46
35.70
--
CoreWeave logoCoreWeave
262k
Open
--
56
2.10
11.10
--
SambaNova logoSambaNova
131k
Open
--
203
2.67
5.14
--
Crusoe logoCrusoe
262k
Open
--
18
1.18
29.41
--
Novita logoNovita
262k
Open
--
15
2.01
35.93
--

Frequently Asked Questions

Common questions about Gemma 4 31B (Non-reasoning) providers