Gemma 4 26B A4B vs Gemma 4 31B

Pick up to 3 models · pricing, context and capabilities · simulate your product cost

Data updated on November 14, 2026· 230 models

Google26B A4B

Gemma 4 26B A4B IT is an instruction-tuned Mixture-of-Experts (MoE) model from Google DeepMind.

View sheet →

Reasoning estimated
Speed estimated
Input
Output
Context
262 K tokens
Max output
▲236 K
Input, $ per 1M tokens
▲$0.068
Output, $ per 1M tokens
▲$0.225
Cache read, $ per 1M
$0.038
Batch (input / output)
—
Tool calling
Yes
Released
04/02/2026
Knowledge cutoff
—
API id
google/gemma-4-26b-a4b-it
Google4 31B

Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output.

View sheet →

Reasoning estimated
Speed estimated
Input
Output
Context
262 K tokens
Max output
16 K
Input, $ per 1M tokens
$0.200
Output, $ per 1M tokens
$0.400
Cache read, $ per 1M
—
Batch (input / output)
—
Tool calling
Yes
Released
04/02/2026
Knowledge cutoff
2025-01
API id
google/gemma-4-31b-it
Third model (optional)
text image audio video PDF / file reasoning (1 to 5, estimated by family) speed (1 to 4, estimated by family)▲ best value among the selected

Which is the better API choice: Gemma 4 26B A4B vs Gemma 4 31B?

  • Gemma 4 26B A4B : cheapest input (66% less than Gemma 4 31B)
  • Gemma 4 26B A4B : cheapest output

Gemma 4 26B A4B costs 66% less on input and 44% less on output than Gemma 4 31B ($0.068 / $0.225 versus $0.200 / $0.400 per million tokens). All accept 262 K tokens of context.

What would your product cost?

Estimate the monthly cost with your app's real volume. List prices, no cache or batch discounts.

Gemma 4 26B A4B
$1.91/mo
Gemma 4 31B
$4.60/mo

With Gemma 4 26B A4B you save $2.69 a month versus Gemma 4 31B (58% less).

The 6 cheapest for this scenario (chat, last 12 months)

  1. 1Lyria 3 Pro Preview Google$0.00
  2. 2Lyria 3 Clip Preview Google$0.00
  3. 3Qwen3.7 Flash Qwen$0.97
  4. 4DeepSeek V4.1 Flash DeepSeek$1.57
  5. 5DeepSeek V4 Flash 0731 DeepSeek$1.85
  6. 6Ministral 3 3B 2512 Mistral$1.90

Paste your prompt: tokens and cost per model

Rough estimate (about 4 characters per token). Nothing is sent to any server.

76tokens approx.287 characters

Cost of sending it 1,000 times (input only)

  1. 1Gemma 4 26B A4B Google$0.005
  2. 2Claude Haiku 5.5 Anthropic$0.008
  3. 3Gemma 4 31B Google$0.015
  4. 4Claude Sonnet 5.5 Anthropic$0.152
  5. 5Claude Opus 5.5 Anthropic$0.304
  6. 6Claude Opus 5 Anthropic$0.380
  7. 7Claude Fable 5.2 Anthropic$0.608
  8. 8Claude Fable 5.1 Anthropic$0.760

Popular comparisons

More free tools

See all

Frequently asked questions

Which is the better API choice: Gemma 4 26B A4B vs Gemma 4 31B?

Gemma 4 26B A4B costs 66% less on input and 44% less on output than Gemma 4 31B ($0.068 / $0.225 versus $0.200 / $0.400 per million tokens). All accept 262 K tokens of context.

Which is cheaper: Gemma 4 26B A4B and Gemma 4 31B?

Gemma 4 26B A4B is cheaper: $0.068 per million input tokens and $0.225 per million output tokens, versus $0.200 / $0.400 for Gemma 4 31B.

Which has more context: Gemma 4 26B A4B and Gemma 4 31B?

Gemma 4 26B A4B and Gemma 4 31B accept the same context: 262 K tokens.

What would 10,000 requests a month cost with Gemma 4 26B A4B and Gemma 4 31B?

With 1,500 input and 400 output tokens per request: Gemma 4 26B A4B : $1.91; Gemma 4 31B: $4.60 a month, at list price.

Where do the prices come from and how often are they updated?

From the public catalogs of OpenRouter, models.dev and LiteLLM, which publish each provider's list prices. They sync once a day and the last update date is shown above the comparison.

What does price per million tokens mean?

It is what the provider charges per million tokens you send (input) or the model generates (output). A token is roughly 4 characters. Output almost always costs more than input.

Sources: OpenRouter, models.dev and LiteLLM. Prices in USD per million tokens, list price, no volume discounts. Prompt tokens are an estimate; each provider's tokenizer may differ.