Gemma 4 26B A4B vs gpt-oss-20b API pricing
Updated
Gemma 4 26B A4B: USD 0.07 input, USD 0.34 output per 1M tokens (DeepInfra and 1 other). gpt-oss-20b: USD 0.018 input, USD 0.09 output per 1M tokens (AkashML, promotional). At 3 input tokens per output token, Gemma 4 26B A4B costs 3.8× as much as gpt-oss-20b (USD 0.1375 vs USD 0.036 per 1M).
How do Gemma 4 26B A4B and gpt-oss-20b differ on price?
- Cheapest input price: gpt-oss-20b USD 0.018 against USD 0.07 per 1M tokens, so Gemma 4 26B A4B costs 3.9× as much.
- Cheapest output price: gpt-oss-20b USD 0.09 against USD 0.30 per 1M tokens, so Gemma 4 26B A4B costs 3.3× as much.
- Among the 201 indexed models, Gemma 4 26B A4B ranks 33rd cheapest and gpt-oss-20b 3rd on the 3:1 blend.
- No input:output mix changes the answer: gpt-oss-20b is cheaper at every mix before cache discounts.
- Both list cached-input discounts: Gemma 4 26B A4B at 6 standard prices of 11, from USD 0.015 (Google Vertex AI, 90% below that provider's input price); gpt-oss-20b at 4 standard prices of 10, from USD 0.007 (Google Vertex AI, 90% below that provider's input price).
- Gemma 4 26B A4B states up to 262,144 tokens of context, 2× the 131,072 of gpt-oss-20b.
- Gemma 4 26B A4B has 11 providers with a standard price, 1 more than gpt-oss-20b; 8 providers sell both (DeepInfra, CoreWeave Forge, Featherless, Parasail and 4 more).
- On one account, DeepInfra charges USD 0.1375 for Gemma 4 26B A4B (its cheapest price) and USD 0.0575 for gpt-oss-20b (1.6× its cheapest price) at 3:1, the lowest combined price among the providers that sell both.
- Shopping around matters more for gpt-oss-20b: its dearest standard price is 6.3× its cheapest, against 1.91× for Gemma 4 26B A4B.
- Gemma 4 26B A4B has no batch price on file; gpt-oss-20b has a batch price at 2 providers, from USD 0.0575 at 3:1 (Google Vertex AI).
- For the one-developer coding agent preset, the gap is USD 1,089 a year in gpt-oss-20b's favour (Gemma 4 26B A4B USD 117.45 a month, gpt-oss-20b USD 26.73).
- Per character of input, the gap depends on the language: Gemma 4 26B A4B costs 2.7× as much as gpt-oss-20b on Code text but 1.97× as much as gpt-oss-20b on Hindi, because the two tokenizers split those languages differently.
Gemma 4 26B A4B and gpt-oss-20b prices side by side
USD per 1M tokens, standard tier. "Cheapest" is the lowest price at 3 input tokens to 1 output token; each line can come from a different provider.
| Price | Gemma 4 26B A4B | gpt-oss-20b |
|---|---|---|
| Model page | Gemma 4 26B A4B Google · 11 providers | GPT OSS 20B OpenAI · 10 providers |
| Cheapest standard price, blended 3:1 | USD 0.1375 USD 0.07 in / USD 0.34 out at DeepInfra and 1 other DeepInfra page checked 2026-11-14 | USD 0.036 lower promo USD 0.018 in / USD 0.09 out at AkashML AkashML page checked 2026-11-15 |
| Cheapest input | USD 0.07 DeepInfra source | USD 0.018 lower promo AkashML source |
| Cheapest cached input | USD 0.015 Google Vertex AI source | USD 0.007 lower Google Vertex AI source |
| Cheapest output | USD 0.30 Cloudflare Workers AI source | USD 0.09 lower promo AkashML source |
| Cheapest non-promotional price | The cheapest price is not promotional. | USD 0.03 / USD 0.13 CoreWeave Forge, USD 0.055 blended source |
| Maker's own API | Google publishes no paid standard price on its own API that we found. | OpenAI publishes no paid standard price on its own API that we found. |
| Median standard price | USD 0.13 / USD 0.40 input / output, 11 prices | USD 0.04 / USD 0.19 input / output, 10 prices |
| Context window | 262,144 tokens, largest stated; from 32,768 at some providers | 131,072 tokens, largest stated |
| Providers with a standard price | 11 | 10 |
- Lower marks the lower price on a line; tie, equal prices. Other tiers and free rows are on the model pages.
- Promo: the provider calls the price promotional or discounted, so it is current now and can end without notice.
Report a wrong price or number (email to info@broadnet.ai, with this page's link filled in).
What do Gemma 4 26B A4B and gpt-oss-20b cost for a real workload?
30 days at each model's cheapest standard price for the workload (presets of the cost calculator; cached input at the cached price where listed).
| Workload | Gemma 4 26B A4B | gpt-oss-20b | Difference |
|---|---|---|---|
| Support chatbot 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 11.34 Featherless | USD 2.75 AkashML | USD 8.59 gpt-oss-20b lower |
| RAG over documents 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 20.46 Featherless | USD 5.02 AkashML | USD 15.44 gpt-oss-20b lower |
| Coding agent (one developer) 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 117.45 Google Vertex AI | USD 26.73 AkashML | USD 90.72 gpt-oss-20b lower |
gpt-oss-20b is cheaper on all three workloads. The widest gap is on Coding agent (one developer): the dearer model costs 4.4× as much as the cheaper one.
Does the cheaper model change with your input:output ratio?
gpt-oss-20b is cheaper at every mix of input and output tokens, before cache discounts: its cheapest input price and its cheapest output price are both at or below Gemma 4 26B A4B's, so the input:output ratio never changes the answer.
| Input : output tokens | Gemma 4 26B A4B | gpt-oss-20b |
|---|---|---|
| 1 : 3 (long answers) | USD 0.25 Cloudflare Workers AI | USD 0.072 lower AkashML |
| 1 : 1 | USD 0.20 Cloudflare Workers AI | USD 0.054 lower AkashML |
| 3 : 1 (the site’s blend) | USD 0.1375 DeepInfra | USD 0.036 lower AkashML |
| 10 : 1 (retrieval, long prompts) | USD 0.09455 DeepInfra | USD 0.02455 lower AkashML |
| 30 : 1 (agents, big contexts) | USD 0.07871 DeepInfra | USD 0.02032 lower AkashML |
USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.
What do Gemma 4 26B A4B and gpt-oss-20b cost per character in other languages?
Cost to send 1M characters at each model's cheapest non-promotional standard input price, with the Gemma 4 VL 26B tokenizer for Gemma 4 26B A4B and the gpt-oss (o200k_harmony) tokenizer for gpt-oss-20b:
| Content | Gemma 4 26B A4B | gpt-oss-20b |
|---|---|---|
| English | USD 0.015 DeepInfra | USD 0.0064 lower CoreWeave Forge |
| Arabic MSA | USD 0.024 DeepInfra | USD 0.0096 lower CoreWeave Forge |
| Egyptian Arabic | USD 0.024 DeepInfra | USD 0.0100 lower CoreWeave Forge |
| Hindi | USD 0.019 DeepInfra | USD 0.0097 lower CoreWeave Forge |
| Chinese | USD 0.047 DeepInfra | USD 0.023 lower CoreWeave Forge |
| Spanish | USD 0.016 DeepInfra | USD 0.0068 lower CoreWeave Forge |
| Code | USD 0.020 DeepInfra | USD 0.0076 lower CoreWeave Forge |
From the real cost by language dataset (measured tokens per character on FLORES-200 and other texts). Your own text will differ.
Gemma 4 26B A4B on BroadNet Inference
BroadRouter is BroadNet's own site, so BroadNet's price is shown here for reference and is not part of the comparison above. BroadNet Inference serves Gemma 4 26B A4B as broadnet/gemma-4-26b-a4b at USD 0.10 input and USD 0.22 output per 1M tokens (USD 0.13 blended 3:1; the cheapest third-party standard price above is USD 0.1375). On BroadNet it reads up to 32,768 tokens per request and accepts text and image input (BroadNet rate card).
Check it on your own traffic
- Gemma 4 26B A4B API pricing: all 11 providers and other tiers.
- GPT OSS 20B API pricing: all 10 providers and other tiers.
- Cost calculator with Gemma 4 26B A4B and gpt-oss-20b preloaded
- Gemma token counter
- gpt-oss token counter
- Prompt caching calculator
More comparisons: Gemma 4 26B A4B vs Gemma 4 31B · Gemma 4 26B A4B vs Qwen3.6 35B A3B · Llama 3.3 70B vs Gemma 4 26B A4B · GLM 5.3 Flash vs Gemma 4 26B A4B · DeepSeek V4 Flash 0731 vs Gemma 4 26B A4B · Gemma 4 26B A4B vs DeepSeek V4 Flash · gpt-oss-120b vs Gemma 4 26B A4B · gpt-oss-120b vs gpt-oss-20b · gpt-oss-20b vs Qwen3.6 35B A3B · every Gemma 4 26B A4B comparison · every gpt-oss-20b comparison · all 662 price comparisons
Questions
Is Gemma 4 26B A4B cheaper than gpt-oss-20b?
No. On a blend of 3 input tokens to 1 output token, gpt-oss-20b costs USD 0.036 per 1M tokens and Gemma 4 26B A4B USD 0.1375, at each model's cheapest standard price. For input alone, gpt-oss-20b is cheaper (USD 0.018 against USD 0.07 per 1M); for output alone, gpt-oss-20b is (USD 0.09 against USD 0.30). This compares price only, not quality.
What do Gemma 4 26B A4B and gpt-oss-20b cost per 1M tokens?
Gemma 4 26B A4B: from USD 0.07 input and USD 0.34 output at DeepInfra and 1 other; median of 11 standard prices USD 0.13 / USD 0.40. gpt-oss-20b: from USD 0.018 input and USD 0.09 output at AkashML (promotional); median of 10 standard prices USD 0.04 / USD 0.19. Each price is read from the provider's own pricing page; the source is linked in the table.
Which providers sell both Gemma 4 26B A4B and gpt-oss-20b?
8 providers have a standard price for both: DeepInfra (USD 0.1375 and USD 0.0575 at 3:1), CoreWeave Forge (USD 0.15 and USD 0.055 at 3:1), Featherless (USD 0.1375 and USD 0.0675 at 3:1), Parasail (USD 0.1975 and USD 0.08 at 3:1), SiliconFlow (USD 0.205 and USD 0.075 at 3:1), Amazon Bedrock (USD 0.1975 and USD 0.1275 at 3:1), Cloudflare Workers AI (USD 0.15 and USD 0.225 at 3:1), Google Vertex AI (USD 0.2625 and USD 0.115 at 3:1). The first is the lowest combined price. Buying each model from its own cheapest provider costs USD 0.1375 and USD 0.036.
Which is cheaper for a coding agent or a chatbot, Gemma 4 26B A4B or gpt-oss-20b?
For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 117.45 a month on Gemma 4 26B A4B (Google Vertex AI) against USD 26.73 on gpt-oss-20b (AkashML), a difference of USD 90.72. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 11.34 a month on Gemma 4 26B A4B (Featherless) against USD 2.75 on gpt-oss-20b (AkashML), a difference of USD 8.59. Each uses the cheapest standard price for that workload, cached input included. Try your own numbers.
At what input:output ratio does the cheaper of Gemma 4 26B A4B and gpt-oss-20b change?
gpt-oss-20b is cheaper at every mix of input and output tokens, before cache discounts: its cheapest input price and its cheapest output price are both at or below Gemma 4 26B A4B's, so the input:output ratio never changes the answer.
Do Gemma 4 26B A4B and gpt-oss-20b have cached input pricing?
Gemma 4 26B A4B from USD 0.015 per 1M cached input tokens (Google Vertex AI; 6 of 11 standard prices list a discount). gpt-oss-20b from USD 0.007 per 1M cached input tokens (Google Vertex AI; 4 of 10 standard prices list a discount). Cached tokens are billed at the input price where no cache price is published.
Which has the larger context window, Gemma 4 26B A4B or gpt-oss-20b?
Gemma 4 26B A4B: up to 262,144 tokens, against 131,072 for gpt-oss-20b, as stated on providers' pricing pages. Some providers offer less than the maximum; check the model pages before you pick the cheapest row for long prompts.
Can I use Gemma 4 26B A4B on BroadNet Inference?
BroadNet Inference serves Gemma 4 26B A4B as broadnet/gemma-4-26b-a4b at USD 0.10 input and USD 0.22 output per 1M tokens (rate card synced 2026-11-14). BroadRouter is BroadNet's own site, so BroadNet's price is shown for reference and not ranked against the providers above.
Read as MarkdownAsk ChatGPTAsk ClaudeAsk Perplexity
Sources
- DeepInfra: pricing (checked 2026-11-14)
- Featherless: pricing (checked 2026-11-15)
- Cloudflare Workers AI: pricing (checked 2026-11-14)
- Google Vertex AI: pricing (checked 2026-11-14)
- AkashML: pricing (checked 2026-11-15)
- Google Vertex AI: pricing (checked 2026-11-14)
- CoreWeave Forge: pricing (checked 2026-11-15)
- DeepInfra: pricing (checked 2026-11-14)
- Featherless: pricing (checked 2026-11-15)
- Parasail: pricing (checked 2026-11-14)
- SiliconFlow: pricing (checked 2026-11-14)
- Amazon Bedrock: pricing (checked 2026-11-14)
- BroadNet Inference rate card, pricing.json (synced 2026-11-14)