Skip to content
  • Models
  • Rankings
  • Ori
Sign Up
Sign Up
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Business
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube

Model usage data, product updates, and research reports. One email each week.

By subscribing you agree to receive the OpenRouter newsletter: model usage data, product updates, and research reports, about one email a week. Unsubscribe anytime via the link in every email. See our Privacy Policy.

Favicon for openai

OpenAI: GPT-4.1

openai/gpt-4.1

Compare

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.

Modalities

In / Out Price

$2 / $8per 1M

Context

1.0M

Released

Apr 14, 2025

Knowledge Cutoff

Jun 2024

Compare
ProvidersPricingPerformanceUptimeBenchmarksAppsActivityFAQExplore

Providers

Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick — Balanced (price + speed), Nitro (fastest), Floor (cheapest), or Exacto (highest tool-calling accuracy).

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows where this model lands among all models on OpenRouter.

Benchmark score summary for OpenAI: GPT-4.1 (Artificial Analysis and Design Arena)
SourceBenchmarkScore
Artificial AnalysisGPT-4.1 GPQA Diamond66.6%
Artificial AnalysisGPT-4.1 HLE4.2%
Artificial AnalysisGPT-4.1 IFBench43.0%
Artificial AnalysisGPT-4.1 τ²-Bench Telecom47.1%
Artificial AnalysisGPT-4.1 AA-LCR68.3%
Artificial AnalysisGPT-4.1 CritPt0.0%
Artificial AnalysisGPT-4.1 Terminal-Bench Hard13.6%
Artificial AnalysisGPT-4.1 AA-Omniscience Accuracy27.8%
Artificial AnalysisGPT-4.1 AA-Omniscience Non-Hallucination Rate6.7%
Design ArenaGPT-4.1 Models Arena 3D Elo878
Design ArenaGPT-4.1 Models Arena Code Categories Elo1040
Design ArenaGPT-4.1 Models Arena Data Visualization Elo1117
Design ArenaGPT-4.1 Models Arena Game Development Elo1103
Design ArenaGPT-4.1 Models Arena UI Component Elo1015
Design ArenaGPT-4.1 Models Arena Website Elo1051

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

Activity

Token volume and request traffic to this model over time.

Quick Start

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

Explore more models

AI Models with Vision: Multimodal LLMs for Image UnderstandingCollectionAI Model RankingsRanking
$2.00$8.00$0.501.64s27 tps
99.98%
$2.00$8.00$0.501.18s54 tps
99.98%
Not used in Standard routing:Why these endpoints are not used
$2.20$8.80$0.551.87s61 tps
100.00%

Throughput

61tok/s

P50, best across providers

Latency

1.18s

P50, best provider

AutoExacto Benchmarks
GPQA DiamondTAU-BenchAzure62.6%55.3%Azure (EU)65.0%52.9%OpenAI67.8%50.0%auto-routing63.3%49.3%FakeProvider0.0%46.0%
Uptime (3d)The model was reachable. Request routed to a provider.

100.00%

Availability (3d)The model returned inference from any provider. Errors and empty responses count against it.

99.98%

Availability over the last 3 days

Last 72 hours
Availability 99.98%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.96%
Without Routing
99.59%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and customization options.

1.
Favicon for https://mall-cus-service.azazie.com/
mall-cus-service
new
35.7Btokens
2.
Favicon for https://nelo.co/
Nelo CX Support AI
new
19.3Btokens
3.
Favicon for https://infiniteworlds.app/
Infinite Worlds
Build your own adventures, share them with friends
2.9Btokens
4.
Favicon for https://app.playerdata.co.uk/
PlayerData Api
new
2.44Btokens
5.
Favicon for https://docs.langchain.com/
LangChain
new
2.23Btokens

Frequently asked questions

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.

GPT-4.1 costs $2.00/M input tokens and $8.00/M output tokens, with separate rates for Cache Read at $0.50/M tokens.

GPT-4.1 has a 1,047,576 token context window.

Yes. GPT-4.1 accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.

GPT-4.1 accepts images, text, and files such as PDFs as input and returns text.

GPT-4.1 is served by 2 providers on OpenRouter: Azure and OpenAI. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.

GPT-4.1 was released on April 14, 2025. Its knowledge cutoff is June 30, 2024.

More models from OpenAI

GPT Astra Latest

This model always redirects to the latest model in the GPT Astra family.

Text1.1M context
GPT Sol Latest

This model always redirects to the latest model in the GPT Sol family.

Text1.1M context
GPT Terra Latest

This model always redirects to the latest model in the GPT Terra family.

Text1.1M context
GPT Luna Latest

This model always redirects to the latest model in the GPT Luna family.

Text1.1M context
GPT Image 2.5 Sunburst

GPT Image 2.5 Sunburst is an image generation and editing model from OpenAI, positioned as the precision-oriented tier of the GPT Image 2.5 series. It is suited to detailed creative work where editing accuracy matters more than generation speed, via the dedicated Images API.

Image$8 / $30
GPT Image 2.5 Flare

GPT Image 2.5 Flare is an image generation and editing model from OpenAI, positioned as the speed-oriented tier of the GPT Image 2.5 series. It is suited to high-volume everyday generation, creator content, and rapid prototyping via the dedicated Images API.

Image$8 / $30
GPT-6 Astra

GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon agentic tasks that involve computer and browser use.

Text1.1M context$10 / $50
GPT-6 Astra

GPT-6 Astra is OpenAI's flagship model for demanding end-to-end work. It is suited for advanced analysis, software engineering, deep research, scientific work, and document creation, with particular strengths in long-horizon agentic tasks that involve computer and browser use.

Text1.1M context$5 / $25
GPT-6 Astra Pro

GPT-6 Astra Pro is the same underlying model as GPT-6 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks.

Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Text1.1M context$10 / $50
GPT-6 Astra Pro

GPT-6 Astra Pro is the same underlying model as GPT-6 Astra, served with reasoning.mode set to pro for higher-quality responses on complex tasks.

Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Text1.1M context$5 / $25
GPT Transcribe

GPT Transcribe is a high-accuracy speech-to-text model from OpenAI. It is suited for recorded audio, streamed file transcription, and committed Realtime turns, with free-form context, keyword hints, and multiple language hints for specialized terms and multilingual speech.

Transcription$0.0045/minute
GPT-5.6 Luna Pro

GPT-5.6 Luna Pro is the same underlying model as GPT-5.6 Luna, served with reasoning.mode set to pro for higher-quality responses on complex tasks.

Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Text1.1M context$0.20 / $1.20
GPT-5.6 Luna Pro

GPT-5.6 Luna Pro is the same underlying model as GPT-5.6 Luna, served with reasoning.mode set to pro for higher-quality responses on complex tasks.

Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Text1.1M context$0.10 / $0.60
GPT-5.6 Luna

GPT-5.6 Luna is a fast, cost-efficient model in OpenAI's GPT-5.6 series. It is suited for high-volume, latency-sensitive tasks such as chat, classification, and lightweight agentic workflows, providing capable reasoning for its price tier.

Text1.1M context$0.20 / $1.20
GPT-5.6 Luna

GPT-5.6 Luna is a fast, cost-efficient model in OpenAI's GPT-5.6 series. It is suited for high-volume, latency-sensitive tasks such as chat, classification, and lightweight agentic workflows, providing capable reasoning for its price tier.

Text1.1M context$0.10 / $0.60
GPT-5.6 Terra Pro

GPT-5.6 Terra Pro is the same underlying model as GPT-5.6 Terra, served with reasoning.mode set to pro for higher-quality responses on complex tasks.

Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Text1.1M context$2 / $12
GPT-5.6 Terra Pro

GPT-5.6 Terra Pro is the same underlying model as GPT-5.6 Terra, served with reasoning.mode set to pro for higher-quality responses on complex tasks.

Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Text1.1M context$1 / $6
GPT-5.6 Terra

GPT-5.6 Terra is a balanced model in OpenAI's GPT-5.6 series, positioned between the flagship Sol tier and the cost-efficient Luna tier. It is suited for everyday coding, reasoning, and agentic tasks where capability and cost need to be balanced, offering strong performance at roughly half the cost of Sol.

Text1.1M context$2 / $12
GPT-5.6 Terra

GPT-5.6 Terra is a balanced model in OpenAI's GPT-5.6 series, positioned between the flagship Sol tier and the cost-efficient Luna tier. It is suited for everyday coding, reasoning, and agentic tasks where capability and cost need to be balanced, offering strong performance at roughly half the cost of Sol.

Text1.1M context$1 / $6
GPT-5.6 Sol Pro

GPT-5.6 Sol Pro is the same underlying model as GPT-5.6 Sol, served with reasoning.mode set to pro for higher-quality responses on complex tasks.

Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

Text1.1M context$2 / $10