---
title: "GPT-4.1 Mini vs Qwen2.5 Coder 32B API pricing compared"
description: "GPT-4.1 Mini vs Qwen2.5 Coder 32B API price per 1M tokens: USD 0.40 / USD 1.60 vs USD 0.66 / USD 1 input/output, from providers' own pricing pages."
url: https://broadrouter.com/llm-api-pricing/compare/gpt-4.1-mini-vs-qwen-2.5-coder-32b-instruct/
lang: en
updated: 2026-11-15
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

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

Updated 2026-11-15

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?

-   Cheapest input price: GPT-4.1 Mini USD 0.40 against USD 0.66 per 1M tokens, so Qwen2.5 Coder 32B costs 1.65× as much (65% more).
-   Cheapest output price: Qwen2.5 Coder 32B USD 1 against USD 1.60 per 1M tokens, so GPT-4.1 Mini costs 1.6× as much (60% more).
-   Among the 201 indexed models, GPT-4.1 Mini ranks 111th cheapest and Qwen2.5 Coder 32B 117th on the 3:1 blend.
-   The cheaper model changes at 2.3 input tokens per output token.
-   Only GPT-4.1 Mini lists a cached-input discount: GPT-4.1 Mini at 2 standard prices of 2, from USD 0.10 (OpenAI, 75% 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-4.1 Mini states one on its pricing page.
-   Both have 2 providers with a standard price; 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-4.1 Mini.
-   OpenAI's own API is one of 2 providers tied for the lowest standard price we found for GPT-4.1 Mini, USD 0.70 at 3:1.
-   GPT-4.1 Mini has a batch price at 2 providers, from USD 0.35 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 10,476 a year in GPT-4.1 Mini's favour (GPT-4.1 Mini USD 405.00 a month, Qwen2.5 Coder 32B USD 1,278).

## 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
| Price | GPT-4.1 Mini | Qwen2.5 Coder 32B |
| --- | --- | --- |
| Model page | [GPT-4.1 Mini](https://broadrouter.com/llm-api-pricing/gpt-4.1-mini/) · OpenAI · 2 providers | [Qwen2.5 Coder 32B Instruct](https://broadrouter.com/llm-api-pricing/qwen-2.5-coder-32b-instruct/) · Qwen · 2 providers |
| Cheapest standard price, blended 3:1 | USD 0.70 lower · USD 0.40 in / USD 1.60 out at OpenAI and 1 other · [OpenAI page](https://developers.openai.com/api/docs/pricing) checked 2026-11-14 | USD 0.745 · USD 0.66 in / USD 1 out at Cloudflare Workers AI · [Cloudflare Workers AI page](https://developers.cloudflare.com/workers-ai/platform/pricing/) checked 2026-11-14 |
| Cheapest input | USD 0.40 lower · OpenAI [source](https://developers.openai.com/api/docs/pricing) | USD 0.66 · Cloudflare Workers AI [source](https://developers.cloudflare.com/workers-ai/platform/pricing/) |
| Cheapest cached input | USD 0.10 · OpenAI [source](https://developers.openai.com/api/docs/pricing) | No standard price lists a cache price; cached tokens bill at the input price. |
| Cheapest output | USD 1.60 · OpenAI [source](https://developers.openai.com/api/docs/pricing) | USD 1 lower · Cloudflare Workers AI [source](https://developers.cloudflare.com/workers-ai/platform/pricing/) |
| Maker's own API | USD 0.40 / USD 1.60 · OpenAI [source](https://developers.openai.com/api/docs/pricing) | Qwen publishes no paid standard price on its own API that we found. |
| Median standard price | USD 0.40 / USD 1.60 · input / output, 2 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 | 2 | 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](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20GPT-4.1%20Mini%20vs%20Qwen2.5%20Coder%2032B%20API%20pricing&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fllm-api-pricing%2Fcompare%2Fgpt-4.1-mini-vs-qwen-2.5-coder-32b-instruct%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 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](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gpt-4.1-mini,qwen-2.5-coder-32b-instruct); cached input at the cached price where listed).

Monthly cost of three workloads on GPT-4.1 Mini and Qwen2.5 Coder 32B
| Workload | GPT-4.1 Mini | Qwen2.5 Coder 32B | Difference |
| --- | --- | --- | --- |
| **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 tokens | GPT-4.1 Mini | Qwen2.5 Coder 32B |
| --- | --- | --- |
| **1 : 3** (long answers) | USD 1.30 · OpenAI | USD 0.915 lower · Cloudflare Workers AI |
| **1 : 1** | USD 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](https://broadrouter.com/data/real-cost-by-language/) 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-4.1 Mini API pricing](https://broadrouter.com/llm-api-pricing/gpt-4.1-mini/): all 2 providers and other tiers.
-   [Qwen2.5 Coder 32B Instruct API pricing](https://broadrouter.com/llm-api-pricing/qwen-2.5-coder-32b-instruct/): all 2 providers and other tiers.
-   [Cost calculator with GPT-4.1 Mini and Qwen2.5 Coder 32B preloaded](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gpt-4.1-mini,qwen-2.5-coder-32b-instruct)
-   [GPT token counter](https://broadrouter.com/tools/gpt-token-counter/)
-   [Qwen token counter](https://broadrouter.com/tools/qwen-token-counter/)
-   [Prompt caching calculator](https://broadrouter.com/tools/prompt-caching-calculator/)

More comparisons: [GPT-5 Mini vs GPT-4.1 Mini](https://broadrouter.com/llm-api-pricing/compare/gpt-5-mini-vs-gpt-4.1-mini/) · [GPT-4.1 Mini vs GPT-4.1](https://broadrouter.com/llm-api-pricing/compare/gpt-4.1-mini-vs-gpt-4.1/) · [every GPT-4.1 Mini comparison](https://broadrouter.com/llm-api-pricing/compare/#m-gpt-4.1-mini) · [every Qwen2.5 Coder 32B comparison](https://broadrouter.com/llm-api-pricing/compare/#m-qwen-2.5-coder-32b-instruct) · [all 662 price comparisons](https://broadrouter.com/llm-api-pricing/compare/)

## 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](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gpt-4.1-mini,qwen-2.5-coder-32b-instruct).

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

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-gpt-4.1-mini-vs-qwen-2.5-coder-32b-instruct&utm_content=page-cta) ·

**Sources**

-   [OpenAI: own API pricing (checked 2026-11-14)](https://developers.openai.com/api/docs/pricing)
-   [Microsoft Azure: pricing (checked 2026-11-14)](https://azure.microsoft.com/en-us/pricing/details/azure-openai/)
-   [Cloudflare Workers AI: pricing (checked 2026-11-14)](https://developers.cloudflare.com/workers-ai/platform/pricing/)
