
Cutting LLM API Costs: Prompt Caching, Batching and Smaller Models
An LLM bill grows faster than traffic. Here's how prompt caching, the Batch API and smaller models cut it, with real prices, tested Python c...

An LLM bill grows faster than traffic. Here's how prompt caching, the Batch API and smaller models cut it, with real prices, tested Python c...

Two models, seven tasks, one rule that can be checked in thirty seconds: switch when ten times the new model's output minus fifteen times th...
A few months ago, I was working on a pet project. YumCut is an end-to-end service for creating short vertical videos, from writing the text ...

Brick reads a prompt once and routes it to the cheapest model that can still answer correctly, no cascade needed. We pulled the actual confi...