Hard budgets for AI agents · OpenAI & Anthropic compatible

Never wake up to a $2,000 AI bill.

CostLatch is a streaming proxy that blocks spend before tokens burn. Daily and monthly hard caps, per-run budgets, and loop detection that stops the same prompt hammering your API key overnight.

Also set native OpenAI / Anthropic / Cursor caps. CostLatch is a second latch — not a replacement for theirs.

Without CostLatch
$2,147.00
Agent loop · 3:12am · same prompt × 400

With CostLatch
$4.00
Daily cap hit · loop blocked · alert emailed

Pre-request reserve

We estimate cost, atomically reserve budget, and refuse the call with zero upstream tokens if you're over.

Loop kill-switch

Identical prompts N times in M minutes get a hard block and an alert — before the overnight melt.

No prompt logging

By default we store spend aggregates only. Your prompts are not written to our logs.

Simple pricing

Self-serve via Stripe. Cancel anytime.

Starter
$19/mo

3 proxy keys · 1 provider · email alerts · loop detection

Choose Starter
Pro
$39/mo

20 keys · OpenAI + Anthropic · webhooks · tunable loops

Choose Pro

Coming soon — join the waitlist

We\'re finishing hard-budget enforcement and loop detection. Leave your email and we\'ll invite you when CostLatch opens.