Synthetic 暴露 Anthropic 兼容端点,OpenClaw 使用 Anthropic Messages API 接入。
| 属性 | 值 |
|---|---|
| Provider ID | synthetic |
| 认证 | SYNTHETIC_API_KEY |
| API | Anthropic Messages |
| Base URL | https://api.synthetic.new/anthropic |
| 默认模型 | synthetic/hf:MiniMaxAI/MiniMax-M2.5 |
注意:OpenClaw 会自动在 Base URL 后追加 /v1,配置时不要写 /anthropic/v1。
快速开始
openclaw onboard --auth-choice synthetic-api-key配置示例
{
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",
},
},
},
}内置模型目录(部分)
所有模型费用为 0(input/output/cache)。
| 模型 ID | 上下文 | 最大 token | 推理 |
|---|---|---|---|
hf:MiniMaxAI/MiniMax-M2.5 | 192,000 | 65,536 | 否 |
hf:moonshotai/Kimi-K2-Thinking | 256,000 | 8,192 | 是 |
hf:zai-org/GLM-4.7 | 198,000 | 128,000 | 否 |
hf:deepseek-ai/DeepSeek-R1-0528 | 128,000 | 8,192 | 否 |
hf:deepseek-ai/DeepSeek-V3.2 | 159,000 | 8,192 | 否 |
hf:moonshotai/Kimi-K2.5 | 256,000 | 8,192 | 是(支持图像) |
hf:zai-org/GLM-5 | 256,000 | 128,000 | 是(支持图像) |
hf:Qwen/Qwen3-Coder-480B-A35B-Instruct | 256,000 | 8,192 | 否 |
模型 ref 格式:synthetic/<modelId>。
相关链接
- provider-together — 另一个开源模型聚合提供商
- provider-huggingface — HuggingFace 推理
- providers — 所有 provider 总览