OpenAI
How to reduce OpenAI API costs, and prove each saving
Six levers that cut an OpenAI bill: caching, deduplication, Batch, model choice, output and input size. When each one pays, and how to check it on your usage.
7 min read
Practical, provider-neutral guides for developers who pay a per-token bill. Each one teaches the technique first, so it is useful without any tool; then shows how the open-source BV-SALA layer does it, free and with no key; then shows how to check the saving against your provider's own usage numbers.
Every figure comes from the provider's documentation or from our published benchmarks, and says where it came from. The code is on GitHub.
OpenAI
Six levers that cut an OpenAI bill: caching, deduplication, Batch, model choice, output and input size. When each one pays, and how to check it on your usage.
7 min read
Anthropic
Why cache_read_input_tokens stays at 0 on Claude, how to find the byte that breaks the prefix, and how to check your hit rate against Anthropic's usage numbers.
8 min read
Claude Code
What Claude Code costs on an API key, what /usage and the Console show, and how to see the cost of every request with a free local gateway.
8 min read
OpenAI
A checklist for OpenAI prompt caching when cached_tokens stays at 0: prompt length, prefix order, eviction, routing and streams, with code to track the hit rate.
7 min read
Deduplication
Stop paying twice for the same LLM call: a safe cache key, what never to cache, coalescing identical requests in flight, and how to check the saving.
8 min read
DeepSeek & Qwen
How DeepSeek and Qwen bill cache hits and misses, how to price a request from its usage fields, and how to meter every request with a free local gateway.
10 min read
Verification
A method to check any LLM savings claim: log the provider's counters, reconcile tokens before dollars, keep measured and estimated apart, and attribute the saving.
7 min read