Open source
Haarness Router
One OpenAI-compatible endpoint in front of every model provider, on your own server and with your own keys: native adapters, aliases with safe fallback and a built-in dashboard, in a single stateless Rust binary. Open source under MIT.
cargo run --release --bin haarness-router -- --config config.tomlNo prebuilt binaries or images yet: it builds from source with Rust and a C compiler. Until the repository opens, write to [email protected] to run it.

Native adapters, not shims
Anthropic Messages, Gemini and Vertex AI, Bedrock Converse and OpenAI's Responses API are spoken natively. Tools, structured output, reasoning, images, PDFs, audio and video are translated, or refused before any upstream call.
Aliases and safe fallback
One model name can mean this model, else that one. The router moves on only when a target cannot be reached or answers 408, 429 or 5xx before its first event, behind a circuit breaker for each target.
Your keys stay on the server
Provider keys are read once from environment variables and are never returned or logged. Clients send an optional router key of their own, which is never forwarded.
A dashboard in the same binary
Provider health, models and routes, live metrics and a playground at /ui, and Prometheus at /metrics. Nothing else to deploy.
Built for load
Bounded request bodies and stream frames, deadlines, backpressure and cancellation when a client disconnects. A local ten-minute soak held 10,000 streams without an error.
It routes, and that is all
No billing, no user database, no provider marketplace and no prompt storage. It logs one line per request, without prompts, headers or keys.
Self-hosted or managed
One API.Your server, or ours.
Haarness Router and the managed router in Haarness Cloud speak the same OpenAI-compatible API, so switching later only means changing the base URL and the key.
Free software you run yourself. You pay each provider directly.
- Your own provider keys, on your server
- On your machine or inside your network
- No account, no billing, no prompt storage
- Aliases, fallback and a dashboard built in
Run for you by Haarness Cloud and billed in credits.
- One key for every model we carry
- Metered exactly, at published rates
- Spending caps and per-key model lists
- Usage history in your account
