Gemma 4 26B A4B

google/gemma-4-26b-a4b-it
ZDR
VisionToolsJSONReasoning
by Google · 2026-04-03

Google’s Gemma 4 26B A4B is a Mixture-of-Experts (MoE) language model that has 26 billion total parameters but activates only 4 billion per token, balancing compute efficiency with strong reasoning ability. It is part of the Gemma 4 family and is provided by Google. Through OrcaRouter, you can access this model via an OpenAI-compatible API at base URL https://api.orcarouter.ai/v1 using the model ID google/gemma-4-26b-a4b-it. The model accepts text, image, and video inputs, making it suitable for multimodal understanding tasks. Its context window of 262,144 tokens allows processing of very long documents or extended video sequences. On the GPQA Diamond benchmark (a graduate-level science question-answering dataset) Gemma 4 26B A4B scores 79.2. Pricing is $0.06 per million input tokens and $0.33 per million output tokens—billed at the provider rate with zero markup from OrcaRouter.

Inputtext + image + video
Outputtext
p50 TTFT2.00 s
Data retentionZero Data Retention available. With ZDR on, requests go only to providers with a zero-retention agreement.
Context window262Ktokens
INPUT$0.06/ 1M tokens
OUTPUT$0.33/ 1M tokens
p50 TTFT2.00 s7d
p95 TTFT3.88 s7d
TRAFFIC86tokens / 7d

Pricing

Pricing
Input / 1M tokens$0.060
Output / 1M tokens$0.330
Cache read / 1M$0.0075
CurrencyUSD

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $0.228 · With prompt caching $0.186

1.6M input × $0.06/M + 400K output × $0.33/M

Prompt caching assumes half of the input tokens are read from cache at $0.0075/M.

Estimate based on list price

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.0001$0.111
Summarize a long doc30K / 1K$0.0021$2.13
Code review8K / 2K$0.0011$1.14

Token & cost estimator

Input tokens: 20Cost per request: $0.000166

Estimate only — actual token counts depend on the provider's tokenizer.

Code samples

Use an OpenAI-compatible SDK or send an HTTP request. Get API key

API key
export ORCAROUTER_API_KEY=…
Base URL
https://api.orcarouter.ai/v1
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key=os.environ["ORCAROUTER_API_KEY"],
)

response = client.chat.completions.create(
    model="google/gemma-4-26b-a4b-it",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Example response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1763280000,
  "model": "google/gemma-4-26b-a4b-it",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello! How can I help you today?"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 10,
    "total_tokens": 19
  }
}
  • choices[0].message.content — the model's answer.
  • finish_reason — "stop" means the answer is complete; "length" means it was cut off at max_tokens.
  • usage — the input and output tokens this call is billed for.

An HTTP 200 with finish_reason "stop" means the call succeeded.

Supported parameters

ParameterWhat it does
max_tokensUpper limit on the number of tokens the model generates.
temperatureSampling randomness: lower is more focused, higher is more varied.
toolsFunctions the model may call, described as JSON Schema.
response_formatForce JSON output, optionally matching a JSON Schema.
top_pNucleus sampling: only consider tokens within this cumulative probability.

Full API reference

Use cases and examples

  • Long context — 262K-token context window: whole codebases, long reports or chat histories in one request.
  • Multimodal input — Takes text + image + video in one request.
  • Agents and tool use — Calls the functions you define, for agents and tool workflows.
  • Structured extraction — Returns JSON that follows your schema, for pulling fields out of text.
  • Reasoning — Works through a problem before answering: math, science and multi-step tasks.
  • Multimodal reasoning over images and video alongside text
  • Long-document analysis requiring up to 262k tokens of context
  • Complex question answering in scientific or technical domains
  • Instruction-following tasks that benefit from MoE efficiency
  • Video summarization and frame-level understanding

Performance

p50 TTFTTime to first token for a typical request: half of requests got their first token faster than this.
2.00 s
#49 fastest of 144 models
Output speedHow many tokens per second the model streams once it starts answering.
76.9 tok/s
#109 fastest of 137 models
p95 TTFTTime to first token for a slow request: 95% of requests got their first token faster than this.
3.88 s
Error rateShare of requests to this model on OrcaRouter that ended in an error over the window.
99.6%

Benchmarks

OrcaRouter leaderboard
39.3
AA CodingArtificial Analysis Coding Index: one 0–100 score that combines its coding evaluations.
Better than 39% of models compared
#83 of 138
16.7
AA IntelligenceArtificial Analysis Intelligence Index: one 0–100 score that combines its evaluations of reasoning, knowledge, math and coding.
Better than 25% of models compared
#114 of 153
70.5
AA MathArtificial Analysis Math Index: one 0–100 score that combines its competition-math evaluations.
Better than 62% of models compared
#31 of 82
GPQA DiamondGPQA Diamond: graduate-level biology, physics and chemistry questions written to be hard to look up.
79.2#93 of 137
Humanity's Last ExamHumanity's Last Exam: expert-written questions at the frontier of human knowledge, across dozens of subjects.
19.3#98 of 141
IFBenchIFBench: how precisely the model follows new, checkable instructions about the shape of its answer.
72.4#47 of 104
Long-Context RecallLong-Context Recall: answering questions that need facts found and combined across long documents.
65.7#106 of 136
MMLU-ProMMLU-Pro: hard ten-option multiple-choice questions across 14 academic subjects.
73.5 index#53 of 91
SciCodeSciCode: writing code that solves research-level problems in physics, chemistry, biology and math.
40.0#103 of 141
tau_bankingτ²-Bench: acting as a customer-service agent that uses tools and follows policy while talking to a simulated user.
12.0#65 of 80
TerminalBench HardTerminal-Bench: finishing real tasks in a command-line environment, such as building, debugging and configuring software.
13.6#81 of 99
terminalbench_v2_1Terminal-Bench: finishing real tasks in a command-line environment, such as building, debugging and configuring software.
39.0#65 of 80
τ²-Benchτ²-Bench: acting as a customer-service agent that uses tools and follows policy while talking to a simulated user.
43.6#85 of 104
Source: artificialanalysis.ai

Compare models

Gemma 4 26B A4BGemini 3.1 Pro PreviewGemini 3.1 Pro Preview Custom ToolsGemini 4 Carbon
Input $/M$0.06$2.00$4.00$2.00
Output $/M$0.33$12.00$18.00$10.00
Context262K1.0M1.0M1.0M
Quality5/1010/1010/1010/10
Compare side-by-sideCompare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

How much does Gemma 4 26B A4B cost per token?
Input tokens cost $0.06 per 1M tokens, output tokens cost $0.33 per 1M tokens. These rates are billed at the provider’s rate with zero markup from OrcaRouter.
What is the context window size?
The context window is 262,144 tokens. This includes text, image, and video tokens. The effective length you can use depends on the total tokens in your request.
What are the model’s main strengths?
Strengths include multimodal understanding (text, image, video), a large context window, MoE efficiency (26B total, 4B active), and a strong GPQA Diamond score of 79.2 for scientific reasoning.
How does it compare to Gemma 3 8B?
Gemma 4 has a larger context (262k vs 128k), supports video, and has a higher GPQA score. It is more capable for complex multimodal tasks but more expensive per token.
Does the model support video input?
Yes, it accepts video via URL or image sequences. You can provide a video URL in the content array. The model will process frames and answer questions about the video.
How do I call this model via OrcaRouter’s API?
Use base URL https://api.orcarouter.ai/v1, model ID google/gemma-4-26b-a4b-it, and send a POST to /chat/completions with standard OpenAI parameters for text or multimodal inputs.
Does OrcaRouter add any markup to the provider’s pricing?
No, OrcaRouter bills at the exact provider rate with zero markup. You pay $0.06/$0.33 per million tokens, the same as if you were using Google directly.
What data handling or privacy considerations apply?
Data handling follows OrcaRouter’s terms of service and Google’s model-specific privacy policy. OrcaRouter does not use your data for training its models. Check OrcaRouter’s privacy page for more details.
Can I use this model for real-time applications?
Yes, the API supports streaming (stream=true). However, latency depends on input size, hardware, and concurrency. Test with your specific use case to assess suitability for real-time needs.
What are the limitations of this model?
Limitations include: only 4B active parameters per token, so tasks requiring extreme reasoning depth may perform worse than much larger dense models. It does not support audio input. Cost can be high for very long video inputs due to token usage.

Embed this badge

Google: Gemma 4 26B A4B•$0.06/M in•2000ms p50•via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/google/gemma-4-26b-a4b-it" target="_blank"> <img src="https://www.orcarouter.ai/embed/google/gemma-4-26b-a4b-it.svg" alt="Google: Gemma 4 26B A4B on OrcaRouter" /> </a>
Markdown [![Google: Gemma 4 26B A4B](https://www.orcarouter.ai/embed/google/gemma-4-26b-a4b-it.svg)](https://www.orcarouter.ai/models/google/gemma-4-26b-a4b-it)

Model card as data

GET /api/public/models/google/gemma-4-26b-a4b-itOpen
Machine-readable:/llms.txt/llms-full.txt