5 providers · <35ms added latency · Hard enforcement

Hard dollar caps
on every LLM call.

When you hit $50, it stops. Not an alert — it stops. One line of code change.

No surprise bills. Ever.

your_app.py
# Before
client = Anthropic(api_key="sk-ant-...")

# After — one line change
client = Anthropic(
    api_key="sk-ant-...",
    base_url="https://proxy.llmcap.io/anthropic"
)
# When you hit $50 → 429. Token never consumed.

Works with every major provider

Anthropic
OpenAI
Google Gemini
Mistral
Cohere

Setup in 5 minutes

How LLMCap works

01

Change base_url

Point your API client at proxy.llmcap.io. Works with every SDK. No code changes beyond that one line.

02
$

Set your cap

Define daily, monthly, or per-key dollar limits in the dashboard. Per-model granularity supported.

03
🛡

Sleep peacefully

When a cap is hit, LLMCap returns 429 before the token is consumed. No charge. No surprise bill.

0
Providers supported
0ms
Avg added latency
18,742
Requests blocked today
0.9%
Uptime

Available everywhere you code

Works in your workflow

Marketplace

VS Code Extension

Live spend in your status bar. Click to see today's usage, burn rate, and blocked count — without leaving the editor.

Install Extension
>_
PyPI

Terminal CLI

Check spend, browse logs, and manage keys from the command line. Works on macOS, Linux, and Windows.

pip install llmcap
View on PyPI
🪟
Desktop

Windows Tray App

System tray icon shows live spend. Right-click for stats and quick actions. Always visible, never intrusive.

pip install "llmcap[tray]"
Get Tray App
LLMCap · Hard caps · No surprise bills · <35ms latency · 5 providers · 3-day trial · LLMCap · Hard caps · No surprise bills · <35ms latency · 5 providers · 3-day trial · LLMCap · Hard caps · No surprise bills · <35ms latency · 5 providers · 3-day trial · LLMCap · Hard caps · No surprise bills · <35ms latency · 5 providers · 3-day trial · LLMCap · Hard caps · No surprise bills · <35ms latency · 5 providers · 3-day trial · LLMCap · Hard caps · No surprise bills · <35ms latency · 5 providers · 3-day trial · LLMCap · Hard caps · No surprise bills · <35ms latency · 5 providers · 3-day trial · LLMCap · Hard caps · No surprise bills · <35ms latency · 5 providers · 3-day trial ·

Simple pricing

Pick your plan

3-day trial, no charge until it ends · Cancel anytime

Starter
$19/mo

after 3-day trial

  • 2 API keys
  • All 5 providers
  • Daily & monthly caps
  • 30-day audit log
  • 1 user
  • Email support
Start 3-Day Trial

Credit card required for trial. Cancel before day 3 and you won't be charged.

Questions

Does LLMCap ever see or store my API keys?+
No. Your provider API key (e.g. sk-ant-...) is passed through the proxy header on each request and immediately discarded. LLMCap only stores your LLMCap proxy key, hashed with bcrypt. We never log your provider keys.
Does it work with streaming responses?+
Yes — streaming is supported from day one. LLMCap passes SSE chunks through in real time. If the budget is exceeded mid-stream, the connection is closed and a final 429 event is sent. The token that triggered the cap is not charged.
What exactly happens when the cap is hit?+
The next incoming request is rejected with HTTP 429 before it reaches the provider. The token is never consumed, so you are never billed for it. Your app receives the same 429 response structure providers use for rate limiting, so existing error handling works as-is.
Can I self-host LLMCap?+
Self-hosting is on the roadmap. The proxy is open source (FastAPI + Redis). For now, the managed service at proxy.llmcap.io is the recommended path — it's already deployed with <35ms latency worldwide.