Skip to main content

Benchmarks

Fixed fixtures. Full artifacts. Honest comparisons.

Phonton publishes reproducible ADE benchmark packets from pinned repositories — not slogan leaderboards. This page summarizes what is measured, what passed verification, how Phonton compares to Claude Code, Codex CLI, Gemini CLI, and OpenCode on the same prompts where we have complete evidence, and what is still missing (including Cursor).

Benchmark evidence packet: fixture, prompt, versions, logs, diff, verification, receipt
A public token or cost claim requires verified_success plus token_claim_eligible and a complete artifact directory.

How to read this page

Three rules before you compare tools

1 · Same fixture

Every suite pins a repository commit, uses the same prompt.md, and records tool versions. Comparing unlike fixtures or tuned prompts is invalid.

2 · Verified means tests + logs

Verified means external checks passed (for example npm test or the syntax-preflight harness) — not “looked fine in chat.”

3 · Token claims need eligibility

Phonton sets token_claim_eligible: true only on provider-reported, verified runs. local-template runs (zero provider tokens) are reliability evidence, not efficiency wins.

Latest · v0.21.0

RunIndex 39 · phonton 0.21.0 · DeepSeek (provider-only)

Date 2026-06-20. Mode: PHONTON_DISABLE_LOCAL_SEEDS=1. Provider: DeepSeek (deepseek-v4-flash). Three fixture-scoped suites are claim-eligible on this batch.

SuiteStatusProvider tokensReported USDClaim eligibleNotes
node-config-bugfix-v1verified7,620$0.0049yesnpm test passed; artifacts under phonton/39
node-receipt-refactor-v1verified7,620$0.0049yesFixed vs v0.20.1 run 38 (duplicate export failure)
chess-web-v1verified8,760$0.0036yesPinned Vite fixture; provider-only
memory-latency-v1verifiednoHarness only; not a token leaderboard
syntax-preflight-v1failed8,760$0.0036noGoal ran; external Python verify failed on host without Python PATH

Report: deepseek-2026-06-20-v0.21.0.md in phonton-cli.

Prior · v0.20.1

RunIndex 38 · phonton 0.20.1 · DeepSeek (provider-only)

Date 2026-06-01. Mode: PHONTON_DISABLE_LOCAL_SEEDS=1. Provider: DeepSeek via OpenAI-compatible route (deepseek-v4-flash).

SuiteStatusProvider tokensReported USDClaim eligibleNotes
node-config-bugfix-v1verified5,538$0.0029yesnpm test passed; artifacts under phonton/38
chess-web-v1verified4,752$0.0023yesPinned Vite fixture; run 37 failed on same suite
memory-latency-v1verifiednoHarness only (~0.28ms avg concurrent query); not a token leaderboard
node-receipt-refactor-v1failednoDuplicate buildReceipt export; npm test failed
syntax-preflight-v1failed4,752$0.0023noGoal ran; external Python py_compile failed (no Python on host PATH)

Prior write-up: deepseek-2026-06-01-v0.20.1.md in phonton-cli benchmarks/reports.

Cross-tool · Node fixtures

Same prompts · provider paths · 2026-05-21 batch

Tool-reported tokens are not normalized across vendors (cache accounting differs). Phonton was 0.16.1 in this batch; latest Phonton numbers are Run 38 above.

SuiteToolTool exitVerifyWall timeReported tokensCostNotes
02 bugfixPhonton0pass38.6s2,736$0verified_success
02 bugfixClaude Code0pass58s203,018$0.39includes cache read in reported total
02 bugfixCodex CLI0pass219s384,846N/Aturn.completed usage
02 bugfixGemini CLI0pass200s214,287N/ACLI stats total
02 bugfixOpenCodetimeoutfail20m+no diff before timeout
03 refactorPhonton1fail50.6s10,198$0provider path; no verified diff
03 refactorClaude Code0pass157s224,947$0.618/8 tests
03 refactorCodex CLI0pass229s460,462N/A4/4 tests
03 refactorGemini CLI0pass118s536,583N/A5/5 tests

Source: reports/actual-2026-05-21-provider/report.md in the benchmark workspace. Phonton used PHONTON_DISABLE_LOCAL_SEEDS=1 in this batch.

Cross-tool · verify outcomes

Exact-prompt external CLIs · 2026-05-19 (verify-only summary)

Phonton exact-prompt automation was blocked on Windows PTY; do not compare Phonton rows from this batch.

SuiteToolTool exitExternal verify
02 bugfixClaude Code 2.1.14305/5 pass
02 bugfixCodex CLI 0.130.005/5 pass
02 bugfixGemini CLI 0.39.1timeout*5/5 pass
03 refactorClaude Code 2.1.14308/8 pass
03 refactorCodex CLI 0.130.004/4 pass
03 refactorGemini CLI 0.39.1timeout*5/5 pass

Cross-tool · chess

chess-web-v1 · pinned fixture

End-to-end web app on a pinned Vite fixture. Competitor rows will be filled as runs complete the same artifact schema as Phonton.

ToolRuns loggedVerifiedTokensClaim eligibleNotes
Phonton3918,760yesRun 39 verified (DeepSeek provider-only, v0.21.0)
Phonton3814,752yesRun 38 verified (DeepSeek provider-only)
Phonton37016,773noSyntax failure on chessRules.test.ts
Codex50N/AnoLegacy artifacts normalized; no claim-eligible usage recorded
Claude Code0Not yet captured in public artifact bundle
Cursor0Not yet captured in public artifact bundle

Phonton history

RunIndex 36 · phonton 0.19.7 · DeepSeek (provider-only)

Prior provider-only batch on v0.19.7 (run 36). Run 39 on v0.21.0 adds a verified refactor suite and refreshed chess result.

10,900node-config-bugfix-v1

claim-eligible

15,696node-receipt-refactor-v1

claim-eligible

verifiedmemory-latency-v1

verified

failedsyntax-preflight-v1

failed

Suite catalog

What each benchmark measures

Suite IDWhat it measuresVerificationToken leaderboard?
node-config-bugfix-v1Fix a focused Node config loader bug in a pinned repo; success requires `npm test` and a minimal diff in `src/config.js`.npm test + git diff + Phonton verifier layersYes, when eligible
node-receipt-refactor-v1Refactor a receipt renderer with tests-first discipline: `## Commands` section, gap sorting, verifiedBy metadata; success requires `npm test`.npm test + syntax on touched JSYes, when eligible
syntax-preflight-v1Repair intentionally broken Python, Rust, and TypeScript files from one goal prompt.External harness: `python -m py_compile`, `rustc --emit=metadata`, `npx esbuild` (plus Phonton goal transcript)Yes, when eligible
chess-web-v1Build a playable chess web app on a pinned Vite + React + TypeScript fixture (not an empty folder).npm test / project test script + syntax on rules + test filesYes, when eligible
memory-latency-v1Concurrent local memory query latency (HNSW harness inside phonton-memory).cargo test benchmark harnessNo

Tools in scope

How we measure each agent

Phonton CLI

ADE (local-first)

Headless `phonton goal` or TUI; exports `phonton-benchmark-export.json`, HandoffPacket, verifier logs.

Tokens: Provider-reported when `token_claim_eligible`; local-template runs labeled separately.

Claude Code

Terminal coding agent

Same `prompt.md` pasted or scripted; `/usage` or provider JSON for tokens.

Tokens: Often includes cache read/create in totals — not comparable 1:1 to Phonton export fields.

Codex CLI

Terminal coding agent (OpenAI)

Codex CLI session on the same workspace; turn.completed usage in transcript.

Tokens: Very high reported totals on multi-turn runs; compare verify outcome first.

Cursor

IDE-integrated agent

Not yet in the published cross-tool artifact tables; workflow comparison only below.

Tokens: Use Cursor usage UI when runs are added to the benchmark bundle.

Gemini CLI

Terminal coding agent

`/stats` after run; May 2025 batches show pass with Windows PTY timeouts.

Tokens: CLI stats total — treat as vendor-reported, not normalized.

OpenCode

Terminal coding agent

Included in May 2025 bugfix batch; timed out without diff on that fixture.

Tokens: opencode stats when available.

Workflow · not tokens

ADE vs IDE agent vs terminal agent

Token tables above compare cost on fixed fixtures. This table compares product shape — why Phonton is categorized as an ADE.

DimensionTypical IDE agent (e.g. Cursor)Terminal agent (Claude Code, Codex)Phonton ADE
Primary surfaceIDE (file/selection)Terminal sessionTerminal ADE + TUI
Unit of workEdit selection / chat taskPrompt / taskGoal + GoalContract
Plan visibilityOften implicitVaries by productPlan preview + DAG slices
Pre-merge verificationOptional / product-dependentVariesVerifier path before review
Handoff artifactDiff in editorDiff + chat summaryHandoffPacket receipt
Session memoryChat + codebase indexChat historyTyped local memory + semantic index
Benchmark mode labelsRarely exposedRarely exposedprovider vs local-template + eligibility flags

Required artifact packet

Every published run should be replayable

Missing fields mean the run stays out of comparison tables.

Fixture + commit

Pinned repo state before the agent starts.

prompt.md

Exact goal text for every tool.

Tool + model versions

CLI --version and provider route.

transcript.log

Raw session or goal output.

final.diff + git-status

What actually changed.

verify.log

npm test, harness, or verifier output.

token-usage.json

Provider-reported usage + token_claim_eligible.

handoff / receipt

HandoffPacket or nearest equivalent.

Reproduce

Run the latest Phonton batch locally

# Prerequisites: Node.js, phonton CLI 0.21.0+, provider key in ~/.phonton/config.toml

npm install -g phonton-cli
phonton doctor --provider

# Provider-only mode (no local template seeds):
export PHONTON_DISABLE_LOCAL_SEEDS=1   # Linux/macOS
# $env:PHONTON_DISABLE_LOCAL_SEEDS = "1"   # Windows PowerShell

# Clone the public benchmark fixtures (when published) or use your local copy.
# Run capture scripts with -RunIndex 39 -PhontonBinary phonton -ProviderOnly

# Validate evidence schema (PowerShell):
# .\benchmarks\validate-evidence.ps1 -SuiteId node-config-bugfix-v1

Claim boundary

Allowed vs not allowed on phonton.dev

Allowed today

  • Fixture-scoped Phonton results on Run 39 (bugfix, refactor, chess) with token_claim_eligible: true.
  • Cross-tool verify pass/fail on Node bugfix/refactor (May 2025 batches).
  • Memory latency harness metric (not provider tokens).
  • “Designed for proof-carrying / merge-gate workflows.”

Not allowed without new artifacts

  • “Phonton beats Claude Code / Codex / Cursor” globally.
  • Token % savings across vendors without normalized accounting.
  • Syntax-preflight wins until harness + provider verify both pass.
  • Chess or refactor headlines from failed or incomplete competitor runs.

Other artifacts

Planner preview (narrow scope)

The planner-preview batch measures plan latency and estimated context reduction — not end-to-end task quality or provider invoices.