# Lazu Docs Lazu is a unified AI model gateway for people and agents. Recommended workflow: - Use Authorization: Bearer - Call GET /api/models/catalog first - Choose the model by modality, supported_endpoint_types, supported_endpoints, pricing, and default_endpoint_type - Then call the matching Lazu endpoint Important URLs: - Docs home: https://docs.lazu.ai - API Reference: https://docs.lazu.ai/api-reference - OpenAPI JSON: https://docs.lazu.ai/openapi.json - Full LLM context: https://docs.lazu.ai/llms-full.txt ## Documentation pages - [Lazu Docs](https://docs.lazu.ai): Unified AI gateway — one key, every major model, transparent per-lane pricing, OpenAI-compatible. - [Lazu 文档](https://docs.lazu.ai/zh/): Lazu API 的认证、模型发现、OpenAI 兼容调用、原生 provider API 和生产排障指南。 - [Lazu 文件](https://docs.lazu.ai/zh-TW/): Lazu API 的認證、模型發現、OpenAI 相容呼叫、原生 provider API 與生產排障指南。 - [Lazu ドキュメント](https://docs.lazu.ai/ja/): Lazu API の認証、モデル検索、OpenAI 互換呼び出し、ネイティブ provider API、本番トラブルシューティングのガイド。 - [Code Examples](https://docs.lazu.ai/examples): Lazu API examples for cURL, Python, JavaScript and production troubleshooting. - [代码示例](https://docs.lazu.ai/zh/examples): Lazu API 的 cURL、Python、JavaScript 和生产排障示例。 - [程式碼範例](https://docs.lazu.ai/zh-TW/examples): Lazu API 的 cURL、Python、JavaScript 與生產排障範例。 - [コードサンプル](https://docs.lazu.ai/ja/examples): Lazu API の cURL、Python、JavaScript、本番トラブルシューティングのサンプル。 - [API Reference](https://docs.lazu.ai/api-reference): Interactive OpenAPI reference for request and response fields. - [API Reference](https://docs.lazu.ai/zh/api-reference): Lazu API 交互式 OpenAPI 参考。 - [API Reference](https://docs.lazu.ai/zh-TW/api-reference): Lazu API 互動式 OpenAPI 參考。 - [API Reference](https://docs.lazu.ai/ja/api-reference): Lazu API のインタラクティブ OpenAPI リファレンス。 - [Changelog](https://docs.lazu.ai/changelog): Lazu API and documentation updates. - [更新日志](https://docs.lazu.ai/zh/changelog): Lazu API 和文档更新记录。 - [更新日誌](https://docs.lazu.ai/zh-TW/changelog): Lazu API 與文件更新記錄。 - [更新履歴](https://docs.lazu.ai/ja/changelog): Lazu API とドキュメントの更新情報。 - [Authentication](https://docs.lazu.ai/authentication): How to authenticate against Lazu — OpenAI-compatible header, Anthropic native, Gemini native. - [鉴权](https://docs.lazu.ai/zh/authentication): 鉴权 — 中文版翻译进行中 - [驗證](https://docs.lazu.ai/zh-TW/authentication): 驗證 — 繁體中文版翻譯進行中 - [認証](https://docs.lazu.ai/ja/authentication): 認証 — 日本語版を翻訳中 - [How pricing works](https://docs.lazu.ai/billing): Lazu's billing model, refund rules, partial usage handling, and tier behaviour. - [计费规则](https://docs.lazu.ai/zh/billing): 计费规则 — 中文版翻译进行中 - [計費規則](https://docs.lazu.ai/zh-TW/billing): 計費規則 — 繁體中文版翻譯進行中 - [料金体系](https://docs.lazu.ai/ja/billing): 料金体系 — 日本語版を翻訳中 - [Chat completions](https://docs.lazu.ai/endpoints/chat): OpenAI-compatible /v1/chat/completions — chat, streaming, function calling, vision (inline base64). - [Chat completions](https://docs.lazu.ai/zh/endpoints/chat): Chat completions — 中文版翻译进行中 - [Chat completions](https://docs.lazu.ai/zh-TW/endpoints/chat): Chat completions — 繁體中文版翻譯進行中 - [Chat completions](https://docs.lazu.ai/ja/endpoints/chat): Chat completions — 日本語版を翻訳中 - [Embeddings](https://docs.lazu.ai/endpoints/embeddings): /v1/embeddings — text embeddings, OpenAI-compatible, multiple model providers. - [Embeddings](https://docs.lazu.ai/zh/endpoints/embeddings): Embeddings — 中文版翻译进行中 - [Embeddings](https://docs.lazu.ai/zh-TW/endpoints/embeddings): Embeddings — 繁體中文版翻譯進行中 - [Embeddings](https://docs.lazu.ai/ja/endpoints/embeddings): Embeddings — 日本語版を翻訳中 - [Files API](https://docs.lazu.ai/endpoints/files): Upload PDFs, images and other documents, then reference them by file_id from the Responses API. - [Files API](https://docs.lazu.ai/zh/endpoints/files): Files API — 中文版翻译进行中 - [Files API](https://docs.lazu.ai/zh-TW/endpoints/files): Files API — 繁體中文版翻譯進行中 - [Files API](https://docs.lazu.ai/ja/endpoints/files): Files API — 日本語版を翻訳中 - [Models list](https://docs.lazu.ai/endpoints/models): /v1/models — list models the current API key can access, OpenAI-compatible format. - [模型列表](https://docs.lazu.ai/zh/endpoints/models): 模型列表 — 中文版翻译进行中 - [模型列表](https://docs.lazu.ai/zh-TW/endpoints/models): 模型列表 — 繁體中文版翻譯進行中 - [モデル一覧](https://docs.lazu.ai/ja/endpoints/models): モデル一覧 — 日本語版を翻訳中 - [Responses API](https://docs.lazu.ai/endpoints/responses): OpenAI's newer Responses endpoint — supports file_id references via Lazu's Files API. - [Responses](https://docs.lazu.ai/zh/endpoints/responses): Responses — 中文版翻译进行中 - [Responses](https://docs.lazu.ai/zh-TW/endpoints/responses): Responses — 繁體中文版翻譯進行中 - [Responses](https://docs.lazu.ai/ja/endpoints/responses): Responses — 日本語版を翻訳中 - [Errors](https://docs.lazu.ai/errors): How to read Lazu error responses, common codes you'll hit, and what to do about each. - [错误码](https://docs.lazu.ai/zh/errors): 错误码 — 中文版翻译进行中 - [錯誤碼](https://docs.lazu.ai/zh-TW/errors): 錯誤碼 — 繁體中文版翻譯進行中 - [エラーコード](https://docs.lazu.ai/ja/errors): エラーコード — 日本語版を翻訳中 - [Rate limits](https://docs.lazu.ai/limits): Lazu enforces per-tier RPM and TPM caps, plus a lower cap for unverified (never-funded) accounts. - [请求频率限制](https://docs.lazu.ai/zh/limits): 请求频率限制 — 中文版翻译进行中 - [請求頻率限制](https://docs.lazu.ai/zh-TW/limits): 請求頻率限制 — 繁體中文版翻譯進行中 - [レート制限](https://docs.lazu.ai/ja/limits): レート制限 — 日本語版を翻訳中 - [Model catalog](https://docs.lazu.ai/models/catalog): Discover available models and their capabilities at runtime via /api/models/catalog. - [模型目录](https://docs.lazu.ai/zh/models/catalog): 模型目录 — 中文版翻译进行中 - [模型目錄](https://docs.lazu.ai/zh-TW/models/catalog): 模型目錄 — 繁體中文版翻譯進行中 - [モデルカタログ](https://docs.lazu.ai/ja/models/catalog): モデルカタログ — 日本語版を翻訳中 - [Pricing & lanes](https://docs.lazu.ai/models/pricing): Lazu offers two routing lanes — direct and cheap — with transparent per-lane pricing and an official reference price for every model. - [定价与渠道](https://docs.lazu.ai/zh/models/pricing): 定价与渠道 — 中文版翻译进行中 - [定價與通道](https://docs.lazu.ai/zh-TW/models/pricing): 定價與通道 — 繁體中文版翻譯進行中 - [料金と経路](https://docs.lazu.ai/ja/models/pricing): 料金と経路 — 日本語版を翻訳中 - [Quickstart](https://docs.lazu.ai/quickstart): Make your first Lazu API call in under 60 seconds with cURL, Python or TypeScript. - [快速开始](https://docs.lazu.ai/zh/quickstart): 快速开始 — 中文版翻译进行中 - [快速開始](https://docs.lazu.ai/zh-TW/quickstart): 快速開始 — 繁體中文版翻譯進行中 - [クイックスタート](https://docs.lazu.ai/ja/quickstart): クイックスタート — 日本語版を翻訳中