OpenAI unveils GPT-4.1 series with major enhancements in coding, instruction following, and context understanding
The company will deprecate GPT-4.5 Preview in July.
OpenAI has officially released its next-generation model lineupāGPT-4.1, along with GPT-4.1 mini and GPT-4.1 nanoāfeaturing major improvements in coding, instruction following, and context understanding.
The rollout follows a statement earlier this month from OpenAI CEO Sam Altman revealing the company’s plans to release the o3 and o4-mini models āin a couple of weeks.ā
Shortly after his remarks, The Verge reported that OpenAI was preparing to launch its new AI models imminently. The effort is part of the companyās broader strategy to enhance its current offerings ahead of the anticipated GPT-5 release in 2025.
According to OpenAI, the new GPT-4.1 models outperform previous versions across key benchmarks. The flagship model, GPT-4.1, scores 54.6% on SWE-bench Verified for coding tasksāa 21.4 percentage point improvement over GPT-4o.
On instruction following, GPT-4.1 also shows major gains. It outperforms GPT-4o by 10.5 points on the MultiChallenge benchmark, and demonstrates better comprehension of complex, multi-step instructions, even when prompts include formatting, tone, or sequencing constraints.
AI, tech, and the markets they move—in one daily briefing.
Daily. Free. Join 34,000+ readers across crypto, finance, and policy.
When it comes to context handling, all three models can handle up to 1 million tokens, up from 128,000 in the previous generation. OpenAI says the models perform reliably across the full context window, retrieving and processing the relevant information with greater consistency.
āWe trained these models with a focus on real-world utility,ā the company stated in its announcement. āClose collaboration and partnership with the developer community enabled us to optimize these models for the tasks that matter most to their applications.ā
Along with performance gains, the new models come with reduced pricing. GPTā4.1 is 26% less expensive than GPTā4o for median queries, and GPTā4.1 nano is OpenAIās fastest and most affordable model to date, according to the company.
The new models are now available to developers via OpenAIās API. With GPTā4.1 delivering better performance at lower cost, OpenAI announced it will stop supporting the GPTā4.5 Preview on July 14.