Skip to content
Back to blog
Article

GPT-5.4 Is Here — What It Means for AI Agent Developers

Kacper Włodarczyk · · 5 min read · Updated on March 6, 2026
gpt-5.4 openai ai-agents llm news
Table of Contents

TL;DR: GPT-5.4 introduces three features that significantly impact AI agent developers: native computer-use capabilities (scoring 75.0% on OSWorld-Verified, surpassing human performance at 72.4%), a 1 million token context window for long-running agents, and tool search that reduces token consumption by 47% on tool-heavy workloads by letting the model look up tool definitions on demand instead of including all definitions in every request. On coding benchmarks, it matches GPT-5.3-Codex (57.7% on SWE-Bench Pro) while being more token-efficient, and its Toolathlon score of 54.6% (vs 45.7% for GPT-5.2) shows improved multi-step tool calling with fewer turns. Pricing is $2.50/M input and $15/M output — higher per-token than GPT-5.2 but potentially cheaper per-task due to efficiency gains. For frameworks like pydantic-deepagents where a single agent can have 30+ tools, tool search alone could reduce prompt overhead by 40% or more. The model works as a drop-in replacement by changing the model string.

OpenAI just released GPT-5.4 — their most capable model to date. It combines the coding strengths of GPT-5.3-Codex with major improvements in reasoning, computer use, and tool calling. Available now in the API as gpt-5.4 and in ChatGPT as GPT-5.4 Thinking.

Here’s what matters if you’re building AI agents.

Native Computer Use

GPT-5.4 is OpenAI’s first general-purpose model with native computer-use capabilities. It can operate computers through screenshots and keyboard/mouse commands, or via code libraries like Playwright.

The numbers are impressive:

  • OSWorld-Verified: 75.0% (up from 47.3% with GPT-5.2, surpassing human performance at 72.4%)
  • WebArena-Verified: 67.3% for browser-based tasks

For agent frameworks like Pydantic AI and LangChain, this opens up a new class of workflows — agents that don’t just call APIs but interact with actual software interfaces. Combined with sandboxed environments (like Docker or Daytona), computer-use agents become viable for production.

1M Token Context Window

GPT-5.4 supports up to 1 million tokens of context in the API. For long-running agents, this is transformative — an agent can hold an entire codebase, a full document set, or hours of conversation history without hitting context limits.

That said, context management still matters. Our experience with summarization-pydantic-ai shows that even with large context windows, intelligent compression (LLM summarization + sliding window) produces better results than dumping everything into context. We covered the details in AI agent memory management. The model attends more carefully to recent, relevant information.

Tool Search — The Biggest API Change

This is the sleeper feature. Previously, all tool definitions were included in every API request. With dozens of tools, that’s thousands of tokens per call — expensive and slow.

GPT-5.4 introduces tool search: the model gets a lightweight list of available tools and can look up full definitions on demand. OpenAI reports 47% fewer tokens on tool-heavy workloads with identical accuracy.

For frameworks that compose many toolsets — like pydantic-deepagents where a single agent can have 30+ tools from filesystem, planning, sub-agents, middleware, and more — this directly translates to lower cost and faster responses.

Coding Improvements

GPT-5.4 matches or beats GPT-5.3-Codex on coding benchmarks:

  • SWE-Bench Pro: 57.7% (vs 56.8%)
  • Terminal-Bench 2.0: 75.1%

More importantly, it’s significantly more token-efficient — solving problems with fewer reasoning tokens than GPT-5.2. For agent loops where the model iterates on code (edit → run → fix), fewer tokens per iteration means lower costs and faster cycles.

Better Tool Calling

On Toolathlon, which tests multi-step tool use, GPT-5.4 scores 54.6% (vs 45.7% for GPT-5.2) — and does it in fewer turns. Better tool calling accuracy with less back-and-forth directly improves agent reliability.

For developers using lifecycle hooks (like those in pydantic-ai-middleware) to track cost and audit tool calls, fewer unnecessary calls means cleaner logs and lower budgets.

Pricing

GPT-5.4 costs more per token but uses fewer tokens:

ModelInputCached InputOutput
gpt-5.2$1.75/M$0.175/M$14/M
gpt-5.4$2.50/M$0.25/M$15/M

With tool search and more efficient reasoning, the total cost per task may actually decrease for tool-heavy agents.

What This Means for Our Stack

We’re already testing GPT-5.4 across our tooling:

The model is available now. If you’re building agents with Pydantic AI, LangChain, or LangGraph, GPT-5.4 is worth testing today — especially for tool-heavy and long-running workflows.


Vstorm builds production AI agent systems. We maintain 10+ open-source packages for the Pydantic AI ecosystem.

Share this article

Ready to ship your AI app?

Pick your frameworks, generate a production-ready project, and deploy. 75+ options, one command, zero config debt.

Need help building production AI agents?