Favicon for openai

OpenAI: GPT-4.1 (batch)

openai/gpt-4.1:batch

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
$1 / $4per 1M
Context
1.0M
Released
Apr 14, 2025
Knowledge cutoff
Jun 2024

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

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

Input
$0/M tokens
Output
$0/M tokens
Price history
No effective price data for this selection

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.

Benchmark score summary for OpenAI: GPT-4.1 (batch) (Artificial Analysis, Design Arena and Vals AI)
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 LiveCodeBench45.7%
Artificial AnalysisGPT-4.1 Terminal-Bench Hard13.6%
Artificial AnalysisGPT-4.1 MMLU-Pro80.6%
Artificial AnalysisGPT-4.1 AIME 202534.7%
Artificial AnalysisGPT-4.1 AIME43.7%
Artificial AnalysisGPT-4.1 MATH-50091.3%
Design ArenaGPT-4.1 Models Arena 3D Elo830
Design ArenaGPT-4.1 Models Arena Code Categories Elo1015
Design ArenaGPT-4.1 Models Arena Data Visualization Elo1104
Design ArenaGPT-4.1 Models Arena Game Development Elo1069
Design ArenaGPT-4.1 Models Arena UI Component Elo990
Design ArenaGPT-4.1 Models Arena Website Elo1030
Vals AIGPT 4.1 AIME39.6%
Vals AIGPT 4.1 CaseLaw v269.9%
Vals AIGPT 4.1 CorpFin v263.1%
Vals AIGPT 4.1 Finance Agent v124.6%
Vals AIGPT 4.1 GPQA Diamond65.4%
Vals AIGPT 4.1 LiveCodeBench54.7%
Vals AIGPT 4.1 LegalBench83.1%
Vals AIGPT 4.1 MATH 50087.2%
Vals AIGPT 4.1 MedQA91.2%
Vals AIGPT 4.1 MGSM87.7%
Vals AIGPT 4.1 MMLU Pro80.5%
Vals AIGPT 4.1 MMMU Pro72.4%
Vals AIGPT 4.1 MortgageTax65.9%
Vals AIGPT 4.1 TaxEval v275.1%
Vals AIGPT 4.1 Terminal-Bench 2.014.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