OpenAI Introduces GPT-4.1 Models Focused on Coding
OpenAI has launched the GPT-4.1 family of models, designed to excel in coding and instruction following, with a 1-million-token context window.
15 Apr 2025
OpenAI has launched a new family of models called GPT-4.1, which includes GPT-4.1, GPT-4.1 mini, and GPT-4.1 nano. These models are designed to excel in coding and instruction following, featuring a 1-million-token context window that allows them to process approximately 750,000 words at once. The models are available through OpenAI's API but not on ChatGPT.
Daily AI Brief covers stories like this, six days a week. Free.
The GPT-4.1 models are optimized for real-world software engineering tasks, focusing on areas such as frontend coding, reliable format adherence, and consistent tool usage. OpenAI claims that the full GPT-4.1 model outperforms its predecessors on coding benchmarks like SWE-bench, although it slightly trails behind competitors like Google's Gemini 2.5 Pro and Anthropic's Claude 3.7 Sonnet.
Pricing for the models varies, with GPT-4.1 costing $2 per million input tokens and $8 per million output tokens. The mini and nano versions are more cost-effective, with GPT-4.1 nano being the fastest and cheapest model. Despite its capabilities, OpenAI acknowledges that GPT-4.1's reliability decreases with larger input sizes and that it may require more explicit prompts compared to previous models.
In this story
Industry analysis
2025 Global Business Services Agenda: Gen AI Takes Center Stage
This industry analysis by The Hackett Group explores the transformative impact of generative artificial intelligence (Gen AI) on global business services (GBS) in 2025. The study highlights the shift from exploration to acceleration of Gen AI initiatives, with 89% of executives advancing these projects to improve customer satisfaction, innovate products, and reduce costs. The report also discusses the challenges and strategies for successful Gen AI adoption, emphasizing the need for a technology-enabled operating model and the importance of reskilling the workforce.
Read moreYou may also like
OpenAI releases GPT-6.2 Astra and Sol, cutting Astra's API prices by 20% 17 Nov 2026 Microsoft releases seven MAI models at Ignite, led by MAI Code 2, and opens licensed weights 17 Nov 2026 Gemini 4 Carbon tops MathArena's maths ranking, ahead of Claude Fable 5.2 and GPT-6.1 Sol 14 Nov 2026 Airbnb's internal coding benchmarks find no single AI lab leads, with GPT-6.2 Astra ahead overall 2 Dec 2026 0G Labs releases 0GM-2.0, a 35B model that can draw on 120 million tokens of memory 3 Dec 2026 Google releases Gemini 4 Neon, ranking first on a coding agent index at $3 per million input tokens 18 Nov 2026Daily AI Brief: the AI news that matters, in your inbox.