by OpenAI· Released April 2025· Cutoff June 2024
GPT-4.1 is OpenAI's latest flagship language model, offering improved performance across coding, instruction following, and long-context tasks. It features a 1M token context window, making it ideal for processing large documents and codebases. GPT-4.1 replaces GPT-4 Turbo as the most capable model in the GPT-4 series.
Input cost
$2.00 per 1M tokens
Output cost
$8.00 per 1M tokens
Context window
1,000,000 tokens
Max output
32,768 tokens
Modalities
License
proprietary
Complex coding tasks, long-document analysis, and applications requiring precise instruction following with very large contexts.