OpenAI: GPT-4.1
GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and …
openai/gpt-4.1-2025-04-14
GPT-4.1 is a flagship large language model optimized for advanced instruction following, real-world software engineering, and long-context reasoning. It supports a 1 million token context window and outperforms GPT-4o and GPT-4.5 across coding (54.6% SWE-bench Verified), instruction compliance (87.4% IFEval), and multimodal understanding benchmarks. It is tuned for precise code diffs, agent reliability, and high recall in large document contexts, making it ideal for agents, IDE tooling, and enterprise knowledge retrieval.
Specifications & capabilities
- Input
- image, text, file
- Output
- text
- Context window · tokens
- 1047576
- Published model ID
- gpt-4.1-2025-04-14
- Capabilities
- fileInput, multimodal, promptCaching, reasoning, structuredOutputs, toolCalling, visionInput, webSearch
Description source ↗Evaluations
121–140 / 257
1,412.17
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Russian
- dimension
- style
- metric
- Arena rating
- rank
- 129
- sample size
- 3806
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1402.7515753928717
- confidence upper
- 1421.5890610571848
Original result ↗1,410.136
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control German
- dimension
- style
- metric
- Arena rating
- rank
- 129
- sample size
- 1283
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1393.4743728822923
- confidence upper
- 1426.7984578314572
Original result ↗1,410.173
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Spanish
- dimension
- style
- metric
- Arena rating
- rank
- 136
- sample size
- 1130
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1391.8887625293683
- confidence upper
- 1428.457477261315
Original result ↗1,426.42
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Longer Query
- dimension
- style
- metric
- Arena rating
- rank
- 137
- sample size
- 9944
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1420.0261944077713
- confidence upper
- 1432.8139617776408
Original result ↗1,414.395
- source id
- lmarena
- leaderboard name
- LMArena Text Factuality Multi Turn
- dimension
- factuality
- metric
- Arena rating
- rank
- 138
- sample size
- 721
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1393.5940040444364
- confidence upper
- 1435.195862556088
Original result ↗1,414.855
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Industry Business And Management And Financial Operations
- dimension
- style
- metric
- Arena rating
- rank
- 139
- sample size
- 8225
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1407.7969399732883
- confidence upper
- 1421.912458231053
Original result ↗1,402.063
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Non English
- dimension
- style
- metric
- Arena rating
- rank
- 140
- sample size
- 26875
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1397.4337363216418
- confidence upper
- 1406.6924134834344
Original result ↗1,388.547
- source id
- lmarena
- leaderboard name
- LMArena Text Polish
- dimension
- general
- metric
- Arena rating
- rank
- 140
- sample size
- 3050
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1376.9777591194188
- confidence upper
- 1400.1171133869611
Original result ↗39.58%
- source id
- sweBench
- leaderboard name
- SWE-bench Verified
- dimension
- coding
- metric
- Resolved tasks
- rank
- 140
- evaluated at
- 2025-07-26T00:00:00.000Z
Original result ↗1,346.804
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Japanese
- dimension
- style
- metric
- Arena rating
- rank
- 142
- sample size
- 1136
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1328.2756390443162
- confidence upper
- 1365.3317693926738
Original result ↗1,402.844
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Exclude Ties
- dimension
- style
- metric
- Arena rating
- rank
- 143
- sample size
- 35642
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1397.739291935828
- confidence upper
- 1407.9490045754242
Original result ↗1,432.345
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Industry Medicine And Healthcare
- dimension
- style
- metric
- Arena rating
- rank
- 144
- sample size
- 2766
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1420.5910455950225
- confidence upper
- 1444.0980431076619
Original result ↗1,403.117
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Instruction Following
- dimension
- style
- metric
- Arena rating
- rank
- 145
- sample size
- 13282
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1397.3578996556325
- confidence upper
- 1408.876363030471
Original result ↗1,414.614
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Overall
- dimension
- style
- metric
- Arena rating
- rank
- 147
- sample size
- 50235
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1410.8960883590792
- confidence upper
- 1418.3311707606986
Original result ↗1,419.453
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control French
- dimension
- style
- metric
- Arena rating
- rank
- 149
- sample size
- 740
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1397.1811465158803
- confidence upper
- 1441.7256623972924
Original result ↗1,381.029
- source id
- lmarena
- leaderboard name
- LMArena Text German
- dimension
- general
- metric
- Arena rating
- rank
- 149
- sample size
- 1283
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1364.4174772118374
- confidence upper
- 1397.639919809117
Original result ↗1,339.547
- source id
- lmarena
- leaderboard name
- LMArena Text Korean
- dimension
- general
- metric
- Arena rating
- rank
- 149
- sample size
- 1056
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1320.737645389648
- confidence upper
- 1358.3571925642648
Original result ↗1,438.464
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Hard Prompts English
- dimension
- style
- metric
- Arena rating
- rank
- 150
- sample size
- 10431
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1432.1246077579488
- confidence upper
- 1444.8036212285099
Original result ↗1,386.243
- source id
- lmarena
- leaderboard name
- LMArena Text Factuality Industry Business And Management And Financial Operations
- dimension
- factuality
- metric
- Arena rating
- rank
- 150
- sample size
- 833
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1365.8292603391174
- confidence upper
- 1406.6568014479806
Original result ↗1,432.415
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Hard Prompts
- dimension
- style
- metric
- Arena rating
- rank
- 151
- sample size
- 21996
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1427.5121874210638
- confidence upper
- 1437.317200578679
Original result ↗Published prices
1–20 / 36
$0.40
- Inference provider
- cheaperInference
- Platform
- Cheaper Inference
- Unit
- cache_read_tokens_per_million
- Currency
- USD
- Billing conditions
- zdr
- false
- protocol
- chat_completions
- service_tier
- standard
- Billing label
- Cached input tokens (per 1M)
$0.00
- Inference provider
- cheaperInference
- Platform
- Cheaper Inference
- Unit
- cache_write_tokens_per_million
- Currency
- USD
- Billing conditions
- zdr
- false
- protocol
- chat_completions
- service_tier
- standard
- Billing label
- Cache write, 5 minutes (per 1M)
$1.61
- Inference provider
- cheaperInference
- Platform
- Cheaper Inference
- Unit
- input_tokens_per_million
- Currency
- USD
- Billing conditions
- zdr
- false
- protocol
- chat_completions
- service_tier
- standard
- Billing label
- Input tokens (per 1M)
$6.46
- Inference provider
- cheaperInference
- Platform
- Cheaper Inference
- Unit
- output_tokens_per_million
- Currency
- USD
- Billing conditions
- zdr
- false
- protocol
- chat_completions
- service_tier
- standard
- Billing label
- Output tokens (per 1M)
$0.50
- Inference provider
- cloudflareWorkersAI
- Platform
- OpenAI
- Unit
- cache_read_tokens_per_million
- Currency
- USD
- Billing label
- Cached input tokens (per 1M)
- Pricing via
- Cloudflare AI Gateway
$2.00
- Inference provider
- cloudflareWorkersAI
- Platform
- OpenAI
- Unit
- input_tokens_per_million
- Currency
- USD
- Billing label
- Input tokens (per 1M)
- Pricing via
- Cloudflare AI Gateway
$8.00
- Inference provider
- cloudflareWorkersAI
- Platform
- OpenAI
- Unit
- output_tokens_per_million
- Currency
- USD
- Billing label
- Output tokens (per 1M)
- Pricing via
- Cloudflare AI Gateway
$0.50
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- cache_read_tokens_per_million
- Currency
- USD
$2.00
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- input_tokens_per_million
- Currency
- USD
$8.00
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- output_tokens_per_million
- Currency
- USD
$0.01
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- web_search
- Currency
- USD
$0.25
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- cache_read_tokens_per_million
- Currency
- USD
- Billing conditions
- mode
- batch
$1.00
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- input_tokens_per_million
- Currency
- USD
- Billing conditions
- mode
- batch
$4.00
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- output_tokens_per_million
- Currency
- USD
- Billing conditions
- mode
- batch
$0.01
- Inference provider
- openRouter
- Platform
- OpenRouter
- Unit
- web_search
- Currency
- USD
- Billing conditions
- mode
- batch
$0.50
- Inference provider
- vercelAIGatewayCatalog
- Platform
- azure
- Unit
- cache_read_tokens_per_million
- Currency
- USD
- Billing conditions
- endpoint
- azure | openai/gpt-4.1
- model_type
- language
- billing_scope
- via Vercel AI Gateway
- Billing label
- Cached input / 1M
- Pricing via
- Vercel AI Gateway
$2.00
- Inference provider
- vercelAIGatewayCatalog
- Platform
- azure
- Unit
- input_tokens_per_million
- Currency
- USD
- Billing conditions
- endpoint
- azure | openai/gpt-4.1
- model_type
- language
- billing_scope
- via Vercel AI Gateway
- Billing label
- Input tokens / 1M
- Pricing via
- Vercel AI Gateway
$8.00
- Inference provider
- vercelAIGatewayCatalog
- Platform
- azure
- Unit
- output_tokens_per_million
- Currency
- USD
- Billing conditions
- endpoint
- azure | openai/gpt-4.1
- model_type
- language
- billing_scope
- via Vercel AI Gateway
- Billing label
- Output tokens / 1M
- Pricing via
- Vercel AI Gateway
$0.01
- Inference provider
- vercelAIGatewayCatalog
- Platform
- azure
- Unit
- request
- Currency
- USD
- Billing conditions
- charge
- web_search
- endpoint
- azure | openai/gpt-4.1
- model_type
- language
- billing_scope
- via Vercel AI Gateway
- Billing label
- Web search
- Pricing via
- Vercel AI Gateway
$0.50
- Inference provider
- vercelAIGatewayCatalog
- Platform
- openai
- Unit
- cache_read_tokens_per_million
- Currency
- USD
- Billing conditions
- endpoint
- openai | openai/gpt-4.1
- model_type
- language
- billing_scope
- via Vercel AI Gateway
- Billing label
- Cached input / 1M
- Pricing via
- Vercel AI Gateway
Provider specifications & access
1–4 / 4
- source model id
- azure-openai/gpt-4.1@2025-04-14
- hosting
- foundry-managed-compute
- license
- custom
- context length
- 1048576
- max output tokens
- 32768
- source model id
- gpt-4.1
- hosting
- gateway
- context length
- 1047576
- max output tokens
- 32768
- capabilities
- reasoning
- structuredOutputs
- toolCalling
- visionInput
- webSearch
- source model id
- openai/gpt-4.1
- hosting
- third-party
- context length
- 1047576
- max output tokens
- 32768
- source model id
- openai/gpt-4.1
- hosting
- vercel-gateway
- context length
- 1047576
- max output tokens
- 32768
- capabilities
- promptCaching
- structuredOutputs
- toolCalling
- visionInput
- webSearch
Safety assessments
1–1 / 1
35 / 100
- source id
- stanfordFMTI
- canonical model id
- openai/gpt-4.1-2025-04-14
- taxonomy
- transparency
- hazard category
- transparency
- hazard name
- Organization transparency
- policy area
- OpenAI
- assessment type
- organization-level disclosure
- metric
- disclosure_score
- result label
- 35 / 100
- sample size
- 100
- updated at
- 2026-11-09T18:08:05.227Z
Source specification observations
1–14 / 14
- field
- context_length
- value
- 1048576
- normalized value
- 1048576
- scope
- source-model
- source id
- azureFoundry
- confidence
- 1
- field
- context_length
- value
- 1047576
- normalized value
- 1047576
- scope
- source-model
- source id
- cloudflareWorkersAI
- confidence
- 1
- field
- context_length
- value
- 1047576
- normalized value
- 1047576
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- context_length
- value
- 1047576
- normalized value
- 1047576
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- context_length
- value
- 1047576
- normalized value
- 1047576
- scope
- source-model
- source id
- vercelAIGatewayCatalog
- confidence
- 1
- field
- knowledge_cutoff
- reported field
- knowledge_cutoff
- value
- 2024-06-30
- normalized value
- 2024-06-30
- precision
- day
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- knowledge_cutoff
- reported field
- knowledge_cutoff
- value
- 2024-06-30
- normalized value
- 2024-06-30
- precision
- day
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- knowledge_cutoff
- reported field
- knowledge_cutoff
- value
- 2024-06-01
- normalized value
- 2024-06-01
- precision
- day
- scope
- source-model
- source id
- vercelAIGatewayCatalog
- confidence
- 1
- field
- max_output_tokens
- value
- 32768
- normalized value
- 32768
- scope
- source-model
- source id
- azureFoundry
- confidence
- 1
- field
- max_output_tokens
- value
- 32768
- normalized value
- 32768
- scope
- source-model
- source id
- cloudflareWorkersAI
- confidence
- 1
- field
- max_output_tokens
- value
- 32768
- normalized value
- 32768
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- max_output_tokens
- value
- 32768
- normalized value
- 32768
- scope
- source-model
- source id
- openRouter
- confidence
- 1
- field
- max_output_tokens
- value
- 32768
- normalized value
- 32768
- scope
- source-model
- source id
- vercelAIGatewayCatalog
- confidence
- 1
- field
- knowledge_cutoff
- reported field
- training_data_cutoff
- value
- May 2024
- normalized value
- 2024-05
- precision
- month
- scope
- source-model
- source id
- azureFoundry
- confidence
- 1
Explore more models