---
title: "一个 API Key 调用 Claude、GPT、Gemini、DeepSeek"
description: "Lazu API 文档：一个 OpenAI 兼容的 Key 调用目录里的所有模型——快速开始、接口、定价线路、错误码与请求回执。"
source: https://lazu.ai/docs/zh/
updated: 2026-10-02
---

# 一个 Key，接入所有模型。

OpenAI 兼容的网关，接入你的 Key 可用的所有模型。先查模型，再调接口，最后看回执。

**Base URL**: `https://api.lazu.ai/v1` · **Auth**: `Authorization: Bearer $LAZU_API_KEY` · **Index**: `https://lazu.ai/docs/llms.txt`

## 开始

- [快速开始](https://lazu.ai/docs/zh/quickstart)
- [鉴权](https://lazu.ai/docs/zh/authentication)
- [模型目录](https://lazu.ai/docs/zh/models/catalog)
- [定价与渠道](https://lazu.ai/docs/zh/models/pricing)

## 接口

- [Chat completions](https://lazu.ai/docs/zh/endpoints/chat)
- [Responses](https://lazu.ai/docs/zh/endpoints/responses)
- [Embeddings](https://lazu.ai/docs/zh/endpoints/embeddings)
- [Search](https://lazu.ai/docs/zh/endpoints/search)
- [Files](https://lazu.ai/docs/zh/endpoints/files)
- [图片、视频与音频](https://lazu.ai/docs/zh/endpoints/media)

## 参考

- [错误码](https://lazu.ai/docs/zh/errors)
- [请求频率限制](https://lazu.ai/docs/zh/limits)
- [计费规则](https://lazu.ai/docs/zh/billing)
- [API Explorer](https://lazu.ai/docs/zh/api-reference)
- [更新日志](https://lazu.ai/docs/zh/changelog)

## Hello, Lazu

只改 base URL， SDK 照用。

```python
from openai import OpenAI

client = OpenAI(
    base_url="https://api.lazu.ai/v1",
    api_key="YOUR_LAZU_KEY",
)

resp = client.chat.completions.create(
    model="gpt-6-luna",
    messages=[{"role": "user", "content": "Say hello"}],
)
print(resp.choices[0].message.content)
```

## 把文档交给你的 Agent

[llms.txt](https://lazu.ai/docs/llms.txt)
