Back to Models
OpenAI: GPT-4.1
openai/gpt-4.1Apr 14, 20251.0M context32.8K max output$2.00/M in · $8.00/M out
Description
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
Provider
openai
Context Length
1.0M
Max Output
32.8K
Modality
Inimagetextfile
Outtext
Pricing
| Type | Price / 1M tokens |
|---|---|
| Input | $2.00 |
| Output | $8.00 |
| Cache Read | $0.50 |
| Web Search | $0.01 / call |
Quick Start
curl https://api.ominigate.ai/v1/chat/completions \
-H "Authorization: Bearer sk-omg-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-4.1",
"messages": [{"role": "user", "content": "Hello!"}]
}'