Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →

Pydantic Releases Pax Agent: A Run on GPT-6.2 Sol Costs $9.21 vs. $21.05 for Codex

Pydantic has released Pax, a terminal coding agent that edits code directly in the terminal and works with any model. In the Harness-Bench SWE81 test on GPT-6.2 Sol, Pax scored 64.7 points at an average run cost of $9.21, while OpenAI's own Codex scored 60.1 points for $21.05. The foundation is the Pydantic AI Harness library, which offers more than a hundred ready-made model scaffolding blocks. The company ran these tests itself, so check Pax on your own tasks.

AI-processed from TG: @ai_machinelearning_big_data (Machinelearning); edited by Hamidun News
Pydantic Releases Pax Agent: A Run on GPT-6.2 Sol Costs $9.21 vs. $21.05 for Codex
Source: TG: @ai_machinelearning_big_data (Machinelearning). Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceTG: @ai_machinelearning_big_data (Machinelearning) ↗
Editor-in-Chief
Overall SWE81 score across eight modelsPax 58.5 points and $7.69 per run
Claude Opus 5.5Pax 61.2 points for $24.61, Claude Code 60.4 for $25.10
Key metric #3Code can run in the E2B, Daytona, Modal, and Kubernetes sandboxes

A coding agent is more than just a language model. To edit a project, it needs access to files and the terminal, memory across sessions, subagent helpers, compression of a bloated context, and a fallback model in case of failure. The industry calls this whole set of components a "harness," meaning the scaffolding around the model.

The Pydantic team, known for the eponymous Python data validation library, has released the beta of a set of such components, Pydantic AI Harness, along with its own terminal agent, Pax. The main claim: on GPT-6.2 Sol, Pax scored 64.

7 points in the Harness-Bench SWE81 test at an average run cost of $9.21, while Codex, OpenAI's native harness, scored 60.1 points for $21.

05. The result is higher, and the price is more than half as low.

What's Inside Pydantic AI Harness

Harness is a library of more than a hundred ready-made blocks. Each one handles a single capability: working with files and the terminal, memory, subagents, context compression, and automatic switching to another model on errors and failures. The design principle is modular: if you only need files and memory, you take two blocks; if you need the full set, you connect everything.

The library already includes desktop control through OpenAI, Anthropic, and Google tools, as well as fault-tolerant execution that survives restarts. If a long-running agent task is interrupted midway, it resumes instead of starting over. Pax itself does not yet include these two features.

Pydantic is preparing version 1.0 for release in a month. The team is asking people to test the beta now, while the public API can still be adjusted based on feedback.

What Pax Can Do

Pax is a terminal agent that works with any model. It picks up the AGENTS.md and CLAUDE.md instruction files, as well as skills, so a project already configured for other tools does not have to be rewritten. Special flags let you continue sessions started in Claude Code or Codex without losing context.

Code can be executed not on your work laptop but in a local micro virtual machine (smol, BoxLite) or in a cloud sandbox: E2B, Daytona, Modal, or Kubernetes. For those who don't want to give an agent access to their own machine, this is an important option.

The architecture is modular: in Pax, every part is a plugin. This is how the agent itself, the sandboxes, MCP support, and tracing via Pydantic Logfire are built. Plugins are switched through a menu, and Pax can write new ones for itself on request. If the built-in agent doesn't suit you, you can plug your own into the terminal interface.

How to Read the Numbers

In Harness-Bench SWE81, Pydantic compared Pax with other general-purpose harnesses across eight models; the higher the score, the better the result. Pax took first place by a narrow margin: 58.5 points at an average run cost of $7.69. OpenCode scored 58.2 points for $8.04, and deepagents-code scored 57.6 for $9.43. The cheapest was pi: 57.3 points for $6.47. The gap in points among these four is small, so it is too early to talk about a clear leader.

The gap with vendor-built harnesses is more noticeable. On GPT-6.2 Sol, Pax scored 64.7 points for $9.21 versus 60.1 points for $21.05 for Codex. On Claude Opus 5.5, Pax scored 61.2 points for $24.61, and Claude Code scored 60.4 for $25.10: nearly a tie, with modest savings.

The caveats are obvious. Pydantic ran the tests itself, and it promises to publish the full methodology and repeat runs only by the 1.0 release. Until then, the numbers are the authors' claims, not an independent verification. In addition, desktop control and fault-tolerant execution are currently absent from Pax.

What to Do in Practice

If you pay for Codex or Claude Code, run Pax on your real tasks and compare not only the scores but also the cost of each run: the price gap is the most striking part. If you're building your own agent, Harness can save weeks, since you won't have to write memory and context compression from scratch. And while the API is not yet locked, now is the time to send feedback to the team.

Story

Key Questions Answered

What's Inside Pydantic AI Harness?

Harness is a library of more than a hundred ready-made blocks. Each one handles a single capability: working with files and the terminal, memory, subagents, context compression, and automatic switching to another model on errors and failures. The design principle is modular: if you only need files and memory, you take two blocks; if you need the full set, you connect everything.

What Pax Can Do?

Pax is a terminal agent that works with any model. It picks up the AGENTS.md and CLAUDE.md instruction files, as well as skills, so a project already configured for other tools does not have to be rewritten. Special flags let you continue sessions started in Claude Code or Codex without losing context. Code can be executed not on your work laptop but in a local micro virtual machine (smol, BoxLite) or in a cloud sandbox: E2B, Daytona, Modal, or Kubernetes.

How to Read the Numbers?

In Harness-Bench SWE81, Pydantic compared Pax with other general-purpose harnesses across eight models; the higher the score, the better the result. Pax took first place by a narrow margin: 58.5 points at an average run cost of $7.69. OpenCode scored 58.2 points for $8.04, and deepagents-code scored 57.6 for $9.43. The cheapest was pi: 57.3 points for $6.47. The gap in points among these four is small, so it is too early to talk about a clear leader. The gap with vendor-built harnesses is more noticeable.

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Free · Waitlist · Hermes + DeepSeek

Free 2-Day Vibecoding & AI Agents Intensive

Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.

Join the waitlist →Nomad AI Workspace
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Pydantic Releases Pax Agent: A Run on GPT-6.2 Sol Costs $9.21 vs. $21.05 for Codex https://news.hamidun.com/en/news/18615/pydantic-releases-pax-agent-a-run-on-gpt-6-2-sol-costs-9-21

What do you think?
Loading comments…