LLMCap
Hard dollar caps on AI API calls. When you hit $50, it stops. Not an alert — it stops.
Install
pip install llmcap
Configure
llmcap configure
# Enter your LLMCap API URL and workspace ID
Commands
llmcap status # Today's spend, burn rate, blocked requests
llmcap logs -n 20 # Last 20 requests
llmcap keys # List API keys
llmcap budgets # List budget rules
How it works
Change one line in your code:
# Before
client = Anthropic(api_key="sk-ant-...")
# After
client = Anthropic(
api_key="sk-ant-...",
base_url="https://proxy.llmcap.io/anthropic"
)
When you hit your dollar cap, the next request returns 429 instead of forwarding to Anthropic. The token is never consumed. The money is never spent.
Links
- Website: llmcap.io
- Dashboard: app.llmcap.io
- GitHub: github.com/celikkanat/llmcap
Metadata
Release files for llmcap 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llmcap-0.1.0.tar.gz | 379.7 kB | Without provenance | Details for llmcap-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llmcap-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for llmcap-0.1.0-py3-none-any.whl |
Total release size: 402.8 kB
Release files / llmcap-0.1.0.tar.gz
| Download URL | llmcap-0.1.0.tar.gz |
|---|---|
| Size | 379.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
232e10023b603697b1d21c2973ef0af36a4053e5f33e78cdb55c46f5e9a96f19
|
|
BLAKE2b-256 checksum How to use checksums |
2ba4399ec1daf2473bb0fb9eb6e8f23c87600fecea7e3af18171d02890a7b6b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Release files / llmcap-0.1.0-py3-none-any.whl
| Download URL | llmcap-0.1.0-py3-none-any.whl |
|---|---|
| Size | 23.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ece437320331624f66355dbacfad4fdeba84cb3271639ca1b36c6e365d22e78
|
|
BLAKE2b-256 checksum How to use checksums |
be7ac140c68f30803ab621f9dfc9833a59f9a9f75acad485fedb0c9f4cac97dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.13
|
Security for llmcap 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.