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.
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), or Floor (cheapest).
BYOK only | $1.00 | $4.00 | $0.25 | -- | -- |
|---|
- Input $1.00 / Output $4.00-- tok/s-- uptimeBYOK only
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.
Weighted average
GPT-4.1 (batch) — Price history
| $0.00 | $0.00 | 0.0% | 100.0% |
- Effective in $0.00 / Effective out $0.00Token share100.0%
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.
Not enough uptime data to display yet.
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 provider routing options.
Benchmarks
Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.
| Source | Benchmark | Score |
|---|---|---|
| Artificial Analysis | GPT-4.1 GPQA Diamond | 66.6% |
| Artificial Analysis | GPT-4.1 HLE | 4.2% |
| Artificial Analysis | GPT-4.1 IFBench | 43.0% |
| Artificial Analysis | GPT-4.1 τ²-Bench Telecom | 47.1% |
| Artificial Analysis | GPT-4.1 AA-LCR | 68.3% |
| Artificial Analysis | GPT-4.1 CritPt | 0.0% |
| Artificial Analysis | GPT-4.1 LiveCodeBench | 45.7% |
| Artificial Analysis | GPT-4.1 Terminal-Bench Hard | 13.6% |
| Artificial Analysis | GPT-4.1 MMLU-Pro | 80.6% |
| Artificial Analysis | GPT-4.1 AIME 2025 | 34.7% |
| Artificial Analysis | GPT-4.1 AIME | 43.7% |
| Artificial Analysis | GPT-4.1 MATH-500 | 91.3% |
| Design Arena | GPT-4.1 Models Arena 3D Elo | 830 |
| Design Arena | GPT-4.1 Models Arena Code Categories Elo | 1015 |
| Design Arena | GPT-4.1 Models Arena Data Visualization Elo | 1104 |
| Design Arena | GPT-4.1 Models Arena Game Development Elo | 1069 |
| Design Arena | GPT-4.1 Models Arena UI Component Elo | 990 |
| Design Arena | GPT-4.1 Models Arena Website Elo | 1030 |
| Vals AI | GPT 4.1 AIME | 39.6% |
| Vals AI | GPT 4.1 CaseLaw v2 | 69.9% |
| Vals AI | GPT 4.1 CorpFin v2 | 63.1% |
| Vals AI | GPT 4.1 Finance Agent v1 | 24.6% |
| Vals AI | GPT 4.1 GPQA Diamond | 65.4% |
| Vals AI | GPT 4.1 LiveCodeBench | 54.7% |
| Vals AI | GPT 4.1 LegalBench | 83.1% |
| Vals AI | GPT 4.1 MATH 500 | 87.2% |
| Vals AI | GPT 4.1 MedQA | 91.2% |
| Vals AI | GPT 4.1 MGSM | 87.7% |
| Vals AI | GPT 4.1 MMLU Pro | 80.5% |
| Vals AI | GPT 4.1 MMMU Pro | 72.4% |
| Vals AI | GPT 4.1 MortgageTax | 65.9% |
| Vals AI | GPT 4.1 TaxEval v2 | 75.1% |
| Vals AI | GPT 4.1 Terminal-Bench 2.0 | 14.6% |
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.
Not enough data for apps using this model yet.
Activity
Token volume and request traffic to this model over time.
API
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.
Not currently available through EU in-region routing. In-region routing docs
Documentation
Guides, cookbooks, blog posts, and tools for building with OpenAI: GPT-4.1 (batch) on OpenRouter.
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.
The GPT-4.1 (batch) documentation on OpenRouter includes the Quasar Alpha and Optimus Alpha Reveal blog post. The quickstart covers API keys and your first request, and the API reference lists every parameter.
GPT-4.1 (batch) costs $1.00/M input tokens and $4.00/M output tokens, with separate rates for Cache Read at $0.25/M tokens and Web Search at $10.00/1K calls.
GPT-4.1 (batch) has a 1,047,576 token context window. It supports up to 32,768 completion tokens.
Yes. GPT-4.1 (batch) accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
GPT-4.1 (batch) accepts images, text, and files such as PDFs as input and returns text.
GPT-4.1 (batch) is served by 1 provider on OpenRouter: OpenAI.
GPT-6.1 Terra Pro, GPT-6.1 Terra, GPT-6 Luna Decisions and 58 more are other text models from OpenAI.
GPT-4.1 (batch) was released on April 14, 2025. Its knowledge cutoff is June 30, 2024.