Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Using the Otari gateway

Otari is an OpenAI-compatible LLM gateway from Mozilla AI (powered by any-llm) that provides API key management, budget enforcement, and usage tracking across multiple LLM providers (OpenAI, Anthropic, Google, etc.). You can run it yourself and point jupyterlite-ai at it as a generic OpenAI-compatible provider.

Setting up Otari

Install and run the gateway by following the Otari Quick Start guide. Once it is running, take note of:

Configuring jupyterlite-ai to use Otari

Configure the Generic provider (OpenAI-compatible) with the following settings: