10 min read
5 Claude API Errors That Cost Me Money (And How I Trapped Them)
Retry storms turned 1 timeout into 340 duplicate calls billed in 90 seconds
The Lab · Written in the open · Tagged API
Working notes from the studio. The tools I build, the workflows I keep, the mistakes I paid for.
14 entries · latest 2026-10-01
Latest entry
Anthropic deprecated Claude Sonnet 4.5 on September 30; API calls to it fail after November 30, 2026.
Read the entryAll entries · API
10 min read
Retry storms turned 1 timeout into 340 duplicate calls billed in 90 seconds
10 min read
Product create via Admin API beats clicking through the dashboard every time
10 min read
Files API replaced my 40KB inline blobs with reusable file IDs across requests
11 min read
System-prompt caching alone cut repeat-call costs by half
8 min read
Token paint with backpressure stops fast streams from crashing slow UIs
8 min read
Hono ships under 14KB and runs the same code on Bun, Node, Deno, Cloudflare Workers, and Vercel Edge
10 min read
Loaded my entire 12-repo studio into one session and stopped re-explaining context to the model every hour
9 min read
Pricing stays identical at 5 USD per million input and 25 USD per million output, 1 million token…
8 min read
Anthropic deprecated claude-opus-4 and claude-sonnet-4 on April 14 with retirement set for June 15
8 min read
Shopify now requires expiring offline access tokens for all new public apps as of April 1
9 min read
Anthropic's Advisor Strategy lets Sonnet or Haiku consult Opus mid-task, keeping near-Opus quality at executor-level pricing