AI model comparison
GPT-4.1 vs GPT-4.1 Mini
Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.
Change models
OpenAI
GPT-4.1- Context tokens
- 1.05M
- Input / 1M
- $2.00
- Output / 1M
- $8.00
OpenAI
GPT-4.1 Mini- Context tokens
- 1.05M
- Input / 1M
- $0.40
- Output / 1M
- $1.60
Percent score · Result source · Test method
The trade-offs
Start with the differences that affect how this model fits your workload.
- Benchmark results
- GPT-4.1 and GPT-4.1 Mini scored 20% and 11.1%, 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 $4.00 for GPT-4.1 and $0.80 for GPT-4.1 Mini.
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 · Apr 14, 2025 · Result source · Test method
Test configurations
- GPT-4.1
- gpt-4.1; edit=diff; effort=unspecified
- GPT-4.1 Mini
- gpt-4.1-mini; edit=diff; effort=unspecified
Aider Polyglot Pass@2
Coding · Apr 14, 2025 · Result source · Test method
Test configurations
- GPT-4.1
- gpt-4.1; edit=diff; effort=unspecified
- GPT-4.1 Mini
- gpt-4.1-mini; edit=diff; effort=unspecified
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-4.1 | GPT-4.1 Mini |
|---|---|---|
| Uncached input | $2.00 | $0.40 |
| Output | $8.00 | $1.60 |
| Cache read | $0.50 | $0.10 |
| 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-4.1 Mini costs $3.20 less at this token mix.
Model specifications
Context, output limits, modalities, and supported API parameters from the catalog.
| Specification | GPT-4.1 | GPT-4.1 Mini |
|---|---|---|
| Catalog status | Listed | Listed |
| Catalog model ID | openai/gpt-4.1 | openai/gpt-4.1-mini |
| Provider | OpenAI | OpenAI |
| Context window | 1,047,576 tokens | 1,047,576 tokens |
| Max output | 32,768 tokens | 32,768 tokens |
| Input modalities | Image, Text, File | Image, Text, File |
| Output modalities | Text | Text |
| Reasoning controls | Unverified | Unverified |
| Tool calling | Listed | Listed |
| Structured outputs | Listed | Listed |
| 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 | Apr 14, 2025 | Apr 14, 2025 |
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-4.1
Listed in the public Router catalog.
gpt-4.1GPT-4.1 Mini
Listed in the public Router catalog.
gpt-4.1-miniCatalog 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-4.1 catalog entry
- GPT-4.1 Mini catalog entry