Google Cloud logo

Gemma 4 26B A4B

A 25.2B-parameter MoE (3.8B active, 128 experts) in Google's Gemma 4 family, running near the speed of a 4B dense model. Apache 2.0 license.

Params
25.2B, 3.8B active
Context
256K tokens
Cutoff
Released
License
Apache 2.0

Hosted API price

Cheapest via Cloudflare · per 1M tokens

USD
Input
$0.10 /1M
Output
$0.30 /1M
Hosted by
Cloudflare Novita Google Cloud 3 providers

Hosted API pricing

How we price

Order

Providers are listed cheapest input rate first, then by output rate, a tie going to the creator's own listing. A provider that lists the model without a published rate sits at the end.

Prices

Base-tier, on-demand rates in USD per 1M tokens, converted at ECB reference rates where a provider publishes in another currency. Cached-input and batch rates show only where a provider publishes them. "Cheapest" marks the one provider with the lowest input and output pair; a tie wears no badge.

Cost

Input rate times the input tokens plus output rate times the output tokens, at the monthly volume set above the table. Cached-input, batch, long-context and reasoning-token billing are not modelled.

Transparency and funding

  • Affiliates: Affiliate links are marked. We may earn a commission if you click them, but commissions never affect the order.

Every provider serving Gemma 4 26B A4B, cheapest input first. Set your monthly volume to see what each would bill.

Every provider serving Gemma 4 26B A4B, with its price per 1M input and output tokens and what the volume above would cost
Provider Input /1M Output /1M Cost at 10M in + 2M out Link
Cloudflare logo Cloudflare Cheapest $0.10 $0.30 $1.60 Visit website
Novita logo Novita $0.13 $0.40 $2.10 Visit website
Google Cloud logo Google Cloud Creator Open weights, no hosted price Visit website

Heads up: Base-tier, on-demand rates per 1M tokens; cached, batch and long-context tiers excluded. A provider may serve a shorter context or a quantized build than the creator's release. Verify before provisioning. More on how we price.

Estimated cost to self-host

Gemma 4 26B A4B needs about 24 GB of GPU memory at 4-bit with 32K context. The cheapest rental that fits is 4× GTX 1070 at about $144 a month.

That costs the same as roughly 1B tokens a month on Cloudflare's API. Self-hosting is more expensive below that volume.

Single node ≤ 8
What it costs to self-host Gemma 4 26B A4B at each precision: the memory it needs, the cheapest rental that holds it, that rental's month and the API volume it pays off at
Precision Memory Cheapest fit (32K context) Cost /mo Break-even vs API
4-bit INT4 / FP4 24 GB Nvidia logo 4× GTX 1070 $144 1B tokens /mo
8-bit FP8 / INT8 35 GB Nvidia logo 4× RTX 3060 $202 2B tokens /mo
16-bit FP16 / BF16 60 GB Nvidia logo 8× RTX 3060 $403 3B tokens /mo

Estimates based on median on-demand rates for Nvidia GPUs. Memory is weights plus KV cache for one request, using FP8 KV cache where supported and FP16/BF16 otherwise. KV cache assumed at 250 KB per token, a conservative default. Break-even assumes a 5:1 input-to-output ratio. No guarantee of runtime support, usable performance, or that a matching quantized build exists. Pricing methodology.

Similarly priced models

The models nearest Gemma 4 26B A4B by blended rate, each at its own cheapest provider.

Models priced nearest Gemma 4 26B A4B per 1M tokens, each at its cheapest provider
Model Blended /1M Input /1M Output /1M Context Cutoff vs Gemma 4 26B A4B
Z.AI GLM-5.3-Flash Z.AI $0.1042 $0.075 $0.25 1M −22%
OpenAI GPT-5 Nano OpenAI $0.1083 $0.05 $0.40 400K May 2024 −19%
Alibaba Cloud Qwen3.5-35B-A3B Alibaba Cloud $0.124 $0.057 $0.459 262K −7%
Alibaba Cloud Qwen3.6-35B-A3B Alibaba Cloud $0.1283 $0.07 $0.42 262K −4%
Google Cloud Gemma 3 27B Instruct Google Cloud $0.1333 $0.10 $0.30 128K Aug 2024 0%
Google Cloud Gemma 4 26B A4B This model Google Cloud $0.1333 $0.10 $0.30 256K Jan 2025
Alibaba Cloud Qwen3-32B FP8 Alibaba Cloud $0.1333 $0.10 $0.30 33K 0%
Google Cloud Gemini 2.5 Flash-Lite Google Cloud $0.15 $0.10 $0.40 1M Jan 2025 +13%
OpenAI GPT-4.1 Nano OpenAI $0.15 $0.10 $0.40 1M Jun 2024 +13%
Mistral Ministral 3 8B Mistral $0.15 $0.15 $0.15 256K +13%
Alibaba Cloud Qwen3.5-Flash Alibaba Cloud $0.15 $0.10 $0.40 1M +13%

USD per 1M tokens at each model's cheapest listed provider. Blended is the cost of 10M input plus 2M output tokens, spread over the 12M.

Capabilities

What Gemma 4 26B A4B accepts and can do, as published by Google Cloud.

  • Text Accepts and generates natural-language text.
  • Image Accepts images as input alongside text.
  • Reasoning Thinks before it answers, always on or as a switchable mode.
  • Function calling Connect to external tools, APIs, and systems.
  • Structured output Return responses in structured formats like JSON.

Common questions

What is Gemma 4 26B A4B good for?

Self-hosted text and image work at near the speed of a 4B dense model, from a mixture of experts that activates 3.8B parameters per token. Apache 2.0 weights, on a single consumer GPU.

When is Gemma 4 26B A4B not a good fit?

Audio or video input, and hosted tools like web search or code execution. Memory follows the full 25.2B parameters, not the 3.8B active, and no maximum output is published.

What is the cheapest way to run Gemma 4 26B A4B?

Hosted, unless you push serious volume. Cloudflare charges $0.10 in / $0.30 out per 1M tokens. The cheapest rental that fits is 4x GTX 1070 at $144 a month, which costs the same as about 1B tokens a month on that API.

Can I self-host Gemma 4 26B A4B?

Yes. The weights are Apache 2.0 licensed. At 4-bit it needs about 24 GB of GPU memory, which starts at roughly $144 a month on the cheapest rental that fits.

More from Google Cloud

  • Gemma 3 27B Instruct Open weights 128K context · cutoff Aug 2024
    From $0.10 / $0.30 /1M in / out at the cheapest provider
  • Gemini 2.5 Flash-Lite 1M context · cutoff Jan 2025
    From $0.10 / $0.40 /1M in / out at the cheapest provider
  • Gemma 4 31B Open weights 256K context · cutoff Jan 2025
    From $0.13 / $0.37 /1M in / out at the cheapest provider
  • Gemma 3 12B Instruct Open weights 128K context · cutoff Aug 2024
    From $0.05 / $0.10 /1M in / out at the cheapest provider
  • Gemini 3.1 Flash-Lite 1M context · cutoff Jan 2025
    From $0.25 / $1.50 /1M in / out at the cheapest provider
  • Gemini 3.5 Flash-Lite 1M context · cutoff Mar 2026
    From $0.30 / $2.50 /1M in / out at the cheapest provider
  • Gemini 2.5 Flash 1M context · cutoff Jan 2025
    From $0.30 / $2.50 /1M in / out at the cheapest provider
  • Gemini 3 Flash Preview 1M context · cutoff Jan 2025
    From $0.50 / $3.00 /1M in / out at the cheapest provider