YAML vs JSON for LLMs: Real Token Counts, Real Gotchas
Originally published on DevToolHub. YAML vs JSON for LLMs isn't just a style preference — it changes how many tokens you pay for on every request. I ran both formats through a real tokenizer on ident