On this page · 8 sections
  1. What the source measured
  2. Who and what was tested
  3. Does anyone have a stake?
  4. Source
  5. Limits of this finding
  6. What this means if you build tools
  7. Related checks
  8. Cite this record

What the source measured

Finding 1
What was measuredmetricCorrect deployments out of five runs
Without the changebaselineIndividual arguments: 5/5 for every model
With the changetreatment--json payload: 5/5 for Claude Sonnet 5, Claude Sonnet 4.6 and GPT-5.3-Codex; 3/5 for MAI-Code-1-Flash; 2/5 for Claude Haiku 4.5
Which way it moveddirectionDown
How bigsizeDown to 2/5 for the smallest model
How many casessampleFive runs per model per input mode; five models
Finding 2
What was measuredmetricCost per task (GitHub Models pricing)
Without the changebaselineArguments: GPT-5.3-Codex $0.05; MAI-Code-1-Flash $0.01; Claude Sonnet 4.6 $0.05; Claude Haiku 4.5 $0.03; Claude Sonnet 5 $0.08
With the changetreatmentJSON: $0.54 (11x); $0.08 (10x); $0.47 (9x); $0.23 (8x); $0.32 (4x)
Which way it moveddirectionUp
How bigsize4x to 11x
How many casessampleAs above
Finding 3
What was measuredmetricArguments-to-JSON cost gap by shell, Claude Sonnet 4.6
Without the changebaselineBash on macOS: 1.5x
With the changetreatmentPowerShell on Windows: 9x
Which way it moveddirectionUp
How bigsize1.5x on Bash, 9x on PowerShell
How many casessampleOne model, two shells

Who and what was tested

  • Models: Claude Haiku 4.5, Claude Sonnet 4.6, Claude Sonnet 5, GPT-5.3-Codex, MAI-Code-1-Flash.
  • Harness: GitHub Copilot Chat.
  • Operating system: Windows (PowerShell) for the main experiment; macOS (Bash) for the Sonnet 4.6 shell comparison.

Does anyone have a stake?

Microsoft authors evaluating with Microsoft tools (GitHub Copilot Chat, VS Code) and, where noted, Microsoft products. Microsoft reports the results itself. The CLI (podctl) is synthetic and was built for the test; MAI-Code-1-Flash is a Microsoft model.

Source

Don't rewrite your CLI for agents. Waldek Mastykarz. Microsoft for Developers, 7 July 2026.

The full primary source was fetched on 2026-10-08 and every number in this record was found in it.

Limits of this finding

  • Vendor-run evaluation, not peer reviewed; no raw data or harness was found published with the post.
  • Five runs per condition; Microsoft scopes each result to the agent profile it measured.
  • One synthetic CLI and one deployment scenario with 30+ values.

What this means if you build tools

Keep named arguments when you make a CLI agent-friendly; a JSON payload adds failure modes such as shell quoting. If you add --json, keep the arguments too and measure both on the shells your users run.

Cite this record

Cite the original source for any number, and keep the evidence type and the models tested next to the figure. To point at this record, cite it as: AX evidence register, “A JSON input mode for a CLI raised agent cost 4x to 11x”, https://agentexperience.tech/evidence/ev-0028/. The record is also in /evidence.json.