---
title: "Gemma 4 26B A4B vs gpt-oss-20b API pricing compared | BroadRouter"
description: "Gemma 4 26B A4B vs gpt-oss-20b API price per 1M tokens: USD 0.07 / USD 0.34 vs USD 0.018 / USD 0.09 input/output, from providers' own pricing pages."
url: https://broadrouter.com/llm-api-pricing/compare/gemma-4-26b-a4b-it-vs-gpt-oss-20b/
lang: en
updated: 2026-11-15
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# Gemma 4 26B A4B vs gpt-oss-20b API pricing

Updated 2026-11-15

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

Gemma 4 26B A4B and gpt-oss-20b are often compared as alternatives. **Price only**: every number is computed from prices read from each provider's own pricing page (linked per cell, newest check 2026-11-15), with no claim about quality, speed or accuracy.

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

Gemma 4 26B A4B and gpt-oss-20b API prices compared
| Price | Gemma 4 26B A4B | gpt-oss-20b |
| --- | --- | --- |
| Model page | [Gemma 4 26B A4B](https://broadrouter.com/llm-api-pricing/gemma-4-26b-a4b-it/) · Google · 11 providers | [GPT OSS 20B](https://broadrouter.com/llm-api-pricing/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](https://deepinfra.com/google/gemma-4-26B-A4B-it) checked 2026-11-14 | USD 0.036 lower promo · USD 0.018 in / USD 0.09 out at AkashML · [AkashML page](https://akashml.com/models/gpt-oss-20b) checked 2026-11-15 |
| Cheapest input | USD 0.07 · DeepInfra [source](https://deepinfra.com/google/gemma-4-26B-A4B-it) | USD 0.018 lower promo · AkashML [source](https://akashml.com/models/gpt-oss-20b) |
| Cheapest cached input | USD 0.015 · Google Vertex AI [source](https://cloud.google.com/model-garden/pricing) | USD 0.007 lower · Google Vertex AI [source](https://cloud.google.com/model-garden/partner-models/pricing) |
| Cheapest output | USD 0.30 · Cloudflare Workers AI [source](https://developers.cloudflare.com/workers-ai/platform/pricing/) | USD 0.09 lower promo · AkashML [source](https://akashml.com/models/gpt-oss-20b) |
| Cheapest non-promotional price | The cheapest price is not promotional. | USD 0.03 / USD 0.13 · CoreWeave Forge, USD 0.055 blended [source](https://coreweave.com/forge-pricing/inference-agents) |
| 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](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20Gemma%204%2026B%20A4B%20vs%20gpt-oss-20b%20API%20pricing&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fllm-api-pricing%2Fcompare%2Fgemma-4-26b-a4b-it-vs-gpt-oss-20b%2F%0A%0AWhat%20looks%20wrong%20(model%2C%20figure%20shown%2C%20correct%20figure%20and%20a%20source%20link%20if%20you%20have%20one)%3A%0A) (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](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gemma-4-26b-a4b-it,gpt-oss-20b); cached input at the cached price where listed).

Monthly cost of three workloads on Gemma 4 26B A4B and gpt-oss-20b
| 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.

Price per 1M tokens of Gemma 4 26B A4B and gpt-oss-20b at different input:output mixes
| 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:

Input cost per 1M characters by language, Gemma 4 26B A4B and 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](https://broadrouter.com/data/real-cost-by-language/) (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).

[BroadNet Gemma 4 VL 26B on BroadNet](https://broadrouter.com/models/gemma-4-vl-26b/) · [BroadNet pricing.json](https://inference.broadnet.ai/pricing.json?utm_source=broadrouter&utm_medium=referral&utm_campaign=llm-api-pricing-compare-gemma-4-26b-a4b-it-vs-gpt-oss-20b&utm_content=broadnet)

## Check it on your own traffic

-   [Gemma 4 26B A4B API pricing](https://broadrouter.com/llm-api-pricing/gemma-4-26b-a4b-it/): all 11 providers and other tiers.
-   [GPT OSS 20B API pricing](https://broadrouter.com/llm-api-pricing/gpt-oss-20b/): all 10 providers and other tiers.
-   [Cost calculator with Gemma 4 26B A4B and gpt-oss-20b preloaded](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gemma-4-26b-a4b-it,gpt-oss-20b)
-   [Gemma token counter](https://broadrouter.com/tools/gemma-token-counter/)
-   [gpt-oss token counter](https://broadrouter.com/tools/gpt-oss-token-counter/)
-   [Prompt caching calculator](https://broadrouter.com/tools/prompt-caching-calculator/)

More comparisons: [Gemma 4 26B A4B vs Gemma 4 31B](https://broadrouter.com/llm-api-pricing/compare/gemma-4-26b-a4b-it-vs-gemma-4-31b-it/) · [Gemma 4 26B A4B vs Qwen3.6 35B A3B](https://broadrouter.com/llm-api-pricing/compare/gemma-4-26b-a4b-it-vs-qwen3.6-35b-a3b/) · [Llama 3.3 70B vs Gemma 4 26B A4B](https://broadrouter.com/llm-api-pricing/compare/llama-3.3-70b-instruct-vs-gemma-4-26b-a4b-it/) · [GLM 5.3 Flash vs Gemma 4 26B A4B](https://broadrouter.com/llm-api-pricing/compare/glm-5.3-flash-vs-gemma-4-26b-a4b-it/) · [DeepSeek V4 Flash 0731 vs Gemma 4 26B A4B](https://broadrouter.com/llm-api-pricing/compare/deepseek-v4-flash-0731-vs-gemma-4-26b-a4b-it/) · [Gemma 4 26B A4B vs DeepSeek V4 Flash](https://broadrouter.com/llm-api-pricing/compare/gemma-4-26b-a4b-it-vs-deepseek-v4-flash/) · [gpt-oss-120b vs Gemma 4 26B A4B](https://broadrouter.com/llm-api-pricing/compare/gpt-oss-120b-vs-gemma-4-26b-a4b-it/) · [gpt-oss-120b vs gpt-oss-20b](https://broadrouter.com/llm-api-pricing/compare/gpt-oss-120b-vs-gpt-oss-20b/) · [gpt-oss-20b vs Qwen3.6 35B A3B](https://broadrouter.com/llm-api-pricing/compare/gpt-oss-20b-vs-qwen3.6-35b-a3b/) · [every Gemma 4 26B A4B comparison](https://broadrouter.com/llm-api-pricing/compare/#m-gemma-4-26b-a4b-it) · [every gpt-oss-20b comparison](https://broadrouter.com/llm-api-pricing/compare/#m-gpt-oss-20b) · [all 662 price comparisons](https://broadrouter.com/llm-api-pricing/compare/)

## 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](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gemma-4-26b-a4b-it,gpt-oss-20b).

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

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=llm-api-pricing-compare-gemma-4-26b-a4b-it-vs-gpt-oss-20b&utm_content=page-cta) ·

**Sources**

-   [DeepInfra: pricing (checked 2026-11-14)](https://deepinfra.com/google/gemma-4-26B-A4B-it)
-   [Featherless: pricing (checked 2026-11-15)](https://featherless.ai/models/google/gemma-4-26B-A4B-it)
-   [Cloudflare Workers AI: pricing (checked 2026-11-14)](https://developers.cloudflare.com/workers-ai/platform/pricing/)
-   [Google Vertex AI: pricing (checked 2026-11-14)](https://cloud.google.com/model-garden/pricing)
-   [AkashML: pricing (checked 2026-11-15)](https://akashml.com/models/gpt-oss-20b)
-   [Google Vertex AI: pricing (checked 2026-11-14)](https://cloud.google.com/model-garden/partner-models/pricing)
-   [CoreWeave Forge: pricing (checked 2026-11-15)](https://coreweave.com/forge-pricing/inference-agents)
-   [DeepInfra: pricing (checked 2026-11-14)](https://deepinfra.com/openai/gpt-oss-20b)
-   [Featherless: pricing (checked 2026-11-15)](https://featherless.ai/models/openai/gpt-oss-20b)
-   [Parasail: pricing (checked 2026-11-14)](https://www.parasail.io/pricing)
-   [SiliconFlow: pricing (checked 2026-11-14)](https://www.siliconflow.com/pricing)
-   [Amazon Bedrock: pricing (checked 2026-11-14)](https://aws.amazon.com/bedrock/pricing/)
-   [BroadNet Inference rate card, pricing.json (synced 2026-11-14)](https://inference.broadnet.ai/pricing.json?utm_source=broadrouter&utm_medium=referral&utm_campaign=llm-api-pricing-compare-gemma-4-26b-a4b-it-vs-gpt-oss-20b&utm_content=sources)
