OpenAI: GPT-4.1

openai/gpt-4.1

Created Apr 14, 20251,047,576 context
Starting at $2/M input tokensStarting at $8/M output tokens

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 for GPT-4.1

OpenRouter routes requests to the best providers that are able to handle your prompt size and parameters, with fallbacks to maximize uptime.

Context
1.05M
Max Output
33K
Input
$2
to $-∞
Output
$8
to $-∞

Throughput

Latency

More models from OpenAI

    OpenAI: GPT-4.1 – Provider Status | OpenRouter