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.
| Input / 1M tokens | $0.250 |
|---|---|
| Output / 1M tokens | $2.90 |
| Currency | USD |
1.6M input × $0.25/M + 400K output × $2.9/M
Estimate based on list price
| Scenario | Input / output tokens | Per request | Per 1,000 requests |
|---|---|---|---|
| Chat reply | 200 / 300 | $0.0009 | $0.920 |
| Summarize a long doc | 30K / 1K | $0.010 | $10.40 |
| Code review | 8K / 2K | $0.0078 | $7.80 |
Estimate only — actual token counts depend on the provider's tokenizer.
Use an OpenAI-compatible SDK or send an HTTP request. Get API key
export ORCAROUTER_API_KEY=…https://api.orcarouter.ai/v1import 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){
"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.
| Parameter | What it does |
|---|---|
max_tokens | Upper limit on the number of tokens the model generates. |
temperature | Sampling randomness: lower is more focused, higher is more varied. |
tools | Functions the model may call, described as JSON Schema. |
response_format | Force JSON output, optionally matching a JSON Schema. |
top_p | Nucleus sampling: only consider tokens within this cumulative probability. |
stop | Sequences where the model stops generating. |
tool_choice | Whether the model must, may or must not call a tool. |
structured_outputs | The model can follow a strict JSON Schema given in response_format. |
reasoning | Configure the model's reasoning: effort, token budget, or off. |
include_reasoning | Return the model's reasoning text along with the answer. |
seed | Ask for repeatable sampling for the same input. |
frequency_penalty | Penalize tokens by how often they have appeared, reducing repetition. |
presence_penalty | Penalize tokens that have appeared at all, encouraging new topics. |
top_k | Only consider the k most likely tokens at each step. |
min_p | Drop tokens less likely than this fraction of the top token's probability. |
Human preference and real-world tasks
Embed this badge
Model card as data
GET /api/public/models/obsidian/gemma-4-26b-a4bOpen @misc{orcarouter_gemma_4_26b_a4b,
title = {Gemma 4 26B A4B API},
author = {obsidian},
year = {2026},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/obsidian/gemma-4-26b-a4b}
}obsidian. (2026). Gemma 4 26B A4B API. OrcaRouter. https://www.orcarouter.ai/models/obsidian/gemma-4-26b-a4b