3,672 prompts from top AI collections
← Back to Market
[UNTESTED] [mozilla-ai/otari] 1 endpoint(s)
ChatGPT API Proxy/ChatGPT
2,120 characters
Status: [UNTESTED] Endpoints found: https://your-platform.example/api/v1 Source: https://github.com/mozilla-ai/otari # otari gateway [![Tests](https://github.com/mozilla-ai/gateway/actions/workflows/gateway-tests.yml/badge.svg)](https://github.com/mozilla-ai/gateway/actions/workflows/gateway-tests.yml) [![Lint](https://github.com/mozilla-ai/gateway/actions/workflows/gateway-lint.yml/badge.svg)](https://github.com/mozilla-ai/gateway/actions/workflows/gateway-lint.yml) [![Typecheck](https://github.com/mozilla-ai/gateway/actions/workflows/gateway-typecheck.yml/badge.svg)](https://github.com/mozilla-ai/gateway/actions/workflows/gateway-typecheck.yml) [![Docker](https://github.com/mozilla-ai/gateway/actions/workflows/gateway-docker.yml/badge.svg)](https://github.com/mozilla-ai/gateway/actions/workflows/gateway-docker.yml) ![Python 3.13+](https://img.shields.io/badge/python-3.13%2B-blue.svg) OpenAI-compatible LLM gateway with API key management, budget enforcement, and usage tracking. </div> ## Why gateway? `gateway` sits between your applications and LLM providers so you can control access, cost, and observability in one place. - OpenAI-compatible endpoints (`/v1/chat/completions`, `/v1/embeddings`, `/v1/models`) - Virtual API key management (`/v1/keys`) for safe client access - User and budget controls (`/v1/users`, `/v1/budgets`) - Usage and pricing tracking (`/v1/messages`, `/v1/pricing`) - Health and metrics endpoints (`/health`, optional `/metrics`) - Built-in tools dispatched server-side — `code_execution` (sandboxed Python REPL) and `web_search`. See [Built-in tools](#built-in-tools). ## Quickstart ### 1) Install ```bash uv venv source .venv/bin/activate uv sync --dev ``` ### 2) Configure ```bash cp config.example.yml config.yml ``` Edit `config.yml` and set at least: - `master_key` - one provider credential in `providers` (for example `openai.api_key`) ### 3) Run ```bash uv run gateway serve --config config.yml ``` Open API docs at `http://localhost:8000/docs`. ## Start in platform mode Platform mode is enabled automatically when `OTARI_PLATFORM_TOKEN` is se
Download .txt