---
title: "在 Codex CLI 中使用 Lazu"
description: "將 Codex CLI 接入 Lazu 原生 Responses API（wire_api = responses）。"
source: https://lazu.ai/docs/zh-TW/integrations/codex
updated: 2026-12-04
---

# Codex CLI

在 `~/.codex/config.toml` 設定 Lazu 原生 Responses 端點並匯出 `LAZU_API_KEY`：

```toml
model_provider = "lazu"
model = "gpt-6.2-astra"

[model_providers.lazu]
name = "Lazu"
base_url = "https://api.lazu.ai/v1"
env_key = "LAZU_API_KEY"
wire_api = "responses"
```
