LLM Cost Optimization · San Francisco, CA
San Francisco ships AI products first and meets the margin question second: inference bills scaling faster than revenue, power users underwater on their subscription price, and diligence asking unit-economics questions the dashboard cannot answer. Cost optimization here is gross-margin repair with an eval set standing guard.
We audit a month of real usage, model the per-user economics, and implement the ranked fixes: prompt and caching architecture, eval-gated routing, batch migration, and fine-tune-to-downsize where the math truly pays.
Tell us the product and the margin problem.
Margin problems are usually architecture problems wearing a pricing costume: frontier models on commodity requests, prompts that accumulated context like sediment, zero caching on heavy stable prefixes, and real-time calls where batch would do. The audit instruments per-feature, per-user spend and ranks fixes by margin impact, because the board cares about dollars per user, not tokens.
Caching is the first lever because the discount is brutal and the fix is structural: stable prefixes, byte-identical across requests, volatile content last. Products with heavy system prompts routinely recover half their input spend here alone.
Routing is the second lever, gated by your eval set: the easy majority of traffic moves to models at a tenth the price only where measured parity holds, with model-and-reason logging so quality questions have answers. Fine-tune-to-downsize is the third, applied to the one or two narrow high-volume tasks where the payback is weeks, and declined for the rest.
The deliverable doubles as diligence material: per-user cost curves, marginal cost per action, and eval evidence that the cheap path performs. Investors increasingly grade AI companies on whether token economics are engineered; the artifacts should say yes.
The standard sequence, tuned for AI-native product economics.
Real metering of cost by user, feature, and action, with the margin model your pricing and board decks have been approximating.
Prompt architecture reordered for stable prefixes, hit rates measured in production, and the 90-percent discount actually collected.
Cheap models taking the request classes where your labeled set proves parity, frontier models reserved for the hard tail, every request logged.
Per-task payback math on replacing frontier calls with a tuned small model, implemented only where volume and stability make it weeks-to-payback.
Non-interactive workloads moved to half-price batch APIs with the queue plumbing included.
Cost-per-user dashboards, marginal-cost-per-action metrics, drift alerts, and the trend lines that change diligence conversations.
San Francisco's AI products live with a uniquely public unit-economics question: investors compare AI COGS across the portfolio, customers stress-test usage limits, and competitors reprice quarterly as model costs fall. Spend that is engineered (routed, cached, measured) compounds into strategic room: pricing flexibility, usage generosity, and margin that survives a power user.
The eval-set discipline matters doubly here because quality is the brand: every cost change ships behind measured parity, so the margin improves and the product stays the product.
We work with SF teams remotely, in Pacific hours, with audits typically complete in two weeks and implementation in two to four more.
Tell us the product, the stack, and the monthly bill. We reply within one business day with an audit scope and a fixed price.