A 429 is free. The ninth retry is not.
A 429 bills you nothing - the request never reaches the model. The cost arrives when your backoff outlives the cache TTL and the cold retry burns 101x the limit.
8 posts tagged "openai".
Every post tagged "openai" in the journal. Tag archives are auto-generated from post frontmatter -- one entry per unique tag across non-draft posts. Currently 8 posts share this tag. Use the category filter above to scope by editorial type.
A 429 bills you nothing - the request never reaches the model. The cost arrives when your backoff outlives the cache TTL and the cold retry burns 101x the limit.
Showing 7 of 8 posts — page 1 of 1
Anthropic's input_tokens excludes cached tokens, OpenAI's includes them. Port a cost function between the two and a $0.082 request bills $0.378. Fields, traps, code.
Batch halves token rates at OpenAI, Anthropic and Google -- but takes 20% at SpaceXAI and nothing on its flagship. When batch beats a warm cache, and when it costs more.
Prompt caching fails silently -- no error, no warning, just a full-price bill. The floors, the breakpoint rules, and everything that quietly invalidates a cache.
Ten routers launched on HN in five weeks. The peer-reviewed 2026 benchmarks say they barely beat a baseline. The arithmetic that decides it, on verified rates.
The $/M input/output sticker hides cache-write premiums, a tokenizer tax, context surcharges, invisible reasoning tokens, and more. Ten verified costs, with proofs.
In 2026 the biggest lever on your LLM bill isn't which model. It's how hard the model thinks: reasoning tokens bill as output, and most models think by default.
Anthropic charges 10% of input for cache reads, with a 1.25x write fee. OpenAI auto-caches above 1024 tokens. The math changes which LLM is cheapest -- here is when.