Gemma 3 4B vs Qwen 2.5 7B API pricing
Updated
Gemma 3 4B's lowest standard price we found is USD 0.04 per 1M input tokens and USD 0.08 per 1M output tokens (Amazon Bedrock). Qwen 2.5 7B's lowest standard price we found is USD 0.05 per 1M input tokens and USD 0.05 per 1M output tokens (SiliconFlow). At 3 input tokens per output token they cost the same, USD 0.05 per 1M tokens.
How do Gemma 3 4B and Qwen 2.5 7B differ on price?
- Cheapest input price: Gemma 3 4B USD 0.04 against USD 0.05 per 1M tokens, so Qwen 2.5 7B costs 1.25× as much (25% more).
- Cheapest output price: Qwen 2.5 7B USD 0.05 against USD 0.08 per 1M tokens, so Gemma 3 4B costs 1.6× as much (60% more).
- Among the 201 indexed models, Gemma 3 4B ranks 4th cheapest and Qwen 2.5 7B 4th on the 3:1 blend (the same rank).
- The cheaper model changes at 3 input tokens per output token.
- Only Qwen 2.5 7B lists a cached-input discount: Qwen 2.5 7B at 1 standard price of 3, from USD 0.136 (Featherless, 20% below that provider's input price). Gemma 3 4B's cached tokens bill at the input price.
- Gemma 3 4B states up to 131,072 tokens of context, 4× the 32,768 of Qwen 2.5 7B.
- Both have 3 providers with a standard price; 1 provider sells both (Featherless).
- On one account, Featherless charges USD 0.0625 for Gemma 3 4B (1.25× its cheapest price) and USD 0.1775 for Qwen 2.5 7B (3.5× its cheapest price) at 3:1, the lowest combined price among the providers that sell both.
- Shopping around matters more for Qwen 2.5 7B: its dearest standard price is 3.5× its cheapest, against 1.25× for Gemma 3 4B.
Gemma 3 4B and Qwen 2.5 7B 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 3 4B | Qwen 2.5 7B |
|---|---|---|
| Model page | Gemma 3 4B Google · 3 providers | Qwen 2.5 7B Qwen · 3 providers |
| Cheapest standard price, blended 3:1 | USD 0.05 tie USD 0.04 in / USD 0.08 out at Amazon Bedrock Amazon Bedrock page checked 2026-11-14 | USD 0.05 tie USD 0.05 in / USD 0.05 out at SiliconFlow SiliconFlow page checked 2026-11-14 |
| Cheapest input | USD 0.04 lower Amazon Bedrock source | USD 0.05 SiliconFlow source |
| Cheapest cached input | No standard price lists a cache price; cached tokens bill at the input price. | USD 0.136 Featherless source |
| Cheapest output | USD 0.08 Amazon Bedrock source | USD 0.05 lower SiliconFlow source |
| Maker's own API | Google publishes no paid standard price on its own API that we found. | Qwen publishes no paid standard price on its own API that we found. |
| Median standard price | USD 0.05 / USD 0.10 input / output, 3 prices | USD 0.05 / USD 0.13 input / output, 3 prices |
| Context window | 131,072 tokens, largest stated; from 32,768 at some providers | 32,768 tokens, largest stated; from 32,000 at some providers |
| Providers with a standard price | 3 | 3 |
- Lower marks the lower price on a line; tie, equal prices. Other tiers and free rows are on the model pages.
Report a wrong price or number (email to info@broadnet.ai, with this page's link filled in).
What do Gemma 3 4B and Qwen 2.5 7B 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 3 4B | Qwen 2.5 7B | Difference |
|---|---|---|---|
| Support chatbot 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 5.04 Amazon Bedrock | USD 5.40 SiliconFlow | USD 0.36 Gemma 3 4B lower |
| RAG over documents 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 10.80 Amazon Bedrock | USD 12.75 SiliconFlow | USD 1.95 Gemma 3 4B lower |
| Coding agent (one developer) 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 79.20 Amazon Bedrock | exceeds context | — |
Gemma 3 4B is cheaper on 2 workloads. The widest gap is on RAG over documents: the dearer model costs 18% more than the cheaper one.
Does the cheaper model change with your input:output ratio?
The cheaper model changes with the mix: below 3 input tokens per output token, Qwen 2.5 7B is cheaper; above 3, Gemma 3 4B is cheaper. At exactly 3:1 they cost the same. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.
| Input : output tokens | Gemma 3 4B | Qwen 2.5 7B |
|---|---|---|
| 1 : 3 (long answers) | USD 0.07 Amazon Bedrock | USD 0.05 lower SiliconFlow |
| 1 : 1 | USD 0.06 Amazon Bedrock | USD 0.05 lower SiliconFlow |
| 3 : 1 (the site’s blend) | USD 0.05 tie Amazon Bedrock | USD 0.05 tie SiliconFlow |
| 10 : 1 (retrieval, long prompts) | USD 0.04364 lower Amazon Bedrock | USD 0.05 SiliconFlow |
| 30 : 1 (agents, big contexts) | USD 0.04129 lower Amazon Bedrock | USD 0.05 SiliconFlow |
USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.
What do Gemma 3 4B and Qwen 2.5 7B cost per character in other languages?
Not measured: the real cost by language dataset covers only tokenizers we could measure from published files, and Qwen 2.5 7B is not among them. Count tokens on your own text with the counters below.
Check it on your own traffic
- Gemma 3 4B API pricing: all 3 providers and other tiers.
- Qwen 2.5 7B API pricing: all 3 providers and other tiers.
- Cost calculator with Gemma 3 4B and Qwen 2.5 7B preloaded
- Gemma 3 token counter
- Qwen token counter
- Prompt caching calculator
More comparisons: Gemma 3 12B vs Gemma 3 4B · Qwen3-8B vs Qwen 2.5 7B · Qwen2.5 72B vs Qwen 2.5 7B · every Gemma 3 4B comparison · every Qwen 2.5 7B comparison · all 662 price comparisons
Questions
Is Gemma 3 4B cheaper than Qwen 2.5 7B?
Not on price: on a blend of 3 input tokens to 1 output token they tie at USD 0.05 per 1M tokens. For input alone, Gemma 3 4B is cheaper (USD 0.04 against USD 0.05 per 1M); for output alone, Qwen 2.5 7B is (USD 0.05 against USD 0.08). This compares price only, not quality.
What do Gemma 3 4B and Qwen 2.5 7B cost per 1M tokens?
Gemma 3 4B: from USD 0.04 input and USD 0.08 output at Amazon Bedrock; median of 3 standard prices USD 0.05 / USD 0.10. Qwen 2.5 7B: from USD 0.05 input and USD 0.05 output at SiliconFlow; median of 3 standard prices USD 0.05 / USD 0.13. Each price is read from the provider's own pricing page; the source is linked in the table.
Which providers sell both Gemma 3 4B and Qwen 2.5 7B?
1 provider has a standard price for both: Featherless (USD 0.0625 and USD 0.1775 at 3:1). Buying each model from its own cheapest provider costs USD 0.05 and USD 0.05.
At what input:output ratio does the cheaper of Gemma 3 4B and Qwen 2.5 7B change?
The cheaper model changes with the mix: below 3 input tokens per output token, Qwen 2.5 7B is cheaper; above 3, Gemma 3 4B is cheaper. At exactly 3:1 they cost the same. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.
Do Gemma 3 4B and Qwen 2.5 7B have cached input pricing?
Gemma 3 4B: no standard price lists a cached-input discount. Qwen 2.5 7B from USD 0.136 per 1M cached input tokens (Featherless; 1 of 3 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 3 4B or Qwen 2.5 7B?
Gemma 3 4B: up to 131,072 tokens, against 32,768 for Qwen 2.5 7B, 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.