Gemma 4 26B A4B

obsidian/gemma-4-26B-A4B
ZDR
VisionToolsJSONReasoning
by obsidian · 2026-07-02

Gemma 4 26B A4B is a mixture-of-experts build of Google's Gemma 4 family (26B total parameters, about 4B active per token) with a 262K-token context window and text + image input. Preserves the base model's reasoning, multilingual performance, and multimodal understanding. The Balanced variant is recommended for most workloads: consistent sampling, stable long-context behaviour, and reduced topic drift across extended conversations. The model may occasionally frame its reasoning briefly before giving the full response. Well suited for creative writing, roleplay, multilingual assistants, long-context reasoning, and general-purpose AI applications where quality, coherence, and reliability are the primary priorities.

Inputtext + image
Outputtext
Best forreasoning, vision
p50 TTFT2.58 s
Data retentionZero Data Retention available. With ZDR on, requests go only to providers with a zero-retention agreement.
Context window262Ktokens
INPUT$0.25/ 1M tokens
OUTPUT$2.90/ 1M tokens
p50 TTFT2.58 s7d
p95 TTFT4.90 s7d

Pricing

Pricing
Input / 1M tokens$0.250
Output / 1M tokens$2.90
CurrencyUSD

Cost calculator

Tokens / month2MM
Input share80%%
Estimated / month $1.56

1.6M input × $0.25/M + 400K output × $2.9/M

Estimate based on list price

Per-request examples
ScenarioInput / output tokensPer requestPer 1,000 requests
Chat reply200 / 300$0.0009$0.920
Summarize a long doc30K / 1K$0.010$10.40
Code review8K / 2K$0.0078$7.80

Token & cost estimator

Input tokens: 20Cost per request: $0.001455

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="obsidian/gemma-4-26B-A4B",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)

Example response

{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1763280000,
  "model": "obsidian/gemma-4-26B-A4B",
  "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 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.

Performance

p50 TTFTTime to first token for a typical request: half of requests got their first token faster than this.
2.58 s
#65 fastest of 149 models
Output speedHow many tokens per second the model streams once it starts answering.
115 tok/s
#81 fastest of 139 models
p95 TTFTTime to first token for a slow request: 95% of requests got their first token faster than this.
4.90 s
Error rateShare of requests to this model on OrcaRouter that ended in an error over the window.
0.13%

Benchmarks

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

Human preference and real-world tasks

1,434
LMArena TextLMArena Text: an Elo rating from blind votes by people comparing two models' answers side by side.
#94 on LMArena
1,259
LMArena VisionLMArena Vision: an Elo rating from blind human votes on answers to prompts that include images.
#56 on LMArena
Source: lmarena.ai

Compare models

Gemma 4 26B A4BQwen3.6 35B A3BQwen3.8 27B
Input $/M$0.25$0.31$0.40
Output $/M$2.90$4.21$4.21
Context262K262K262K
Quality4/104/104/10
Compare side-by-sideCompare side-by-sideCompare side-by-side

FAQ

How much does Gemma 4 26B A4B cost on OrcaRouter?
Gemma 4 26B A4B is priced at $0.25 per 1M input tokens and $2.90 per 1M output tokens via OrcaRouter. Pricing is pulled live from the routing layer.
What is Gemma 4 26B A4B's context window?
Gemma 4 26B A4B supports a context window of 262K tokens. Use long-context features (RAG, summarisation) up to that limit.
How do I call Gemma 4 26B A4B via the OpenAI SDK?
Set OpenAI base_url to https://api.orcarouter.ai/v1, supply your OrcaRouter API key, and pass model="obsidian/gemma-4-26B-A4B" in the chat.completions.create call.
Does OrcaRouter rate-limit Gemma 4 26B A4B?
Per-model rate limits follow your OrcaRouter plan. Free tiers ship with conservative caps; paid tiers lift them. Check /pricing for current quotas.

Embed this badge

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

Model card as data

GET /api/public/models/obsidian/gemma-4-26b-a4bOpen
Machine-readable:/llms.txt/llms-full.txt