Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.openclaw.ai/llms.txt

Use this file to discover all available pages before exploring further.

Synthetic เปิดเผยปลายทางที่เข้ากันได้กับ Anthropic OpenClaw ลงทะเบียนมันเป็น provider synthetic และใช้ Anthropic Messages API
คุณสมบัติค่า
Providersynthetic
AuthSYNTHETIC_API_KEY
APIAnthropic Messages
Base URLhttps://api.synthetic.new/anthropic

เริ่มต้นใช้งาน

1

รับ API key

รับ SYNTHETIC_API_KEY จากบัญชี Synthetic ของคุณ หรือให้ onboarding wizard ถามคุณก็ได้
2

รันการเริ่มต้นใช้งาน

openclaw onboard --auth-choice synthetic-api-key
3

ตรวจสอบโมเดลเริ่มต้น

หลัง onboarding โมเดลเริ่มต้นจะถูกตั้งเป็น:
synthetic/hf:MiniMaxAI/MiniMax-M2.5
ไคลเอนต์ Anthropic ของ OpenClaw จะต่อท้าย /v1 ให้ base URL โดยอัตโนมัติ ดังนั้นให้ใช้ https://api.synthetic.new/anthropic (ไม่ใช่ /anthropic/v1) หาก Synthetic เปลี่ยน base URL ให้ override models.providers.synthetic.baseUrl

ตัวอย่าง Config

{
  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 ทั้งหมดใช้ cost 0 (input/output/cache)
Model IDContext windowMax tokensReasoningอินพุต
hf:MiniMaxAI/MiniMax-M2.5192,00065,536notext
hf:moonshotai/Kimi-K2-Thinking256,0008,192yestext
hf:zai-org/GLM-4.7198,000128,000notext
hf:deepseek-ai/DeepSeek-R1-0528128,0008,192notext
hf:deepseek-ai/DeepSeek-V3-0324128,0008,192notext
hf:deepseek-ai/DeepSeek-V3.1128,0008,192notext
hf:deepseek-ai/DeepSeek-V3.1-Terminus128,0008,192notext
hf:deepseek-ai/DeepSeek-V3.2159,0008,192notext
hf:meta-llama/Llama-3.3-70B-Instruct128,0008,192notext
hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8524,0008,192notext
hf:moonshotai/Kimi-K2-Instruct-0905256,0008,192notext
hf:moonshotai/Kimi-K2.5256,0008,192yestext + image
hf:openai/gpt-oss-120b128,0008,192notext
hf:Qwen/Qwen3-235B-A22B-Instruct-2507256,0008,192notext
hf:Qwen/Qwen3-Coder-480B-A35B-Instruct256,0008,192notext
hf:Qwen/Qwen3-VL-235B-A22B-Instruct250,0008,192notext + image
hf:zai-org/GLM-4.5128,000128,000notext
hf:zai-org/GLM-4.6198,000128,000notext
hf:zai-org/GLM-5256,000128,000yestext + image
hf:deepseek-ai/DeepSeek-V3128,0008,192notext
hf:Qwen/Qwen3-235B-A22B-Thinking-2507256,0008,192yestext
model refs ใช้รูปแบบ synthetic/<modelId> ใช้ openclaw models list --provider synthetic เพื่อดูโมเดลทั้งหมดที่ใช้ได้ใน บัญชีของคุณ
หากคุณเปิดใช้ model allowlist (agents.defaults.models) ให้เพิ่มทุก โมเดล Synthetic ที่คุณวางแผนจะใช้ โมเดลที่ไม่อยู่ใน allowlist จะถูกซ่อน จากเอเจนต์
หาก Synthetic เปลี่ยน API endpoint ให้ override base URL ใน config ของคุณ:
{
  models: {
    providers: {
      synthetic: {
        baseUrl: "https://new-api.synthetic.new/anthropic",
      },
    },
  },
}
โปรดจำไว้ว่า OpenClaw จะต่อท้าย /v1 ให้อัตโนมัติ

ที่เกี่ยวข้อง

การเลือกโมเดล

กฎของ provider, model refs และลักษณะการทำงานของ failover

ข้อมูลอ้างอิงการกำหนดค่า

schema ของ config แบบเต็ม รวมถึงการตั้งค่า provider

Synthetic

แดชบอร์ด Synthetic และเอกสาร API