Open-source AI gateway from Mozilla AI that routes agents to 40+ model providers through one API, with budgets, tools, and automatic failover.

Homepage
1 / 3Overview
What is Otari?
Any model. One gateway. Your rules.
Otari is an open-source AI gateway built by Mozilla AI. It puts your agents behind one API for every model, open-weight and frontier, covering 40+ providers through an OpenAI- and Anthropic-compatible endpoint. Switch models by changing configuration instead of rewriting code.
The gateway centralizes control: separate API keys per person, team, or agent, spending limits enforced before each request is sent, and a clear view of tokens, cost, and errors for every request. Server-side tools give any model web search, web scraping, code execution, and MCP access, and automatic failover keeps agents running when a provider goes down. Otari does not store your prompts or responses.
Self-hosting is free and open source (Apache 2.0). The hosted version on otari.ai charges a 4.5% top-up fee, then bills token usage at list price, and you can start with a free account.
Platforms and languages
Otari Availability
Platforms
Languages
Capabilities
Otari Key Features
One API for 40+ model providers
Access open-weight and frontier models through a single OpenAI- and Anthropic-compatible endpoint, and switch models by changing configuration, not code.
Server-side tools for any model
Give any model, including open-weight ones, web search, web scraping, code execution, and MCP server access.
API keys and budget control
Issue separate API keys per person, team, or agent, and enforce spending limits before each request is sent.
Activity and cost visibility
See tokens, cost, and errors for every request, broken down by model, person, key, or hour.
Automatic failover
When a provider goes down, Otari automatically switches to a backup provider so your agents keep running.
Best for
Who uses Otari?
Developers and engineering teams shipping agents or AI features
Manage many model providers behind one API, control what each agent can use and spend, and track token costs.
Developers who want to cut coding costs with open-weight models
Use open-weight models with the same tools as frontier models, with early-access subscription plans for coding workloads.
Plans and access
Otari Pricing
Freemium
Self-hosted free; hosted plan charges a 4.5% top-up fee, then list-price token rates
Common questions
Otari FAQs
How much does Otari cost?
Self-hosting is free and open source. The hosted version charges a 4.5% fee on top-ups, then token usage at each model's list price. Using your own provider keys adds no extra charge.
Does Otari store my prompts?
No. Otari does not store your prompts or responses; it only records usage, cost, and error logs.
Which models does Otari support?
More than 40 providers of open-weight and frontier models, all reachable through one OpenAI- and Anthropic-compatible API.
What happens if a model provider goes down?
Otari automatically fails over to a backup provider, so your agents keep running without manual intervention.
How do I get started?
Create a free account, generate an API key, and point your agent's base URL at Otari; the first request takes about five minutes. You can also self-host by following the documentation.
Reviews
See what the community thinks and share your experience.
—
Based on 0 ratings
Rating distribution
Community reviews
No reviews
No written reviews yet.