DEVELOPER DOCS

Integrate in 5 minutes.

One line change. Drop-in compatible with the OpenAI SDK, Anthropic SDK, LangChain, and every major LLM provider.

Get API Access → See the Platform
# one line change client = openai.OpenAI( api_key="sk-...", base_url="https://api.trimio.ai/v1" ) response = client.chat.completions.create( model="gpt-4o", messages=[{"role": "user", "content": "Hello!"}] )
// one line change const client = new OpenAI({ apiKey: 'sk-...', baseURL: 'https://api.trimio.ai/v1' }); const response = await client.chat.completions.create({ model: 'gpt-4o', messages: [{ role: 'user', content: 'Hello!' }] });
curl https://api.trimio.ai/v1/chat/completions \ -H "Authorization: Bearer sk-..." \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-4o", "messages": [{"role": "user", "content": "Hello!"}] }'
Your provider keys stay in your environment — we never see them.
GETTING STARTED

Live in three steps.

01 — GET YOUR VIRTUAL KEY

Sign up and get a scoped virtual API key. Your provider keys stay in your environment — we never see them.

02 — CHANGE ONE URL

Point your SDK's base_url to api.trimio.ai/v1. That's it — no code rewrites, no library updates.

03 — WATCH SAVINGS ACCUMULATE

Dashboard populates in real time. First savings report within 30 days. Zero maintenance from your team.

FEATURES

What you get out of the box.

OBSERVABILITY
Full request logging

Every request logged with 40+ fields: latency, tokens, model, cache status, cost, savings. Prometheus + OTEL native.

RELIABILITY
Automatic fallbacks

If a provider is down, requests route to the next best option. Zero downtime, zero code changes.

CACHING
Provider cache optimization

Cache-aware handling maximizes hit rates on Anthropic, OpenAI, and Google's native caching. 93% average token savings on hits.

GOVERNANCE
Rate limiting

Per-key and per-team rate limits. Prevent runaway scripts from generating surprise bills overnight.

BUDGETS
Budget controls

Monthly spend limits per team, project, or key. Alerts fire before limits are hit — not after.

SECURITY
Virtual key governance

Issue scoped virtual keys per team. Rotate and revoke without touching provider credentials.

40+
Fields per request
<20ms
Added latency
99.99%
Uptime SLA
1,600+
LLMs supported
COMPATIBILITY

Drop-in with your existing stack.

SDK / FRAMEWORK
STATUS
NOTES
OpenAI Python SDK
DROP-IN
Change base_url only
OpenAI Node.js SDK
DROP-IN
Change baseURL only
Anthropic SDK
DROP-IN
OpenAI-compat endpoint
LangChain
DROP-IN
Works with all LLM wrappers
LlamaIndex
DROP-IN
All model integrations
curl / HTTP
FULL
Standard OpenAI REST API
Exports natively to your existing stack:
Prometheus. Grafana. OpenTelemetry. Datadog. LangChain. LlamaIndex. TimescaleDB.

Start saving in 5 minutes.

No infrastructure changes. No code rewrites. Just one URL.

Start Free → Book a Demo