GPT-4.1

Released
2025-04-01
Last refreshed
2026-10-17
Status
Researched 28d ago
ProprietaryCommercial use: restrictedMultimodalCodingRAGAgentsLong contextVisionClassificationJSON / Tool use
OpenAI releases · 47 in the last 12 monthsChangelog →
Specifications
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
Created by

Cutting-edge research and development.

San Francisco, California, United States
Founded 2015
Website
Pricing
Output / 1M
$8.00
Input / 1M
$2.00

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 4

Compare API pricing across 4 tracked provider routes for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MBatch in / outCacheRoute
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

Gateway

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

Free OSSOpenAI APIAzure OpenAI

OpenRouter

Hybrid

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

Passthrough + feeOpenAI API

Portkey

Gateway

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

SubscriptionOpenAI APIAzure OpenAI

AIRouter

Router

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

SubscriptionOpenAI API

Azure AI Foundry Model Router

Router

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

Passthrough + feeAzure OpenAI

Helicone

Gateway

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

SubscriptionOpenAI APIAzure OpenAI

Capabilities

VisionMultimodalJSON / Tool useStructured OutputsCode ExecutionPrompt CachingBatch API

Benchmark peer barsfor Coding

Benchmark scores(7)

Scores are benchmark-specific and are direction-aware: the same numeric gap can mean very different outcomes across suites. Use the leaderboard context and this model's provider route to decide whether the winning margin is meaningful for your workload.
BenchmarkScoreVersionEvaluationSource
92.92025-04Observed 2026-04-09—
54.62025-04Observed 2026-04-09—
52.42026-04Observed 2026-04-14—
54.0v4Observed 2026-04-14—
81.8—Observed 2026-04-14—
1214.0vision_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.0text 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.

Compare GPT-4.1 with other models