All Models

GPT-4.1

gpt Tool Calling Attachments Structured Output

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 16
Released Apr 14, 2025
Input Modalities text, image, pdf
Output Modalities text
Tarsk Use coding

Available Providers (16)

Provider Model ID Input Cost Output Cost Context Max Output Docs
GitHub Models openai/gpt-4.1 $0.00/MTok $0.00/MTok 128K 16.4K
GitHub Copilot gpt-4.1 $0.00/MTok $0.00/MTok 128K 16.4K
Poe openai/gpt-4.1 $1.80/MTok $7.20/MTok 1.0M 32.8K
FastRouter openai/gpt-4.1 $2.00/MTok $8.00/MTok 1.0M 32.8K
Azure Cognitive Services gpt-4.1 $2.00/MTok $8.00/MTok 1.0M 32.8K
AIHubMix gpt-4.1 $2.00/MTok $8.00/MTok 1.0M 32.8K
Abacus gpt-4.1 $2.00/MTok $8.00/MTok 1.0M 32.8K
OpenRouter openai/gpt-4.1 $2.00/MTok $8.00/MTok 1.0M 32.8K
302.AI gpt-4.1 $2.00/MTok $8.00/MTok 1M 32.8K
SAP AI Core gpt-4.1 $2.00/MTok $8.00/MTok 1.0M 32.8K
Requesty openai/gpt-4.1 $2.00/MTok $8.00/MTok 1.0M 32.8K
Vercel AI Gateway openai/gpt-4.1 $2.00/MTok $8.00/MTok 1.0M 32.8K
OpenAI gpt-4.1 $2.00/MTok $8.00/MTok 1.0M 32.8K
NanoGPT openai/gpt-4.1 $2.00/MTok $8.00/MTok 1.0M 32.8K
Azure gpt-4.1 $2.00/MTok $8.00/MTok 1.0M 32.8K
Cortecs gpt-4.1 $2.35/MTok $9.42/MTok 1.0M 32.8K

Capabilities

Reasoning
Tool Calling
Attachments
Open Weights
Structured Output