~/talk

Your (Bad) API Design is Costing you Tokens

links:none on file
slides:none on file

An experiment compares a tidy REST/HAL API against a messy RPC-style version with identical business data and measures generated-code correctness and token cost across OpenAI, Anthropic, and Google frontier models. Results show 74% vs 48% success rate for tidy and messy APIs, tidy outputs ~3,000 tokens while messy often doubles that, and token overhead ranges roughly 30%–77% with ~52% average overhead; GPT‑5‑mini shows higher reasoning-token use. Causes: inconsistent naming, POST-for-read, no hypermedia links, and RPC workflows that force models to infer relationships.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:11Taste test experiment setup
  3. 5:20API design examples
  4. 8:31Experiment workflow
  5. 9:59Success rate results
  6. 11:24Token cost findings
  7. 13:51Why messy APIs cost more
  8. 14:13Recommendations for better APIs
  9. 16:44Conclusion and key takeaways
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.