> ## Documentation Index
> Fetch the complete documentation index at: https://docs2.openclaw.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 合成

[Synthetic](https://synthetic.new) は Anthropic 互換エンドポイントを公開しています。
OpenClaw はこれを `synthetic` プロバイダーとしてバンドルし、Anthropic
Messages API を使用します。

| プロパティ   | 値                                     |
| ------- | ------------------------------------- |
| プロバイダー  | `synthetic`                           |
| 認証      | `SYNTHETIC_API_KEY`                   |
| API     | Anthropic Messages                    |
| ベース URL | `https://api.synthetic.new/anthropic` |

## はじめに

<Steps>
  <Step title="API キーを取得する">
    Synthetic アカウントから `SYNTHETIC_API_KEY` を取得するか、オンボーディングで
    入力を求められるようにします。
  </Step>

  <Step title="オンボーディングを実行する">
    ```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
    openclaw onboard --auth-choice synthetic-api-key
    ```
  </Step>

  <Step title="デフォルトモデルを確認する">
    オンボーディングはデフォルトモデルを次に設定します。

    ```text theme={"theme":{"light":"min-light","dark":"min-dark"}}
    synthetic/hf:MiniMaxAI/MiniMax-M2.5
    ```
  </Step>
</Steps>

<Warning>
  OpenClaw の Anthropic クライアントはベース URL に `/v1` を自動的に追加するため、
  `https://api.synthetic.new/anthropic`（`/anthropic/v1` ではない）を使用してください。Synthetic が
  ベース URL を変更した場合は、`models.providers.synthetic.baseUrl` を上書きしてください。
</Warning>

## 設定例

```json5 theme={"theme":{"light":"min-light","dark":"min-dark"}}
{
  env: { SYNTHETIC_API_KEY: "sk-..." },
  agents: {
    defaults: {
      model: { primary: "synthetic/hf:MiniMaxAI/MiniMax-M2.5" },
      models: { "synthetic/hf:MiniMaxAI/MiniMax-M2.5": { alias: "MiniMax M2.5" } },
    },
  },
  models: {
    mode: "merge",
    providers: {
      synthetic: {
        baseUrl: "https://api.synthetic.new/anthropic",
        apiKey: "${SYNTHETIC_API_KEY}",
        api: "anthropic-messages",
        models: [
          {
            id: "hf:MiniMaxAI/MiniMax-M2.5",
            name: "MiniMax M2.5",
            reasoning: false,
            input: ["text"],
            cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
            contextWindow: 192000,
            maxTokens: 65536,
          },
        ],
      },
    },
  },
}
```

## 組み込みカタログ

すべての Synthetic モデルはコスト `0`（input/output/cache）を使用します。

| モデル ID                                                 | コンテキストウィンドウ | 最大トークン  | 推論  | 入力           |
| ------------------------------------------------------ | ----------- | ------- | --- | ------------ |
| `hf:MiniMaxAI/MiniMax-M2.5`                            | 192,000     | 65,536  | いいえ | text         |
| `hf:moonshotai/Kimi-K2-Thinking`                       | 256,000     | 8,192   | はい  | text         |
| `hf:zai-org/GLM-4.7`                                   | 198,000     | 128,000 | いいえ | text         |
| `hf:deepseek-ai/DeepSeek-R1-0528`                      | 128,000     | 8,192   | いいえ | text         |
| `hf:deepseek-ai/DeepSeek-V3-0324`                      | 128,000     | 8,192   | いいえ | text         |
| `hf:deepseek-ai/DeepSeek-V3.1`                         | 128,000     | 8,192   | いいえ | text         |
| `hf:deepseek-ai/DeepSeek-V3.1-Terminus`                | 128,000     | 8,192   | いいえ | text         |
| `hf:deepseek-ai/DeepSeek-V3.2`                         | 159,000     | 8,192   | いいえ | text         |
| `hf:meta-llama/Llama-3.3-70B-Instruct`                 | 128,000     | 8,192   | いいえ | text         |
| `hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8` | 524,000     | 8,192   | いいえ | text         |
| `hf:moonshotai/Kimi-K2-Instruct-0905`                  | 256,000     | 8,192   | いいえ | text         |
| `hf:moonshotai/Kimi-K2.5`                              | 256,000     | 8,192   | はい  | text + image |
| `hf:openai/gpt-oss-120b`                               | 128,000     | 8,192   | いいえ | text         |
| `hf:Qwen/Qwen3-235B-A22B-Instruct-2507`                | 256,000     | 8,192   | いいえ | text         |
| `hf:Qwen/Qwen3-Coder-480B-A35B-Instruct`               | 256,000     | 8,192   | いいえ | text         |
| `hf:Qwen/Qwen3-VL-235B-A22B-Instruct`                  | 250,000     | 8,192   | いいえ | text + image |
| `hf:zai-org/GLM-4.5`                                   | 128,000     | 128,000 | いいえ | text         |
| `hf:zai-org/GLM-4.6`                                   | 198,000     | 128,000 | いいえ | text         |
| `hf:zai-org/GLM-5`                                     | 256,000     | 128,000 | はい  | text + image |
| `hf:deepseek-ai/DeepSeek-V3`                           | 128,000     | 8,192   | いいえ | text         |
| `hf:Qwen/Qwen3-235B-A22B-Thinking-2507`                | 256,000     | 8,192   | はい  | text         |

<Tip>
  モデル参照は `synthetic/<modelId>` の形式を使用します。アカウントで利用可能なすべてのモデルを確認するには、
  `openclaw models list --provider synthetic` を使用してください。
</Tip>

<AccordionGroup>
  <Accordion title="モデル許可リスト">
    モデル許可リスト（`agents.defaults.models`）を有効にする場合は、使用する予定の
    すべての Synthetic モデルを追加してください。許可リストに含まれていないモデルは
    エージェントから非表示になります。
  </Accordion>

  <Accordion title="ベース URL の上書き">
    Synthetic が API エンドポイントを変更した場合は、ベース URL を上書きしてください。

    ```json5 theme={"theme":{"light":"min-light","dark":"min-dark"}}
    {
      models: {
        providers: {
          synthetic: {
            baseUrl: "https://new-api.synthetic.new/anthropic",
          },
        },
      },
    }
    ```

    OpenClaw は引き続き `/v1` を自動的に追加します。
  </Accordion>
</AccordionGroup>

## 関連

<CardGroup cols={2}>
  <Card title="モデルプロバイダー" href="/ja-JP/concepts/model-providers" icon="layers">
    プロバイダールール、モデル参照、フェイルオーバー動作。
  </Card>

  <Card title="設定リファレンス" href="/ja-JP/gateway/configuration-reference" icon="gear">
    プロバイダー設定を含む完全な設定スキーマ。
  </Card>

  <Card title="Synthetic" href="https://synthetic.new" icon="arrow-up-right-from-square">
    Synthetic ダッシュボードと API ドキュメント。
  </Card>
</CardGroup>
