Mirkelo
v1.0 is live. Open-source AI Proxy.Mirkelo

Drop-in AI proxy that tracks usage, caches requests, and caps your bills.

lib/openai.ts
import OpenAI from "openai";Β const client = new OpenAI({apiKey: process.env.OPENAI_API_KEY,baseURL: "https://api.mirkelo.com/v1",$0.00 Cost (Cached in 12ms)});
Latency12 ms
Cost$0.00
CacheHIT

One line. No SDK swap, no rewrite β€” Mirkelo speaks the OpenAI API.

Trusted By Leading AI Innovators

  • Synergy Labs
  • NeuroCorp
  • Aura AI
  • Cognition Systems
  • Vector Foundry
Interactive sandbox

Experience the Speed: Live Latency Test

Send a prompt through the simulated proxy, then send the exact same one again. The second call never reaches a provider.

POST /v1/chat/completionsidle

Type a prompt below and press Enter to route it through Mirkelo.

Simulated for the demo. Real cache hits return in single-digit to low double-digit milliseconds.

Core features

One proxy between your app and every model.

Point your existing SDK at Mirkelo and get observability, caching, and spend control without touching your business logic.

Configuration

Powerful configuration. Zero complex dashboards.

Budgets, fallbacks, and cache policy live in one type-safe file next to your code β€” reviewed in a pull request like everything else.

mirkelo.config.tstype-safe
export default defineMirkeloConfig({projects: {"main-app": {monthly_budget_usd: 50,action_on_exceed: "fallback",fallback_model: "claude-3-haiku"}},caching: {strategy: "exact-match",ttl: "7d"}});
budget $50/moon exceed fallbackcache ttl 7d
Ecosystem

Model-agnostic from the first request.

One base URL in front of every provider you already use. Swap the model string β€” or let a budget rule swap it for you β€” without touching the client.

Same OpenAI-shaped payload for all four. Mirkelo translates the rest.

Security & trust

Zero-Retention.
Zero Plain-Text Keys.

Mirkelo sits in your request path, so it is built to hold as little of your data as physically possible.

Keys live in RAM only
Your provider key is held in memory for the lifetime of a single request, then dropped. It is never written to the database, never logged, and never rendered back to a dashboard.
Prompts are never stored
We persist metadata β€” model, token counts, latency, cost β€” and nothing else. Prompt and completion bodies leave memory the moment the response is streamed back to you.
Self-hostable anywhere
Run the same proxy inside your own VPC with one container. No egress to our infrastructure, no vendor in your data path.
Open source and auditable
Every byte of the request path is MIT licensed on GitHub. Read it, fork it, or pin your own build.
request lifecyclestateless
  1. 01request inkey parsed into memory
  2. 02upstreamkey forwarded, never logged
  3. 03responsetokens + cost recorded
  4. 04teardownkey gone. prompt gone.
rows written to disk: usage metadata only

Proudly Open Source.

Inspect the engine. Host it yourself. We believe infrastructure handling API keys should be fully transparent.

Stars1.2kForks184LicenseMIT
Star on GitHub
β€œMirkelo slashed our token costs by 40% and improved our API performance overnight. The cache and budgeting tools are game-changers.”
ES
Elena SokolovLead Engineer, AI Startup X
40% lower token spend
Pricing

Start free. Pay when the traffic is real.

Every plan includes the full proxy β€” caching, telemetry, and zero-retention key handling. No per-seat pricing.

Hobby

$0/mo

For side projects and the first prototype.
  • 50K requests / month
  • Exact-match cache
  • Usage dashboard
  • Community support
Pro
Most popular

$29/mo

For teams shipping AI features to real users.
  • 500K requests / month
  • Budget limits β€” hard and soft
  • Semantic cache
  • Per-user and per-project telemetry
  • Automatic model fallback
Enterprise

Custom

For platforms with their own compliance perimeter.
  • Self-hosted deployment
  • VPC / private networking
  • Custom SLA
  • SSO and audit logs
  • Dedicated support

Self-hosting is free forever, on every tier.

Technical FAQ

The questions engineers ask first.

Still unsure? The whole request path is open source β€” read it, or open an issue.

Stop overpaying for AI tokens today.

Get Started for Free

Takes 2 minutes to integrate. No credit card required.