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
101–120 / 257
1,194.957
- source id
- lmarena
- leaderboard name
- LMArena Vision Humor
- dimension
- multimodal
- metric
- Arena rating
- rank
- 84
- sample size
- 1363
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1173.887778635351
- confidence upper
- 1216.0265527548927
Original result ↗1,213.669
- source id
- lmarena
- leaderboard name
- LMArena Vision Style Control Overall
- dimension
- multimodal
- metric
- Arena rating
- rank
- 85
- sample size
- 40946
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1206.9647880746695
- confidence upper
- 1220.3741198388727
Original result ↗1,181.548
- source id
- lmarena
- leaderboard name
- LMArena Vision Style Control Humor
- dimension
- multimodal
- metric
- Arena rating
- rank
- 86
- sample size
- 1363
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1160.3188848162706
- confidence upper
- 1202.7767728023107
Original result ↗1,217.983
- source id
- lmarena
- leaderboard name
- LMArena Vision Ocr
- dimension
- multimodal
- metric
- Arena rating
- rank
- 88
- sample size
- 11330
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1209.0163928253169
- confidence upper
- 1226.9486499144828
Original result ↗1,231.427
- source id
- lmarena
- leaderboard name
- LMArena Vision Style Control Diagram
- dimension
- multimodal
- metric
- Arena rating
- rank
- 89
- sample size
- 2748
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1218.238963474823
- confidence upper
- 1244.6144554342832
Original result ↗1,214.361
- source id
- lmarena
- leaderboard name
- LMArena Vision Diagram
- dimension
- multimodal
- metric
- Arena rating
- rank
- 90
- sample size
- 2748
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1201.241598443681
- confidence upper
- 1227.480743080102
Original result ↗1,210.197
- source id
- lmarena
- leaderboard name
- LMArena Vision Overall
- dimension
- multimodal
- metric
- Arena rating
- rank
- 90
- sample size
- 40946
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1203.5172175975356
- confidence upper
- 1216.8766109236153
Original result ↗1,225.999
- source id
- lmarena
- leaderboard name
- LMArena Vision Chinese
- dimension
- multimodal
- metric
- Arena rating
- rank
- 91
- sample size
- 1974
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1209.1421698419401
- confidence upper
- 1242.8554753647181
Original result ↗1,206.88
- source id
- lmarena
- leaderboard name
- LMArena Vision Style Control English
- dimension
- multimodal
- metric
- Arena rating
- rank
- 92
- sample size
- 18992
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1197.7692672219437
- confidence upper
- 1215.9904694209679
Original result ↗1,208.842
- source id
- lmarena
- leaderboard name
- LMArena Vision English
- dimension
- multimodal
- metric
- Arena rating
- rank
- 94
- sample size
- 18992
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1199.7802267871548
- confidence upper
- 1217.903127683107
Original result ↗1,427.544
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Polish
- dimension
- style
- metric
- Arena rating
- rank
- 104
- sample size
- 3050
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1415.848614458689
- confidence upper
- 1439.2403708459142
Original result ↗1,402.916
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Creative Writing
- dimension
- style
- metric
- Arena rating
- rank
- 107
- sample size
- 6639
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1395.2232820068634
- confidence upper
- 1410.609080579845
Original result ↗47.667%
- source id
- openRouterBenchmarks
- leaderboard name
- tau2-bench Verified Airline · Accuracy · auto-routing
- dimension
- agentic
- metric
- tau2-bench Verified Airline · Accuracy
- rank
- 107
- sample size
- 100
- aggregation scope
- status
- published
- harness
- url
- https://github.com/OpenRouterTeam/benchmark-harness
- name
- OpenRouter benchmark harness
- direction
- higherIsBetter
- run_count
- 2
- conditions
- window
- newest 90 days; successful visible nonzero runs
- dataset
- benchmark-leaderboard
- benchmark
- id
- tau_bench_verified_airline
- name
- tau2-bench Verified Airline
- record_kind
- aggregate
- provider_name
- auto-routing
- attribution
- Source: OpenRouter (openrouter.ai), licensed under CC BY 4.0: reuse and republish with attribution to OpenRouter.
- last_run_at
- 2026-10-01T19:04:26.703Z
- license_url
- https://creativecommons.org/licenses/by/4.0/
- methodology
- Rows aggregate the benchmark-runs dataset exactly as the leaderboard pages do, over each benchmark's non-zero-score runs from the newest 90 days: accuracy is the task-weighted mean of per-run accuracy, accuracy_std_dev is the population standard deviation of per-run accuracy (null with a single run), and the per-task averages divide summed cost, generation time, and output tokens by summed tasks. Rows are ordered by accuracy descending, then model name.
- metric_kind
- tau2-bench Verified Airline · Accuracy
- rank_method
- competition rank among reported evaluations in identical conditions, including unlinked observations
- sample_size
- 100
- source_file
- benchmark-leaderboard.json
- source_page
- https://openrouter.ai/benchmarks/tau2-bench-airline
- measurements
- accuracy
- 0.47666650000000005
- accuracy_std_dev
- 0.0166665
- cost_per_task_usd
- 0.12559784000000002
- output_tokens_per_task
- 2668.55
- latency_seconds_per_task
- 52.92896
- published_at
- 2026-11-16T01:46:02.653Z
- snapshot_date
- 2026-11-16
- source_revision
- 7ccaf17664252a3053dcb7df8ad0a46e72954a3b4524ddc1c8a7ef8a41b15568
- transformations
- TensorTrace preserves source results, converts latency to seconds and derives ranks within matching conditions. Individual runs have no derived rank.
- metric_population
- 128
- benchmark_evaluation
- true
- openrouter_permaslug
- openai/gpt-4.1-2025-04-14
- source model id
- openai/gpt-4.1-2025-04-14
Original result ↗1,400.9
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Industry Entertainment And Sports And Media
- dimension
- style
- metric
- Arena rating
- rank
- 111
- sample size
- 8998
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1394.1763410596643
- confidence upper
- 1407.624456112819
Original result ↗63.721%
- source id
- openRouterBenchmarks
- leaderboard name
- GPQA Diamond · Accuracy · auto-routing
- dimension
- knowledge
- metric
- GPQA Diamond · Accuracy
- rank
- 112
- sample size
- 396
- aggregation scope
- status
- published
- harness
- url
- https://github.com/OpenRouterTeam/benchmark-harness
- name
- OpenRouter benchmark harness
- direction
- higherIsBetter
- run_count
- 2
- conditions
- window
- newest 90 days; successful visible nonzero runs
- dataset
- benchmark-leaderboard
- benchmark
- id
- gpqa_diamond
- name
- GPQA Diamond
- record_kind
- aggregate
- provider_name
- auto-routing
- attribution
- Source: OpenRouter (openrouter.ai), licensed under CC BY 4.0: reuse and republish with attribution to OpenRouter.
- last_run_at
- 2026-10-01T19:12:45.033Z
- license_url
- https://creativecommons.org/licenses/by/4.0/
- methodology
- Rows aggregate the benchmark-runs dataset exactly as the leaderboard pages do, over each benchmark's non-zero-score runs from the newest 90 days: accuracy is the task-weighted mean of per-run accuracy, accuracy_std_dev is the population standard deviation of per-run accuracy (null with a single run), and the per-task averages divide summed cost, generation time, and output tokens by summed tasks. Rows are ordered by accuracy descending, then model name.
- metric_kind
- GPQA Diamond · Accuracy
- rank_method
- competition rank among reported evaluations in identical conditions, including unlinked observations
- sample_size
- 396
- source_file
- benchmark-leaderboard.json
- source_page
- https://openrouter.ai/benchmarks/gpqa-diamond
- measurements
- accuracy
- 0.6372055000000001
- accuracy_std_dev
- 0.004208500000000004
- cost_per_task_usd
- 0.015519383838383837
- output_tokens_per_task
- 1746.2525252525252
- latency_seconds_per_task
- 14.506310606060605
- published_at
- 2026-11-16T01:46:02.653Z
- snapshot_date
- 2026-11-16
- source_revision
- 7ccaf17664252a3053dcb7df8ad0a46e72954a3b4524ddc1c8a7ef8a41b15568
- transformations
- TensorTrace preserves source results, converts latency to seconds and derives ranks within matching conditions. Individual runs have no derived rank.
- metric_population
- 132
- benchmark_evaluation
- true
- openrouter_permaslug
- openai/gpt-4.1-2025-04-14
- source model id
- openai/gpt-4.1-2025-04-14
Original result ↗1,437.581
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Industry Legal And Government
- dimension
- style
- metric
- Arena rating
- rank
- 119
- sample size
- 3229
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1426.9554526626362
- confidence upper
- 1448.2073356388369
Original result ↗1,405.282
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Industry Writing And Literature And Language
- dimension
- style
- metric
- Arena rating
- rank
- 121
- sample size
- 11324
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1399.0980122764147
- confidence upper
- 1411.4661778436441
Original result ↗1,370.14
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Korean
- dimension
- style
- metric
- Arena rating
- rank
- 121
- sample size
- 1056
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1351.3478219377475
- confidence upper
- 1388.9324794279191
Original result ↗1,429.921
- source id
- lmarena
- leaderboard name
- LMArena Text Style Control Multi Turn
- dimension
- style
- metric
- Arena rating
- rank
- 122
- sample size
- 8724
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1423.0292957078045
- confidence upper
- 1436.813530907776
Original result ↗1,399.71
- source id
- lmarena
- leaderboard name
- LMArena Text Factuality Industry Writing And Literature And Language
- dimension
- factuality
- metric
- Arena rating
- rank
- 127
- sample size
- 967
- evaluated at
- 2026-11-09T00:00:00.000Z
- source model id
- GPT-4.1 (2025-04-14)
- confidence lower
- 1382.270647799752
- confidence upper
- 1417.149403049112
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