GPT-5 Mini vs Qwen2.5 Coder 32B API pricing
Updated
GPT-5 Mini: USD 0.25 input, USD 2 output per 1M tokens (OpenAI and 2 others). Qwen2.5 Coder 32B: USD 0.66 input, USD 1 output per 1M tokens (Cloudflare Workers AI). At 3 input tokens per output token, Qwen2.5 Coder 32B costs 8.4% more than GPT-5 Mini (USD 0.745 vs USD 0.6875 per 1M).
How do GPT-5 Mini and Qwen2.5 Coder 32B differ on price?
- Cheapest input price: GPT-5 Mini USD 0.25 against USD 0.66 per 1M tokens, so Qwen2.5 Coder 32B costs 2.6× as much.
- Cheapest output price: Qwen2.5 Coder 32B USD 1 against USD 2 per 1M tokens, so GPT-5 Mini costs 2× as much.
- Among the 201 indexed models, GPT-5 Mini ranks 108th cheapest and Qwen2.5 Coder 32B 117th on the 3:1 blend.
- The cheaper model changes at 2.4 input tokens per output token.
- Only GPT-5 Mini lists a cached-input discount: GPT-5 Mini at 3 standard prices of 3, from USD 0.025 (OpenAI, 90% below that provider's input price). Qwen2.5 Coder 32B's cached tokens bill at the input price.
- Only Qwen2.5 Coder 32B has a stated context window (32,768 tokens); no provider of GPT-5 Mini states one on its pricing page.
- GPT-5 Mini has 3 providers with a standard price, 1 more than Qwen2.5 Coder 32B; no provider sells both, so using both means two accounts.
- Shopping around matters more for Qwen2.5 Coder 32B: its dearest standard price is 1.09× its cheapest, against 1× for GPT-5 Mini.
- OpenAI's own API is one of 3 providers tied for the lowest standard price we found for GPT-5 Mini, USD 0.6875 at 3:1.
- GPT-5 Mini has a batch price at 1 provider, from USD 0.3438 at 3:1 (OpenAI); Qwen2.5 Coder 32B has no batch price on file.
- For the one-developer coding agent preset, the gap is USD 11,907 a year in GPT-5 Mini's favour (GPT-5 Mini USD 285.75 a month, Qwen2.5 Coder 32B USD 1,278).
GPT-5 Mini and Qwen2.5 Coder 32B 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 | GPT-5 Mini | Qwen2.5 Coder 32B |
|---|---|---|
| Model page | GPT-5 Mini OpenAI · 3 providers | Qwen2.5 Coder 32B Instruct Qwen · 2 providers |
| Cheapest standard price, blended 3:1 | USD 0.6875 lower USD 0.25 in / USD 2 out at OpenAI and 2 others OpenAI page checked 2026-11-14 | USD 0.745 USD 0.66 in / USD 1 out at Cloudflare Workers AI Cloudflare Workers AI page checked 2026-11-14 |
| Cheapest input | USD 0.25 lower OpenAI source | USD 0.66 Cloudflare Workers AI source |
| Cheapest cached input | USD 0.025 OpenAI source | No standard price lists a cache price; cached tokens bill at the input price. |
| Cheapest output | USD 2 OpenAI source | USD 1 lower Cloudflare Workers AI source |
| Maker's own API | USD 0.25 / USD 2 OpenAI source | Qwen publishes no paid standard price on its own API that we found. |
| Median standard price | USD 0.25 / USD 2 input / output, 3 prices | USD 0.67 / USD 1.10 input / output, 2 prices |
| Context window | No provider states one on its pricing page. | 32,768 tokens, largest stated |
| Providers with a standard price | 3 | 2 |
- 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 GPT-5 Mini and Qwen2.5 Coder 32B 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 | GPT-5 Mini | Qwen2.5 Coder 32B | Difference |
|---|---|---|---|
| Support chatbot 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 46.35 OpenAI | USD 77.40 Cloudflare Workers AI | USD 31.05 GPT-5 Mini lower |
| RAG over documents 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 73.80 OpenAI | USD 173.40 Cloudflare Workers AI | USD 99.60 GPT-5 Mini lower |
| Coding agent (one developer) 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 285.75 OpenAI | USD 1,278 Cloudflare Workers AI | USD 992.25 GPT-5 Mini lower |
GPT-5 Mini is cheaper on all three workloads. The widest gap is on Coding agent (one developer): the dearer model costs 4.5× as much as the cheaper one.
Does the cheaper model change with your input:output ratio?
The cheaper model changes with the mix: below 2.4 input tokens per output token, Qwen2.5 Coder 32B is cheaper; above 2.4, GPT-5 Mini is cheaper. At the site's 3:1 blend, GPT-5 Mini is cheaper. 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 | GPT-5 Mini | Qwen2.5 Coder 32B |
|---|---|---|
| 1 : 3 (long answers) | USD 1.563 OpenAI | USD 0.915 lower Cloudflare Workers AI |
| 1 : 1 | USD 1.125 OpenAI | USD 0.83 lower Cloudflare Workers AI |
| 3 : 1 (the site’s blend) | USD 0.6875 lower OpenAI | USD 0.745 Cloudflare Workers AI |
| 10 : 1 (retrieval, long prompts) | USD 0.4091 lower OpenAI | USD 0.6909 Cloudflare Workers AI |
| 30 : 1 (agents, big contexts) | USD 0.3065 lower OpenAI | USD 0.671 Cloudflare Workers AI |
USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.
What do GPT-5 Mini and Qwen2.5 Coder 32B cost per character in other languages?
Not measured: the real cost by language dataset covers only tokenizers we could measure from published files, and Qwen2.5 Coder 32B is not among them. Count tokens on your own text with the counters below.
Check it on your own traffic
- GPT-5 Mini API pricing: all 3 providers and other tiers.
- Qwen2.5 Coder 32B Instruct API pricing: all 2 providers and other tiers.
- Cost calculator with GPT-5 Mini and Qwen2.5 Coder 32B preloaded
- GPT token counter
- Qwen token counter
- Prompt caching calculator
More comparisons: GPT-5 Mini vs GPT-4.1 Mini · GPT-5.4 Mini vs GPT-5 Mini · GPT-5 Mini vs GPT-5 Nano · GPT-5 Pro vs GPT-5 Mini · every GPT-5 Mini comparison · every Qwen2.5 Coder 32B comparison · all 662 price comparisons
Questions
Is GPT-5 Mini cheaper than Qwen2.5 Coder 32B?
Yes. On a blend of 3 input tokens to 1 output token, GPT-5 Mini costs USD 0.6875 per 1M tokens and Qwen2.5 Coder 32B USD 0.745, at each model's cheapest standard price. For input alone, GPT-5 Mini is cheaper (USD 0.25 against USD 0.66 per 1M); for output alone, Qwen2.5 Coder 32B is (USD 1 against USD 2). This compares price only, not quality.
What do GPT-5 Mini and Qwen2.5 Coder 32B cost per 1M tokens?
GPT-5 Mini: from USD 0.25 input and USD 2 output at OpenAI and 2 others; OpenAI's own API charges USD 0.25 / USD 2; median of 3 standard prices USD 0.25 / USD 2. Qwen2.5 Coder 32B: from USD 0.66 input and USD 1 output at Cloudflare Workers AI; median of 2 standard prices USD 0.67 / USD 1.10. Each price is read from the provider's own pricing page; the source is linked in the table.
Which providers sell both GPT-5 Mini and Qwen2.5 Coder 32B?
None of the providers we track sells both at a standard price. GPT-5 Mini is cheapest at OpenAI and 2 others and Qwen2.5 Coder 32B at Cloudflare Workers AI, so running both means two accounts.
Which is cheaper for a coding agent or a chatbot, GPT-5 Mini or Qwen2.5 Coder 32B?
For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 285.75 a month on GPT-5 Mini (OpenAI) against USD 1,278 on Qwen2.5 Coder 32B (Cloudflare Workers AI), a difference of USD 992.25. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 46.35 a month on GPT-5 Mini (OpenAI) against USD 77.40 on Qwen2.5 Coder 32B (Cloudflare Workers AI), a difference of USD 31.05. 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 GPT-5 Mini and Qwen2.5 Coder 32B change?
The cheaper model changes with the mix: below 2.4 input tokens per output token, Qwen2.5 Coder 32B is cheaper; above 2.4, GPT-5 Mini is cheaper. At the site's 3:1 blend, GPT-5 Mini is cheaper. 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 GPT-5 Mini and Qwen2.5 Coder 32B have cached input pricing?
GPT-5 Mini from USD 0.025 per 1M cached input tokens (OpenAI; 3 of 3 standard prices list a discount). Qwen2.5 Coder 32B: no standard price lists a cached-input discount. Cached tokens are billed at the input price where no cache price is published.