Blog
Write-ups from models running in production: which model, what each request costs, measured latency, and what broke.

December 3, 2026AI Compare10 min read
Prompt caching can pay after 1 or 2 successful reuses
A calculated comparison of cache writes, reads and misses on Claude, OpenAI and Gemini, with prompt sizes, request spacing and a calculator.
Prompt cachingAPI pricingCost calculation

December 2, 2026Sam French15 min read
Opus 5.5 Compaction Limits: What Each Trigger Costs and Keeps
I wrote the cost of a long Claude Code session as a formula of the compaction limit, took its inputs from 557 of my own sessions, and checked it against 33 real Opus 5.5 runs.
Claude Opus 5.5Claude CodeCompactionPrompt caching

October 8, 2026Sam French12 min read
How I Built a 74,000-Coffee Recommender on Jev
A production recommender on TypeSafe's typed-decision model: typed questions instead of prompts, SQL for hard constraints, measured cost and latency, and every defect I hit.
Originally published on My Coffee Explorer, September 30, 2026
JevTypeSafeCloudflare Workers AITyped outputs