Study Finds JSON Mode Costs Up to 11x More Than CLI Args and Causes AI Agents to Fail 60% of the Time
A new study reveals that using JSON mode for AI agents causes smaller models to fail up to 60% of the time and costs up to 11x more than traditional CLI arguments due to shell escaping failures, with developers urged to avoid rewriting CLIs for agents until running measurable experiments.