---
title: "在 Goose 中使用 Lazu（自訂 Provider JSON）"
description: "透過自訂 Provider JSON 將 Lazu 接入 Goose。"
source: https://lazu.ai/docs/zh-TW/integrations/goose
updated: 2026-12-04
---

# Goose

將以下內容儲存為 `~/.config/goose/custom_providers/lazu.json`，匯出 `LAZU_API_KEY` 後執行 `goose configure` 選擇 **Lazu**：

```json
{
  "name": "lazu",
  "engine": "openai",
  "display_name": "Lazu",
  "description": "AI gateway for Claude, GPT, Gemini, and DeepSeek models",
  "api_key_env": "LAZU_API_KEY",
  "base_url": "https://api.lazu.ai/v1/chat/completions",
  "models_path": "/v1/models",
  "models": [
    { "name": "claude-sonnet-5-5", "context_limit": 1000000 },
    { "name": "claude-opus-5-5", "context_limit": 1000000 },
    { "name": "gpt-6.2-astra", "context_limit": 1050000 },
    { "name": "gemini-4-hydrogen", "context_limit": 1048576 },
    { "name": "deepseek-v4-pro", "context_limit": 1000000 }
  ]
}
```
