OpenAI Releases GPT-4.1 With Improved Coding

OpenAI has released its GPT-4.1 model, the successor to its flagship GPT-4o, which it said improves upon the earlier model in “just about every dimension” including better coding and instruction-following.

The model and two smaller versions, GPT-4.1 Mini and GPT-4.1 Nano, can all process up to one million tokens of context, referring to the text, images or videos included in a prompt, far more than the 128,000 token limit for GPT-4o.

The company said the model is able to attend to information across the full 1-million-token context limit, and is more reliable than GPT-4o at noticing relevant text and ignoring distractors across both long and short context lengths.

Image credit: Unsplash

Improved abilities

The new model also operates while consuming 26 percent less computing power than GPT-4o, a consideration that came to prominence after the success of DeepSeek’s high-performance and ultra-efficient model in January.

The three new models, which are available to developers via OpenAI’s application programming interface (API), also include refreshed background information up to June 2024.

GPT-4.1 showed a 21 percent improvement in coding abilities over GPT-4o and 27 percent over GPT-4.5, OpenAI said.

It said improved instruction-following and long context comprehension make the model family more effective for the AI agents it has begun launching.

Chief executive Sam Altman said “developers seem very happy” with the model’s coding abilities.

The company said it would turn off the GPT-4.5 preview available via the API in July, as the new model offers “improved or similar performance on many key capabilities at much lower cost and latency”.

Shift to GPT-5

The GPT-4.5 preview, announced earlier this year, incorporated a process called post-training in which it incorporated human feedback to improve responses and refine the nuances of how it interacts with users.

With GPT-5, expected later this year, OpenAI has said it plans to take a different approach by combining its GPT-series models with its o-series “reasoning” models, with the ChatGPT chatbot itself deciding which model to use.

ChatGPT itself currently offers users a choice of the model they would like to use, something OpenAI said was overly complex.

OpenAI is in the process of shifting from a non-profit to a for-profit model, a requirement for it to receive some of its funding from investors, but is being sued by co-founder and competitor Elon Musk over the move.

Matthew Broersma

Matt Broersma is a long standing tech freelance, who has worked for Ziff-Davis, ZDnet and other leading publications

Recent Posts

Meta ‘Unlikely’ To Make Further Changes For EU

Facebook parent Meta reportedly not planning further changes to comply with EU rules, making it…

18 hours ago

France Opens Formal Probe Into X ‘Foreign Interference’

French public prosecutor's office opens formal investigation into allegations that X algorithm favours foreign interference

19 hours ago

Tesla Plans Robotaxi Launches In California, Arizona

Tesla pushing ahead with expansion of autonomous taxi service, California offering will initially only roll…

20 hours ago

Huawei Launches Pura 80 Smartphone Range In Dubai

Huawei holds international launch for Pura 80 smartphones as it seeks renewed expansion for once-massive…

20 hours ago

Huang Sells Stock As Nvidia Value Hits $4tn

Nvidia becomes first company ever to reach $4tn market valuation, helping give Huang net worth…

21 hours ago

Police Arrest Four Linked To M&S, Co-op Attacks

Police arrest three males and one woman in connection with cyber-attacks earlier this year that…

21 hours ago