Any model.
One gateway.
‍Your rules.

Otari is an open-source gateway that connects your agents or applications to any model, open-weight or closed.
Give open-weight models the tools they’re missing, see where every token goes, and keep control of what you spend.

Open source on GitHub

Isometric illustration of a translucent door with handle, partially open within a thick, arch-like frame on a dark blue platform with a white line across it.
Works with open-weight and frontier models from

Model choice shouldn’t cost you control

3D illustration of a schematic network with a green arch structure connecting to four smaller green cubes on a blue platform, representing data flow or connectivity.

Open-weight models fall short on their own

They cost less, but without web search and code execution they struggle with real coding work.

Isometric illustration of a key lying on a dark square platform with a 3D bar chart inside a frame standing upright next to it.

Hosted routers
set the terms

You get every model, on someone else’s terms, with your keys and data on their side.

A 3D abstract geometric structure with three vertical blocks on a rectangular base, enclosed by a rectangular frame, with a vintage-style key on the base in front.

Nobody knows where 
the tokens went

Once agents run every day, spend is spread across keys, teams and providers.

Any model, on your terms

Three ascending greenish translucent 3D blocks on a dark rectangular base with the smallest block highlighted with a checkmark symbol.

Choice

Use any model, open-weight or frontier, and switch without getting pulled 
into one provider.

OpenAI-compatible API
Isometric illustration of a medical device scanning a block with a DNA helix symbol on it, placed on a dark platform.

Capability

Give open-weight models web search and code execution, and they come close to frontier capability 
at a fraction of the cost.

Server-side tools, Otari extension for Pi
Isometric illustration of a digital network with data blocks connected by lines passing through a central gateway symbol on a rectangular base.

Audit & Control

See where your tokens go, what your agents did and where they failed, and keep spend in check.

Activity view, budgets
3D isometric illustration of a three-tiered structure with one large base block in teal and three smaller blocks in light green on top.

Open by design

Open source you can run yourself, from Mozilla AI, which has no models or platforms to sell.

Open repository, self-hosting

Built for how your team works

“Open-weight models aren’t good enough for my coding agent.”

Plug an open-weight model into your coding agent and give it web search and code execution. Close to frontier on real tasks, at a fraction of the cost.

agent.py
model = "[open-weight model]"
tools = ["web_search", "code_execution"]

→ tokens 12,480 · cost [£0.00]

“Everyone has their own keys and nobody knows the bill.”

One open-source gateway for the whole team: every model, shared keys and budgets, and a view of what each agent did.

Table titled 'Activity · by person and key' showing API usage and costs for five people: Alex M. used team-key-01 with mistral-large-4 model for 1,204 requests costing $4.82; Priya S. used team-key-01 with deepseek-v3 model for 986 requests costing $1.97; Sam R. used ci-agent with gpt-6.1 model for 642 requests costing $7.31; Jordan K. used team-key-02 with qwen-coder model for 1,530 requests costing $2.14; Lee T. used team-key-02 with claude-5 model for 418 requests costing $5.06.

“We can’t forecast AI spend.”

Cut model spend without cutting capability. See where every token goes, by team, model and agent, and run it yourself if you need to.

Bar chart showing usage cost by team (Platform, Data, Support) for July to October 2026, with total October spend at $18,420. Each month’s stacked bars represent Platform in dark teal, Data in medium teal, and Support in light teal. Costs increase monthly, with October highest. Top model mistral-large-4 accounts for 42% of spend.

Independent
by design

Otari is built by Mozilla AI, part of the Mozilla family. We have no models or platforms to sell, so our interest is keeping your options open. Mozilla AI brings Mozilla’s long-standing principles of openness, trust and human agency into AI infrastructure.

About Mozilla AI

Questions

What is Otari?

Otari by Mozilla AI is the open-source gateway that connects your agents to any model, open-weight or frontier. It gives open-weight models the tools they’re missing, such as web search and code execution, and shows where every token goes.

How do I use an open-weight model in my coding agent?

Point your coding agent at Otari’s OpenAI-compatible endpoint and choose an open-weight model. Turn on web search and code execution so the model can handle real coding tasks. The quickstart on otari.ai takes you through it in under 30 minutes.

How do I track LLM spend per team?

Give each person, team or agent its own key in Otari. The activity view shows tokens and cost by key, model and month, and budgets let you set a limit for each team.

Is Otari open source?

Yes. The code is on GitHub and you can run it on your own infrastructure. otari.ai is the hosted version, run by Mozilla AI.

How is Otari different from a hosted router?

A hosted router gives you many models on the provider’s terms. Otari is open source, so you can run it yourself and keep your keys and data under your control, and it adds server-side tools that bring open-weight models close to frontier capability.

Who builds Otari?

Mozilla AI, part of the Mozilla family. Mozilla AI builds open-source AI products and infrastructure and has no models or platforms to sell.

Ready to try it?

Start free on otari.ai in minutes, or self-host from GitHub.