YAML vs Markdown vs JSON vs TOON: Which Format Is Most Efficient for the Claude API
My own benchmark across three Claude tiers (Haiku, Sonnet, Opus): 120 data files, 8 real-world scenarios, 5 formats. Tokens, cost, and accuracy – numbers, not opinions.
21 min read
AI
Agents
TOON
PROMPT ENGINEERING