GPT-4.1
- Family
- GPT-4.1
- Released
- 2025-04-01
- Lifecycle
- Scheduled retirement: January 14, 2027
- Context
- 1M
- Max output
- 32K
- Architecture
- Decoder Only
- Knowledge cutoff
- 2025-01
- Specialization
- general
- Openness
- Proprietary
- License
- ProprietaryRestricted
- Weights
- Not released
- Code
- Unknown
- Training
- Pretrained
Cheapest of 4 routes · OpenAI API · cache read $0.500
Cheapest of 4 routes · OpenAI API · cache read $0.500
About
OpenAI's GPT-4.1 model released April 2025, excelling at coding tasks, precise instruction following, and web development. Outperforms GPT-4o in these areas with a 1 million token context window. Available via API and in ChatGPT for Plus, Pro, Team, Enterprise, and Edu users.
Providers(4)
Compare all 4Compare API pricing across 4 tracked provider routes for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Batch in / out | Cache | Route |
|---|---|---|---|---|---|
| OpenAI API | $2.00 | $8.00 | - | read $0.500 | Serverless |
| OpenRouter | $2.00 | $8.00 | - | read $0.500 | Serverless |
| Vercel AI Gateway | $2.00 | $8.00 | - | read $0.500 | Serverless |
| Azure OpenAI | - | - | $1.00 / $4.00 | - | ServerlessPartial |
Available via routers & gateways(16)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter
HybridUnified hybrid gateway to 500+ models from 80+ providers via a single OpenAI-compatible API, with an optional Auto Router that selects a model per prompt from market spend data.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.
AIRouter
RouterCommercial LLM router (branded "AI Router" on its site) that picks the best model per request via a Decision API or an OpenAI-compatible Chat Completions endpoint, with a private selection mode that routes on anonymized patterns; sold as BYOK subscription plans priced by routed tokens.
Azure AI Foundry Model Router
RouterMicrosoft Azure AI Foundry's native model router that uses a trained ML model to route each prompt in real time to the optimal Azure-hosted model, with Balanced/Cost/Quality mode selection and automatic failover.
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache-2.0 open-source platform with a managed hosted tier for logging and analytics.
Capabilities
Benchmark peer barsfor Coding
Benchmark scores(7)
| Benchmark | Score | Version | Evaluation | Source |
|---|---|---|---|---|
| 92.9 | 2025-04Observed 2026-04-09 | — | ||
| 54.6 | 2025-04Observed 2026-04-09 | — | ||
| 52.4 | 2026-04Observed 2026-04-14 | — | ||
| 54.0 | v4Observed 2026-04-14 | — | ||
| 81.8 | —Observed 2026-04-14 | — | ||
| 1214.0 | vision_style_control overall 2026-10-19 (style control, default view)Observed 2026-10-26 | Configuration: GPT-4.1 (2025-04-14) Harness: LMArena blind pairwise human votes, Bradley-Terry Evaluator: LMArena Confidence: confirmed Notes: LMArena vision style control leaderboard, overall category, published 2026-10-19 (HF lmarena-ai/leaderboard-dataset @9761a3ce, latest split; live page https://lmarena.ai/leaderboard/vision showed the same 2026-10-19 snapshot). Board entry 'GPT-4.1 (2025-04-14)': rank 85, Arena Score 1213.9 (95% CI 1207.2-1220.6), 40998 votes. Versioned arena label mapped to catalog slug gpt-4.1 (label date equals the model's release checkpoint). Retrieved 2026-10-26. | Source Source: LMArena (lmarena.ai), CC BY 4.0 | |
| 1363.0 | text creative_writing 2026-10-22Observed 2026-10-22 | Configuration: GPT-4.1 (2025-04-14) Harness: LMArena blind pairwise human votes, Bradley-Terry Evaluator: LMArena Confidence: confirmed Notes: LMArena Text arena, Creative Writing category (no style control), board published 2026-10-22 (HF lmarena-ai/leaderboard-dataset @a467e6b9, text config, latest split). Board entry 'GPT-4.1 (2025-04-14)' (category creative_writing in text/latest-00000-of-00001.parquet): rank 153 of 416, rating 1363.4 (95% CI 1355.8-1371.1), 6655 votes. Source: LMArena (CC BY 4.0). Retrieved 2026-10-27. | Source Source: LMArena (lmarena.ai), CC BY 4.0 |
Migration checks
No linked migration route is available for this model yet.