# GPT-4o-mini (2024-07-18) vs Qwen2.5 Coder 32B Instruct

Canonical: https://weaveos.com/models/compare/openai--gpt-4o-mini-2024-07-18-vs-qwen--qwen-2.5-coder-32b-instruct

Catalog checked: Nov 27, 2026.

Methodology: https://weaveos.com/models/methodology.

## Routing trade-offs

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

## Model specifications

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

## Token pricing

OpenRouter snapshot rates in USD per million tokens. Rates and billing can vary with API endpoint, volume, tier, tools, and cache settings. Prices do not represent Weave plans. Catalog source: https://openrouter.ai/api/v1/models.

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

Cost estimate formula: ((input tokens × uncached input USD per million) + (output tokens × output USD per million)) ÷ 1,000,000. The overview uses 1,000,000 input tokens and 250,000 output tokens.

## Shared benchmark results

Shared rows require the same benchmark source snapshot, metric, score unit, and evaluation group. Reasoning settings and test configurations can differ. Benchmarks describe the published runs.

| Benchmark | GPT-4o-mini (2024-07-18) | Qwen2.5 Coder 32B Instruct | Evaluation group | GPT-4o-mini (2024-07-18) date or snapshot | Qwen2.5 Coder 32B Instruct date or snapshot | GPT-4o-mini (2024-07-18) configuration | Qwen2.5 Coder 32B Instruct configuration | Result source | Methodology |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Aider Polyglot Pass@1 | 0.9% | 4.9% | aider-polyglot:0.69.2.dev:225:whole:unspecified:pass-1 | Dec 21, 2024 | Dec 26, 2024 | gpt-4o-mini-2024-07-18; edit=whole; effort=unspecified | Qwen2.5-Coder-32B-Instruct; edit=whole; effort=unspecified | https://raw.githubusercontent.com/Aider-AI/aider/main/aider/website/\_data/polyglot\_leaderboard.yml | https://aider.chat/docs/leaderboards/ |
| Aider Polyglot Pass@2 | 3.6% | 16.4% | aider-polyglot:0.69.2.dev:225:whole:unspecified:pass-2 | Dec 21, 2024 | Dec 26, 2024 | gpt-4o-mini-2024-07-18; edit=whole; effort=unspecified | Qwen2.5-Coder-32B-Instruct; edit=whole; effort=unspecified | https://raw.githubusercontent.com/Aider-AI/aider/main/aider/website/\_data/polyglot\_leaderboard.yml | https://aider.chat/docs/leaderboards/ |

## Individual benchmark evidence

### GPT-4o-mini (2024-07-18)

No additional benchmark rows are available for this model ID.

### Qwen2.5 Coder 32B Instruct

| Benchmark | Score | Evaluation group | Date or snapshot | Configuration | Split | Source model label | Provenance | Reuse note | Result source | Methodology | Notes |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Aider Polyglot Pass@1 | 4.4% | aider-polyglot:0.69.2.dev:225:diff:unspecified:pass-1 | Dec 22, 2024 | Qwen2.5-Coder-32B-Instruct; edit=diff; effort=unspecified | Unavailable | Qwen2.5-Coder-32B-Instruct | official\_leaderboard | Apache-2.0 repository; score fact only, no task data copied | https://raw.githubusercontent.com/Aider-AI/aider/main/aider/website/\_data/polyglot\_leaderboard.yml | https://aider.chat/docs/leaderboards/ | Aider's official 225-exercise Polyglot leaderboard. Comparability is limited to the same Aider version, edit format, effort, and pass metric. The current source snapshot's newest run is from 2025-10-03. |
| Aider Polyglot Pass@2 | 8% | aider-polyglot:0.69.2.dev:225:diff:unspecified:pass-2 | Dec 22, 2024 | Qwen2.5-Coder-32B-Instruct; edit=diff; effort=unspecified | Unavailable | Qwen2.5-Coder-32B-Instruct | official\_leaderboard | Apache-2.0 repository; score fact only, no task data copied | https://raw.githubusercontent.com/Aider-AI/aider/main/aider/website/\_data/polyglot\_leaderboard.yml | https://aider.chat/docs/leaderboards/ | Aider's official 225-exercise Polyglot leaderboard. Comparability is limited to the same Aider version, edit format, effort, and pass metric. The current source snapshot's newest run is from 2025-10-03. |

## Weave Router catalog

| Model | Exact public catalog status | Router model ID |
| --- | --- | --- |
| GPT-4o-mini (2024-07-18) | Unverified | Unavailable |
| Qwen2.5 Coder 32B Instruct | Unverified | Unavailable |

Public catalog source: https://router.weaveos.com/v1/router/models?scope=catalog. Checked Nov 27, 2026. Catalog presence does not determine plan or account eligibility.

## Visual assets

- Summary image (1200x630 PNG): https://weaveos.com/models/compare/openai--gpt-4o-mini-2024-07-18-vs-qwen--qwen-2.5-coder-32b-instruct/opengraph-image
- OpenAI logo: https://weaveos.com/models/logos/openai.svg
- GPT-4o-mini (2024-07-18) product mark: https://weaveos.com/models/logos/openai.svg
- Qwen logo: https://weaveos.com/models/logos/qwen-color.svg

## Model identities and sources

- GPT-4o-mini (2024-07-18) model ID: openai/gpt-4o-mini-2024-07-18.
- Catalog revision ID: openai/gpt-4o-mini-2024-07-18.
- Knowledge cutoff: 2023-10-31.
- Endpoint variant: Standard model record.
- Advertised API parameters: frequency\_penalty, logit\_bias, logprobs, max\_tokens, prediction, presence\_penalty, response\_format, seed, stop, structured\_outputs, temperature, tool\_choice, tools, top\_logprobs, top\_p, web\_search\_options.
- Source: https://openrouter.ai/openai/gpt-4o-mini-2024-07-18

- Qwen2.5 Coder 32B Instruct model ID: qwen/qwen-2.5-coder-32b-instruct.
- Catalog revision ID: qwen/qwen-2.5-coder-32b-instruct.
- Knowledge cutoff: 2024-06-30.
- Endpoint variant: Standard model record.
- Advertised API parameters: frequency\_penalty, logit\_bias, max\_tokens, min\_p, presence\_penalty, repetition\_penalty, response\_format, seed, stop, temperature, top\_k, top\_p.
- Weight repository: Qwen/Qwen2.5-Coder-32B-Instruct. License tag: apache-2.0. Revision: 381fc969f78efac66bc87ff7ddeadb7e73c218a7.
- Source: https://openrouter.ai/qwen/qwen-2.5-coder-32b-instruct
- Source: https://huggingface.co/Qwen/Qwen2.5-Coder-32B-Instruct

- GPT-4o-mini (2024-07-18) profile: https://weaveos.com/models/openai--gpt-4o-mini-2024-07-18
- Qwen2.5 Coder 32B Instruct profile: https://weaveos.com/models/qwen--qwen-2.5-coder-32b-instruct
