Skip to content
AI Dev Toolkit.
Esc
  • AI Token CounterCount tokens for GPT, Claude, Gemini, DeepSeek, Qwen and more.Tool
  • LLM API Cost CalculatorEstimate per-request, daily and monthly API costs.Tool
  • AI Model ComparisonCompare prices, context windows and features across models.Tool
  • AI Model Pricing PagesSpecs, real costs and cheaper alternatives for popular models.Tool
  • Context Window CheckerSee whether your text fits each model’s context window.Tool
  • Subscription vs API CalculatorFind out whether a chat plan or the API is cheaper for you.Tool
  • GPU / VRAM CalculatorCheck how much VRAM a local model needs and which GPUs fit.Tool
  • Prompt Caching CalculatorEstimate savings from prompt caching.Tool

Google · Model

Gemma 4 26B A4B pricing, context window and specs

Gemma 4 26B A4B costs $0.0675 per million input tokens and $0.225 per million output tokens, and reads up to 262,144 tokens per request. By blended price it is the cheapest of Google’s 5 current models here.

Input / 1M
$0.0675
Output / 1M
$0.225
Cached / 1M
$0.0375
Context
262,144
Max output
Not published
Released
2026-04-03

Estimate your cost with Gemma 4 26B A4BCompare all Google modelsCount tokens for Gemma 4 26B A4B

Pricing

Gemma 4 26B A4B API pricing

Price per 1M tokensInputOutput
Standard$0.0675$0.225
Cached input (read)$0.0375–

Output costs 3.3× the input price, so long replies drive the bill more than long prompts. If your requests share a long fixed prefix, such as a system prompt or tool definitions, caching cuts that part to 56% of the normal input price.

History

Gemma 4 26B A4B price history

  1. Price cut, −25% blended

    Input
    from $0.09 to $0.0675
    −25%
    Output
    from $0.30 to $0.225
    −25%
    Cached input
    from $0.05 to $0.0375
    −25%

Gemma 4 26B A4B has open weights, so this is the price of OpenRouter’s top-ranked host, which can move when hosts change rather than because Google changed its price. Every change across all models is in the AI pricing changes log.

Examples

What Gemma 4 26B A4B costs in practice

WorkloadTokens in / outRequests/dayPer requestPer month
Support chatbot50% cached1,500 / 4001,000$0.000169$5.13
RAG app20% cached6,000 / 500500$0.000482$7.32
Coding agent80% cached40,000 / 2,000200$0.00219$13.32
Document summariser8,000 / 600300$0.000675$6.16

Change any number in the cost calculator.

Context

Context window

Gemma 4 26B A4B accepts up to 262,144 tokens per request, roughly 196,608 English words or 393 pages. That budget is shared between your prompt and the reply, and no separate cap on the reply is published.

Filling the whole window with one prompt costs about $0.0177 at list price, so for repeated long-document work, retrieval (sending only the relevant parts) or prompt caching is usually much cheaper.

Check whether your text fits Gemma 4 26B A4B’s window.

Features

Capabilities

Image input
Yes
Tool / function calling
Yes
Reasoning mode
Yes
Prompt caching
Yes
Structured output
Yes
Open weights
Yes
Accepts
image, text, video
Knowledge cutoff
Not published

As declared by the provider’s API. It shows a feature exists, not how well it works.

API

Gemma 4 26B A4B model ID

OpenRouter
google/gemma-4-26b-a4b-it
Open weights
google/gemma-4-26B-A4B-it

Use the OpenRouter ID when calling it through OpenRouter; Google’s own API may name it differently. See the model ID reference for the providers we document. See how much VRAM Gemma 4 26B-A4B needs to run locally.

Google

Where Gemma 4 26B A4B sits in Google’s line-up

Ranked by blended price (three parts input to one part output, $0.1069 per 1M for Gemma 4 26B A4B), it is the cheapest of Google’s 5 current models here. One step up, Gemma 4 31B costs $0.1525 (1.4× as much). See every Google model and price

ModelInput / 1MOutput / 1MContextReleased
Gemma 4 26B A4B (this page)$0.0675$0.225262,1442026-04-03
Gemma 4 31B$0.09$0.34262,1442026-04-02
Gemini 3.5 Flash Lite$0.30$2.501,048,5762026-07-21
Gemini 3.8 Flash$0.75$3.751,048,5762026-09-02
Gemini 3.1 Pro Preview$2$121,048,5762026-02-19

Google’s current models with a page here, cheapest first. Older and superseded models are listed on the provider page and in the comparison table.

Save

Cheaper alternatives

No cheaper model in our data keeps the same essentials.

Current models from major providers, one per provider, that keep image input, tool calling, a reasoning mode, a usable context window and output limit. Compared by blended price.

Compare

Similarly priced models

Current models from other major providers, closest blended price.

FAQ

Gemma 4 26B A4B questions

How much does Gemma 4 26B A4B cost?

Gemma 4 26B A4B costs $0.0675 per million input tokens and $0.225 per million output tokens, with cached input at $0.0375. A typical chatbot reply (1,500 tokens in, 400 out) costs about $0.000191. Use the LLM cost calculator for your own workload.

What is Gemma 4 26B A4B’s context window?

262,144 tokens, about 196,608 English words or 393 printed pages, shared between your prompt and the reply. No separate limit on the reply is published, so the window is the limit.

Does Gemma 4 26B A4B support prompt caching and batch requests?

Yes, cached input is billed at $0.0375 per million tokens (56% of the normal input price). No batch price is published for it.

What are cheaper alternatives to Gemma 4 26B A4B?

In our data there’s no cheaper model with the same essentials and a comparable context window.

What is the API model ID for Gemma 4 26B A4B?

On OpenRouter it is google/gemma-4-26b-a4b-it. Google’s own API may use a different name, so check its model list before you deploy. Pass the ID as the model value in each request.

Is Gemma 4 26B A4B open source?

Yes, Gemma 4 26B A4B has open weights, so you can run it yourself or choose between several hosting providers. The prices here are a typical hosted price.

Updated

Sources: OpenRouter models API and LiteLLM model prices and context windows, checked daily; open-weight prices are typical hosted prices. Confirm critical numbers on Google’s pricing page. See our methodology.