•
Gemma 4 31B
•

Open weights model

•

Released April 2026

Gemma 4 31B (Reasoning) API Provider Benchmarking & Analysis

Model Comparison

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

Fastest

#1
SambaNovaSambaNova
511.8 t/s
#2
Modular (NVFP4)Modular (NVFP4)
275.7 t/s
#3
FriendliAIFriendliAI
108.9 t/s
#4
CoreWeaveCoreWeave
60.5 t/s
#5
ParasailParasail
59.6 t/s

Output speed

Total 11 providers

Lowest Latency

#1
Modular (NVFP4)Modular (NVFP4)
6.75 s
#2
SambaNovaSambaNova
7.02 s
#3
FriendliAIFriendliAI
17.76 s
#4
ParasailParasail
30.55 s
#5
CoreWeaveCoreWeave
30.65 s

Time to first answer token

Total 11 providers

Lowest Price

#1
Google (AI Studio)Google (AI Studio)
$0.00
#2
DigitalOceanDigitalOcean
$0.11
#3
ParasailParasail
$0.11
#4
CoreWeaveCoreWeave
$0.12
#5
NovitaNovita
$0.17

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.
Output tokens per second · Higher is better
Seconds to first answer token received · 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

Cost per Intelligence Index Task

Weighted average cost (USD) per Intelligence Index task · Segmented by token type · Lower 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 (Reasoning)

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

Time per Intelligence Index Task

Weighted average decode time (minutes) per Intelligence Index task · Excludes TTFT and overhead time · Lower is better

Cost per Task vs. Time per Task

Weighted average cost (USD) per Intelligence Index task · Weighted average decode time (minutes) per Intelligence Index task
Most attractive quadrant
Pareto line

Latency

Measured by Time (seconds) to First Token

Time to First Answer Token

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

Cache Behaviour

Cache Hit Rate

Share of cacheable input tokens served from cache · Median of the last four weeks, updated Sep 26, 2026

Cost per Task vs. Cache Hit Rate

Weighted average cost (USD) per Intelligence Index task · Cache hit rate: median of the last four weeks, updated Sep 26, 2026
Most attractive quadrant
Pareto line

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

CoreWeave logoCoreWeave
262k
Open
$0.07
62
1.99
37.89
27.88
Modular logoModular
262k
Open
$0.10
243
0.45
9.67
7.16
Novita logoNovita
262k
Open
$0.10
23
1.87
99.13
75.51
Google logoGoogle
262k
Open
$0.00
36
1.12
63.66
48.55
Parasail logoParasail
262k
Open
$0.07
63
1.40
37.12
27.73
DeepInfra logoDeepInfra
262k
Open
$0.15
26
1.70
88.04
67.03
Crusoe logoCrusoe
262k
Open
$0.10
52
0.89
43.64
33.19
SiliconFlow logoSiliconFlow
262k
Open
$0.54
9
3.33
255.16
195.52
SambaNova logoSambaNova
131k
Open
$0.28
499
3.19
7.67
3.48
FriendliAI logoFriendliAI
256k
Open
$0.10
99
2.95
25.61
17.59
DigitalOcean logoDigitalOcean
262k
Open
$0.05
48
2.06
49.06
36.49

Frequently Asked Questions

Common questions about Gemma 4 31B (Reasoning) providers