Ankit Sharma

GPT-4.1 in the API - Announcing GPT-4.1, GPT-4.1 mini, & GPT-4.1 nano in the API

A new series of GPT models featuring major improvements on coding, instruction following, and long context—plus our first-ever nano model.

Add a comment

Replies

Best
Ankit Sharma
Hunter
📌

Hey Hunters! 🚀


I am excited to be introducing GPT-4.1 in the OpenAI API — a major upgrade that redefines what's possible for developers building with AI.

Here’s what’s new and noteworthy:


🧩 3 powerful models:

  • GPT-4.1: State-of-the-art performance across coding, long-context, and instruction following

  • GPT-4.1 mini: Matches GPT-4o in intelligence with half the latency and 83% lower cost

  • GPT-4.1 nano: Fastest, most efficient model for tasks like classification and autocompletion

🧠 Performance highlights:

  • 54.6% on SWE-bench Verified (21.4% better than GPT-4o)

  • 38.3% on MultiChallenge for complex instruction following

  • 1M token context — ideal for massive codebases or document processing

  • Better vision & image understanding

  • Enhanced tool use & code diffs for real-world dev workflows

💡 Use cases exploding:
From intelligent agents and legal document review to complex frontend builds, this release is built for real-world needs — all with lower cost, reduced latency, and smarter task handling.


🎯 Only available via the API, not ChatGPT — perfect for devs, startups, and enterprises ready to scale serious applications.


Let us know what you’re building with it — the possibilities just hit a whole new level!

Jason Yu

@sama Massive upgrade! The latency and cost reductions alone make GPT-4.1 Mini a game-changer — and 1M token context? Perfect for handling real codebases. Can’t wait to build with this! 👏🔥

Ramy Wafaa

Great update and I love how cost efficient it became! will be using this for my next project 100%

Jun Shen

Impressed by the coding accuracy improvements in this API! 👀

Anuar Yeraliyev
Instruction following was a huge improvement for us, it can now reliably output html, json better when instructed instead of defaulting to Markdown!
Piotr Kusiak

4.1 mini looks like a winner here!

Arya Zhao
Launching soon!

🎉 coding accuracy improvements is very useful!

Curious about what does the Better vision & image understanding mean? When will the 4o model API public? I mean the text-to-image feature.

Davis

Great to have a major improvement on this version. Awesome

David Edwards
Does this have an ability to do deep research and search the web