Providers

สังเคราะห์

Synthetic ให้บริการปลายทางที่เข้ากันได้กับ Anthropic OpenClaw รวมบริการนี้ไว้เป็นผู้ให้บริการ synthetic และใช้ API ข้อความของ Anthropic

คุณสมบัติ ค่า
ผู้ให้บริการ synthetic
การยืนยันตัวตน SYNTHETIC_API_KEY
API ข้อความของ Anthropic
URL ฐาน https://api.synthetic.new/anthropic

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

  • รับคีย์ API

    รับ SYNTHETIC_API_KEY จากบัญชี Synthetic ของคุณ หรือให้ขั้นตอนเริ่มต้นใช้งาน แจ้งให้คุณป้อนคีย์

  • เรียกใช้ขั้นตอนเริ่มต้นใช้งาน

    bash
    openclaw onboard --auth-choice synthetic-api-key
  • ตรวจสอบโมเดลเริ่มต้น

    ขั้นตอนเริ่มต้นใช้งานจะตั้งค่าโมเดลเริ่มต้นเป็น:

    text
    synthetic/hf:MiniMaxAI/MiniMax-M2.5
  • ตัวอย่างการกำหนดค่า

    json5
    {  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 (อินพุต/เอาต์พุต/แคช)

    รหัสโมเดล ขนาดหน้าต่างบริบท โทเค็นสูงสุด การให้เหตุผล อินพุต
    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-0324 128,000 8,192 ไม่ ข้อความ
    hf:deepseek-ai/DeepSeek-V3.1 128,000 8,192 ไม่ ข้อความ
    hf:deepseek-ai/DeepSeek-V3.1-Terminus 128,000 8,192 ไม่ ข้อความ
    hf:deepseek-ai/DeepSeek-V3.2 159,000 8,192 ไม่ ข้อความ
    hf:meta-llama/Llama-3.3-70B-Instruct 128,000 8,192 ไม่ ข้อความ
    hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8 524,000 8,192 ไม่ ข้อความ
    hf:moonshotai/Kimi-K2-Instruct-0905 256,000 8,192 ไม่ ข้อความ
    hf:moonshotai/Kimi-K2.5 256,000 8,192 ใช่ ข้อความ + รูปภาพ
    hf:openai/gpt-oss-120b 128,000 8,192 ไม่ ข้อความ
    hf:Qwen/Qwen3-235B-A22B-Instruct-2507 256,000 8,192 ไม่ ข้อความ
    hf:Qwen/Qwen3-Coder-480B-A35B-Instruct 256,000 8,192 ไม่ ข้อความ
    hf:Qwen/Qwen3-VL-235B-A22B-Instruct 250,000 8,192 ไม่ ข้อความ + รูปภาพ
    hf:zai-org/GLM-4.5 128,000 128,000 ไม่ ข้อความ
    hf:zai-org/GLM-4.6 198,000 128,000 ไม่ ข้อความ
    hf:zai-org/GLM-5 256,000 128,000 ใช่ ข้อความ + รูปภาพ
    hf:deepseek-ai/DeepSeek-V3 128,000 8,192 ไม่ ข้อความ
    hf:Qwen/Qwen3-235B-A22B-Thinking-2507 256,000 8,192 ใช่ ข้อความ
    รายการโมเดลที่อนุญาต

    หากคุณเปิดใช้งานรายการโมเดลที่อนุญาต (agents.defaults.models) ให้เพิ่มโมเดล Synthetic ทุกโมเดลที่คุณวางแผนจะใช้ โมเดลที่ไม่อยู่ในรายการที่อนุญาตจะถูกซ่อน จากเอเจนต์

    แทนที่ URL ฐาน

    หาก Synthetic เปลี่ยนปลายทาง API ให้แทนที่ URL ฐาน:

    json5
    {  models: {    providers: {      synthetic: {        baseUrl: "https://new-api.synthetic.new/anthropic",      },    },  },}

    OpenClaw ยังคงเติม /v1 ต่อท้ายโดยอัตโนมัติ

    เนื้อหาที่เกี่ยวข้อง

    Was this useful?
    On this page

    On this page