Skip to content

Open-source AI gateway by Mozilla AI

Any model in your coding agent in 5 minutes

Put open-weight and frontier models behind one API key. See what drives spend, cap it before it runs over, and send each request to the right model.

Choose how to run Otari

  • Hosted on otari.ai

    Send your first request in minutes.
    Mozilla AI runs it for you.

    Get started free
  • Self-hosted

    Run the open-source gateway
    on your own infrastructure, free.

    Read the self-host guide
  • For your company

    Hosted or self-hosted, with Mozilla AI by your side: deployment, support and the features your team needs.

    Book a demo

Get started in
two steps

  1. Create a free account.
    Sign up with GitHub, Google or email,
    and create an API key.

  2. Point your agent at Otari.
    Set the base URL, your API key and a model.
    Every request shows up in Activity.

Read the full quickstart in the docs
export ANTHROPIC_BASE_URL=https://api.otari.ai/api
export ANTHROPIC_AUTH_TOKEN="$OTARI_API_KEY"
export ANTHROPIC_MODEL=anthropic:claude-sonnet-4-6
claude

What you get from day one

  • Model access

    Open-weight and frontier models through one OpenAI- and Anthropic-compatible API.

  • Server-side tools

    Web search, web fetch and code execution for any model, open-weight included.

  • API keys and budgets

    A key for every person, team or agent, and spend caps that stop requests at the limit.

  • Activity view

    Every request with its tokens, cost and errors. Filter to find where an agent failed.

  • Usage and cost

    Cost, tokens and requests by model, person or API key, down to the hour.

  • Fallback

    Automatic fallback between providers.

Works with your models and tools

Providers, coding agents and SDKs that work with Otari today. Any tool that speaks the OpenAI or Anthropic API works too.

Mistral Provider See models
Fireworks AI Provider See models
Together AI Provider See models
Nebius Provider See models
OVHcloud Provider See models
Amazon Bedrock Provider See models
DeepInfra Provider See models
Claude Code Coding agent Setup guide
Codex Coding agent Setup guide
opencode Coding agent Setup guide
Junie Coding agent Setup guide
Pi Coding agent Setup guide
Otari SDK SDK Setup guide
OpenAI-compatible clients SDK Setup guide
any-llm SDK Setup guide

Start free.
Pay for what you use.

Hosted on otari.ai

4.5% fee
on top-ups

Top up, then pay as you go.
No fee on your own provider keys.

Get started free

Talk to Otari

Otari is built by Mozilla AI, part of the Mozilla family. We help companies run AI on any model, open-weight or frontier, and keep its cost in view.

What to expect

  1. A 30-minute call about how your company uses AI.
  2. An assessment of your AI spend, showing where
    open-weight models with tools could cut cost.
  3. A pilot proposal, if Otari is a fit.

Get started

Your first request is five minutes away. Start free on otari.ai, or self-host the open-source gateway.

Get started free