BroadRouter

GPT-4.1 Mini vs Qwen2.5 Coder 32B API pricing

Updated

GPT-4.1 Mini: USD 0.40 input, USD 1.60 output per 1M tokens (OpenAI and 1 other). 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 6.4% more than GPT-4.1 Mini (USD 0.745 vs USD 0.70 per 1M).

Picked by the same-tier rule: both are in the third quarter of the indexed models by price (USD 0.4512 to USD 1.40 per 1M tokens at 3:1) and in the same size class, small (a tier word such as Flash, Mini or Haiku, or 40B parameters or fewer). Qwen2.5 Coder 32B is the 2nd-closest-priced model from another maker to GPT-4.1 Mini in that bucket. 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 GPT-4.1 Mini and Qwen2.5 Coder 32B differ on price?

GPT-4.1 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.

GPT-4.1 Mini and Qwen2.5 Coder 32B API prices compared
PriceGPT-4.1 MiniQwen2.5 Coder 32B
Model pageGPT-4.1 Mini
OpenAI · 2 providers
Qwen2.5 Coder 32B Instruct
Qwen · 2 providers
Cheapest standard price, blended 3:1USD 0.70 lower
USD 0.40 in / USD 1.60 out at OpenAI and 1 other
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 inputUSD 0.40 lower
OpenAI source
USD 0.66
Cloudflare Workers AI source
Cheapest cached inputUSD 0.10
OpenAI source
No standard price lists a cache price; cached tokens bill at the input price.
Cheapest outputUSD 1.60
OpenAI source
USD 1 lower
Cloudflare Workers AI source
Maker's own APIUSD 0.40 / USD 1.60
OpenAI source
Qwen publishes no paid standard price on its own API that we found.
Median standard priceUSD 0.40 / USD 1.60
input / output, 2 prices
USD 0.67 / USD 1.10
input / output, 2 prices
Context windowNo provider states one on its pricing page.32,768 tokens, largest stated
Providers with a standard price22

Report a wrong price or number (email to info@broadnet.ai, with this page's link filled in).

What do GPT-4.1 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).

Monthly cost of three workloads on GPT-4.1 Mini and Qwen2.5 Coder 32B
WorkloadGPT-4.1 MiniQwen2.5 Coder 32BDifference
Support chatbot
2,000 requests a day, 1,500 input tokens (60% cached), 300 output
USD 48.60
OpenAI
USD 77.40
Cloudflare Workers AI
USD 28.80
GPT-4.1 Mini lower
RAG over documents
1,000 requests a day, 8,000 input tokens (30% cached), 500 output
USD 98.40
OpenAI
USD 173.40
Cloudflare Workers AI
USD 75.00
GPT-4.1 Mini lower
Coding agent (one developer)
1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning
USD 405.00
OpenAI
USD 1,278
Cloudflare Workers AI
USD 873.00
GPT-4.1 Mini lower

GPT-4.1 Mini is cheaper on all three workloads. The widest gap is on Coding agent (one developer): the dearer model costs 3.2× 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.3 input tokens per output token, Qwen2.5 Coder 32B is cheaper; above 2.3, GPT-4.1 Mini is cheaper. At the site's 3:1 blend, GPT-4.1 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.

Price per 1M tokens of GPT-4.1 Mini and Qwen2.5 Coder 32B at different input:output mixes
Input : output tokensGPT-4.1 MiniQwen2.5 Coder 32B
1 : 3 (long answers)USD 1.30
OpenAI
USD 0.915 lower
Cloudflare Workers AI
1 : 1USD 1
OpenAI
USD 0.83 lower
Cloudflare Workers AI
3 : 1 (the site’s blend)USD 0.70 lower
OpenAI
USD 0.745
Cloudflare Workers AI
10 : 1 (retrieval, long prompts)USD 0.5091 lower
OpenAI
USD 0.6909
Cloudflare Workers AI
30 : 1 (agents, big contexts)USD 0.4387 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-4.1 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

More comparisons: GPT-5 Mini vs GPT-4.1 Mini · GPT-4.1 Mini vs GPT-4.1 · every GPT-4.1 Mini comparison · every Qwen2.5 Coder 32B comparison · all 662 price comparisons

Questions

Is GPT-4.1 Mini cheaper than Qwen2.5 Coder 32B?

Yes. On a blend of 3 input tokens to 1 output token, GPT-4.1 Mini costs USD 0.70 per 1M tokens and Qwen2.5 Coder 32B USD 0.745, at each model's cheapest standard price. For input alone, GPT-4.1 Mini is cheaper (USD 0.40 against USD 0.66 per 1M); for output alone, Qwen2.5 Coder 32B is (USD 1 against USD 1.60). This compares price only, not quality.

What do GPT-4.1 Mini and Qwen2.5 Coder 32B cost per 1M tokens?

GPT-4.1 Mini: from USD 0.40 input and USD 1.60 output at OpenAI and 1 other; OpenAI's own API charges USD 0.40 / USD 1.60; median of 2 standard prices USD 0.40 / USD 1.60. 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-4.1 Mini and Qwen2.5 Coder 32B?

None of the providers we track sells both at a standard price. GPT-4.1 Mini is cheapest at OpenAI and 1 other 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-4.1 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 405.00 a month on GPT-4.1 Mini (OpenAI) against USD 1,278 on Qwen2.5 Coder 32B (Cloudflare Workers AI), a difference of USD 873.00. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 48.60 a month on GPT-4.1 Mini (OpenAI) against USD 77.40 on Qwen2.5 Coder 32B (Cloudflare Workers AI), a difference of USD 28.80. 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-4.1 Mini and Qwen2.5 Coder 32B change?

The cheaper model changes with the mix: below 2.3 input tokens per output token, Qwen2.5 Coder 32B is cheaper; above 2.3, GPT-4.1 Mini is cheaper. At the site's 3:1 blend, GPT-4.1 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-4.1 Mini and Qwen2.5 Coder 32B have cached input pricing?

GPT-4.1 Mini from USD 0.10 per 1M cached input tokens (OpenAI; 2 of 2 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.

Read as MarkdownAsk ChatGPTAsk ClaudeAsk Perplexity