AI model comparison
GPT-4o-mini (2024-07-18) vs Qwen2.5 Coder 32B Instruct
Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.
Change models
OpenAI
GPT-4o-mini (2024-07-18)- Context tokens
- 128K
- Input / 1M
- $0.15
- Output / 1M
- $0.60
- Context tokens
- 32.77K
- Input / 1M
- $0.66
- Output / 1M
- $1.00
Percent score · Result source · Test method
The trade-offs
Start with the differences that affect how this model fits your workload.
- Benchmark results
- GPT-4o-mini (2024-07-18) and Qwen2.5 Coder 32B Instruct scored 0.9% and 4.9%, respectively, on Aider Polyglot Pass@1. Use the test setup below to check whether it matches your workload.
- Token cost
- For 1 million input tokens and 250,000 output tokens, the listed rates estimate $0.30 for GPT-4o-mini (2024-07-18) and $0.91 for Qwen2.5 Coder 32B Instruct.
- Context window
- GPT-4o-mini (2024-07-18) lists 128,000 tokens of context. Qwen2.5 Coder 32B Instruct lists 32,768 tokens. Reserve space for the output before routing long inputs.
Benchmarks
Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.
Source Result source · Test method
Aider Polyglot Pass@1
Coding · Result source · Test method
Test dates and configurations
- GPT-4o-mini (2024-07-18)
- Dec 21, 2024 · gpt-4o-mini-2024-07-18; edit=whole; effort=unspecified
- Qwen2.5 Coder 32B Instruct
- Dec 26, 2024 · Qwen2.5-Coder-32B-Instruct; edit=whole; effort=unspecified
Aider Polyglot Pass@2
Coding · Result source · Test method
Test dates and configurations
- GPT-4o-mini (2024-07-18)
- Dec 21, 2024 · gpt-4o-mini-2024-07-18; edit=whole; effort=unspecified
- Qwen2.5 Coder 32B Instruct
- Dec 26, 2024 · Qwen2.5-Coder-32B-Instruct; edit=whole; effort=unspecified
View individual benchmark records
These model-level records can include other benchmark releases, test configurations, and vendor-reported results.
GPT-4o-mini (2024-07-18)
No additional benchmark results are available for this model ID.
Qwen2.5 Coder 32B Instruct
| Benchmark | Score | Configuration | Source model label | Evidence |
|---|---|---|---|---|
| Aider Polyglot Pass@1 | 4.4% | Qwen2.5-Coder-32B-Instruct; edit=diff; effort=unspecified · Dec 22, 2024 | Qwen2.5-Coder-32B-Instruct | Result source · Test method |
| Aider Polyglot Pass@2 | 8% | Qwen2.5-Coder-32B-Instruct; edit=diff; effort=unspecified · Dec 22, 2024 | Qwen2.5-Coder-32B-Instruct | Result source · Test method |
Pricing and token cost
Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.
| USD per million tokens | GPT-4o-mini (2024-07-18) | Qwen2.5 Coder 32B Instruct |
|---|---|---|
| Uncached input | $0.15 | $0.66 |
| Output | $0.60 | $1.00 |
| Cache read | $0.075 | Unavailable |
| Cache write | Unavailable | Unavailable |
Rates are a catalog snapshot. OpenRouter Models API
Estimate your workload
Enter total token counts. The estimate uses uncached input and output rates.
GPT-4o-mini (2024-07-18) costs $0.61 less at this token mix.
Model specifications
Context, output limits, modalities, and supported API parameters from the catalog.
| Specification | GPT-4o-mini (2024-07-18) | Qwen2.5 Coder 32B Instruct |
|---|---|---|
| Catalog status | Listed | Listed |
| Catalog model ID | openai/gpt-4o-mini-2024-07-18 | qwen/qwen-2.5-coder-32b-instruct |
| Provider | OpenAI | Qwen |
| Context window | 128,000 tokens | 32,768 tokens |
| Max output | 16,384 tokens | 29,491 tokens |
| Input modalities | Text, Image, File | Text |
| Output modalities | Text | Text |
| Reasoning controls | Unverified | Unverified |
| Tool calling | Listed | Unverified |
| Structured outputs | Listed | Unverified |
| Serving endpoints | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses |
| Catalog listing date | Jul 18, 2024 | Nov 11, 2024 |
Use with Weave Router
Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.
GPT-4o-mini (2024-07-18)
Weave Router availability is unverified for this model ID.
Qwen2.5 Coder 32B Instruct
Weave Router availability is unverified for this model ID.
Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026
Sources
Each benchmark links to its own result and test method when available.
- OpenRouter Models API · token rates and catalog specifications
- Weave Router catalog · verified Router model IDs
- GPT-4o-mini (2024-07-18) catalog entry
- Qwen2.5 Coder 32B Instruct catalog entry
- Qwen2.5 Coder 32B Instruct model repository