This model is deprecated. We only continue performance benchmarking for the default 10k input token workload. Results for other workloads are historical and no longer updated.

Google has launched a newer model, Gemma 4 26B A4B. We suggest considering it instead.

For more information, see comparison of Gemma 4 26B A4B to other models and API provider benchmarks for Gemma 4 26B A4B.

•

Open weights model

•

Released March 2025

Gemma 3 12B Instruct API Provider Benchmarking & Analysis

Model Comparison

This analysis is intended to support you in choosing the best API provider of Gemma 3 12B Instruct for your use-case.

Fastest

#1
AmazonAmazon
90.1 t/s
#2
DeepInfraDeepInfra
48.0 t/s

Output speed

Total 3 providers

Lowest Latency

#1
DeepInfraDeepInfra
0.99 s
#2
AmazonAmazon
1.32 s

Time to first token

Total 3 providers

Lowest Price

#1
Google (AI Studio)Google (AI Studio)
$0.00
#2
DeepInfraDeepInfra
$0.06
#3
AmazonAmazon
$0.11

Blended price (per 1M tokens)

Total 3 providers

Gemma 3 12B is available through 3 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 Amazon (90.1 t/s) and DeepInfra (48.0 t/s).
  • For latency, DeepInfra (0.99s) and Amazon (1.32s) offer the lowest time to first token.
  • For pricing, Google (AI Studio) (0.00), DeepInfra (0.06), and Amazon (0.11) offer the lowest blended prices per 1M tokens.

Highlights

Output tokens per second · Higher is better
Seconds to first answer token received · Lower is better
USD per 1M tokens (blended) · Lower is better

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

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 3 12B Instruct

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
Pareto line

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

DeepInfra logoDeepInfra
131k
Open
$0.13
42
0.93
12.98
--
Amazon Bedrock logoAmazon Bedrock
128k
Open
$0.24
90
1.35
6.93
--
Google logoGoogle
128k
Open
$0.00
--
--
--
--

Frequently Asked Questions

Common questions about Gemma 3 12B Instruct providers