Models·OpenAI

GPT-4.1

openai/gpt-4.1

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

$2Input, per million tokens
$8Output, per million tokens
1.05MContext window
33KLongest answer

1.05M tokens of context — about 785,682 words, on a scale that ends at 2M.

What it can do

  • Vision
  • Tool use
  • Takes image
  • Takes text
  • Takes file
  • Gives text

Released 14 Apr 2025 · checked 3 Oct 2026.

On these boards

More from OpenAI