Give agents disposable keys with activation, token, and dollar limits. Works with OpenAI, Anthropic, Google, OpenRouter, and 7 more providers.
pip install till-ac
# Create a scoped key: 50 activations, 100K tokens, $5 budget
from till import TillClient
client = TillClient(admin_key="till_admin_...")
key = client.create_key(
provider="openai",
upstream_key="sk-proj-...",
max_activations=50,
max_tokens=100_000,
max_spend_cents=500, # $5.00
)
# Agent uses it as a drop-in API key
from till.openai_compat import patched_openai
ai = patched_openai(key.scoped_key)
ai.chat.completions.create(model="gpt-4o", messages=[...])Activation counting, token budgets, and dollar caps on every scoped key.
Each proxied request burns one activation. Hit the cap, the key dies. Perfect for sandboxed agent runs.
Cap total input + output tokens per key. Usage tracked automatically from upstream responses.
Set a dollar budget per key. Built-in pricing for 80+ models. $5 means $5, not $500.
Upstream keys are AES-256-GCM encrypted into the scoped token. Our database stores zero keys.
OpenAI, Anthropic, Google, OpenRouter, Mistral, Groq, Together, Fireworks, Perplexity, DeepSeek, xAI, and Cohere.
pip install till-ac Three lines to create a key. Drop-in OpenAI compatibility.
Works with every major AI provider
When you create a scoped key, the upstream API key is AES-256-GCM encrypted and embedded directly in the scoped token. Our database stores only the activation counter and metadata.
If our database is breached: zero upstream keys are exposed. They simply aren't there. The encrypted key material lives only in the token you hold.
Four steps. Python SDK or raw HTTP.
Free account, admin key instantly. No credit card.
Set activation, token, and dollar limits. Pick any of 11 providers.
Drop-in replacement. Point base_url at Till, use the scoped key as the API key.
Whichever limit hits first kills the key. Revoke early from the dashboard.
Start free. Upgrade when you need more.