Skip to content

Synthetic

Synthetic 公開了與 Anthropic 相容的端點。OpenClaw 將其註冊為 synthetic 提供者,並使用 Anthropic Messages API。

  1. 設定 SYNTHETIC_API_KEY (或執行下方的精靈)。
  2. 執行上架:
Terminal window
openclaw onboard --auth-choice synthetic-api-key

預設模型設定為:

synthetic/hf:MiniMaxAI/MiniMax-M2.5
{
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,
},
],
},
},
},
}

注意:OpenClaw 的 Anthropic 用戶端會在基礎 URL 附加 /v1,因此請使用 https://api.synthetic.new/anthropic (而非 /anthropic/v1)。如果 Synthetic 變更 了基礎 URL,請覆寫 models.providers.synthetic.baseUrl

以下所有模型均使用成本 0 (輸入/輸出/快取)。

模型 ID內容視窗最大 tokens推理輸入
hf:MiniMaxAI/MiniMax-M2.519200065536false文字
hf:moonshotai/Kimi-K2-Thinking2560008192true文字
hf:zai-org/GLM-4.7198000128000false文字
hf:deepseek-ai/DeepSeek-R1-05281280008192false文字
hf:deepseek-ai/DeepSeek-V3-03241280008192false文字
hf:deepseek-ai/DeepSeek-V3.11280008192false文字
hf:deepseek-ai/DeepSeek-V3.1-Terminus1280008192false文字
hf:deepseek-ai/DeepSeek-V3.21590008192false文字
hf:meta-llama/Llama-3.3-70B-Instruct1280008192false文字
hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP85240008192false文字
hf:moonshotai/Kimi-K2-Instruct-09052560008192false文字
hf:openai/gpt-oss-120b1280008192false文字
hf:Qwen/Qwen3-235B-A22B-Instruct-25072560008192false文字
hf:Qwen/Qwen3-Coder-480B-A35B-Instruct2560008192false文字
hf:Qwen/Qwen3-VL-235B-A22B-Instruct2500008192false文字 + 圖片
hf:zai-org/GLM-4.5128000128000false文字
hf:zai-org/GLM-4.6198000128000false文字
hf:deepseek-ai/DeepSeek-V31280008192false文字
hf:Qwen/Qwen3-235B-A22B-Thinking-25072560008192true文字
  • 模型參照使用 synthetic/<modelId>
  • 如果您啟用模型允許清單 (agents.defaults.models),請新增您計劃使用的每個模型。
  • 請參閱 Model providers 以了解提供者規則。