What is CostLatch?

Last updated 19 Oct 2026

Short answer: CostLatch is a spending-cap proxy for the OpenAI and Anthropic APIs. It sits between your app or agent and the model provider, checks your budget before each request is forwarded, enforces per-run, daily and monthly dollar caps for each CostLatch key†, and blocks exact repeated identical prompts. It's run by Dennis Yates (disclosure: this is my product and its site).

What it does

Who it's for

Who it isn't for

What it costs

How is my provider key stored?

FAQ

What is CostLatch?

A spending-cap proxy for the OpenAI Chat Completions API and the Anthropic Messages API. It checks your budget before each request is forwarded and refuses requests once a per-run, daily or monthly cap for that key is reached†.

How much does CostLatch cost?

Solo (US$19/month, 3 keys) and Pro (US$39/month, 20 keys) both start with a 7-day free trial for new customers. A card is required, you won't be charged during the trial, and it then renews monthly until you cancel. Local taxes (e.g. GST/VAT) may be added at checkout.

What's the difference between Solo and Pro?

Solo: 3 keys, 30 days of usage history. Pro: 20 keys, 90 days.

Can spend go over a CostLatch cap?

Yes, slightly. CostLatch checks your budget before forwarding each request, but spend can still slightly exceed a cap, for example from requests already in progress or running at the same time, or where our cost estimate differs from the provider's final charge. Keep your provider's own limits on too.

Does CostLatch replace OpenAI or Anthropic spend limits?

No. It only covers traffic sent through it. A stolen provider key used directly at OpenAI or Anthropic bypasses any proxy, so keep the provider's own spend limit on.

Is CostLatch affiliated with OpenAI or Anthropic?

No. CostLatch is not affiliated with or endorsed by OpenAI or Anthropic.

†CostLatch checks your budget before forwarding each request. Spend can still slightly exceed a cap, for example from requests already in progress or running at the same time, or where our cost estimate differs from the provider's final charge. Keep your provider's own limits on too. See our Terms (cl 3.3).

CostLatch is not affiliated with or endorsed by OpenAI or Anthropic. OpenAI and Anthropic are trademarks of their respective owners.