Zum Hauptinhalt springen

Synthetic

Synthetic stellt Anthropic-kompatible Endpunkte bereit. OpenClaw registriert es als synthetic-Anbieter und verwendet die Anthropic Messages API.

Schnellstart

  1. Setzen Sie SYNTHETIC_API_KEY (oder führen Sie den Assistenten unten aus).
  2. Führen Sie das Onboarding aus:
openclaw onboard --auth-choice synthetic-api-key
Das Standardmodell ist eingestellt auf:
synthetic/hf:MiniMaxAI/MiniMax-M2.1

Konfigurationsbeispiel

{
  env: { SYNTHETIC_API_KEY: "sk-..." },
  agents: {
    defaults: {
      model: { primary: "synthetic/hf:MiniMaxAI/MiniMax-M2.1" },
      models: { "synthetic/hf:MiniMaxAI/MiniMax-M2.1": { alias: "MiniMax M2.1" } },
    },
  },
  models: {
    mode: "merge",
    providers: {
      synthetic: {
        baseUrl: "https://api.synthetic.new/anthropic",
        apiKey: "${SYNTHETIC_API_KEY}",
        api: "anthropic-messages",
        models: [
          {
            id: "hf:MiniMaxAI/MiniMax-M2.1",
            name: "MiniMax M2.1",
            reasoning: false,
            input: ["text"],
            cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
            contextWindow: 192000,
            maxTokens: 65536,
          },
        ],
      },
    },
  },
}
Hinweis: Der Anthropic-Client von OpenClaw hängt /v1 an die Base-URL an, verwenden Sie daher https://api.synthetic.new/anthropic (nicht /anthropic/v1). Wenn Synthetic seine Base-URL ändert, überschreiben Sie models.providers.synthetic.baseUrl.

Modellkatalog

Alle unten aufgeführten Modelle verwenden Kosten 0 (Eingabe/Ausgabe/Cache).
Modell-IDKontextfensterMaximale TokensBegründungEingabe
hf:MiniMaxAI/MiniMax-M2.119200065536falseText
hf:moonshotai/Kimi-K2-Thinking2560008192trueText
hf:zai-org/GLM-4.7198000128000falseText
hf:deepseek-ai/DeepSeek-R1-05281280008192falseText
hf:deepseek-ai/DeepSeek-V3-03241280008192falseText
hf:deepseek-ai/DeepSeek-V3.11280008192falseText
hf:deepseek-ai/DeepSeek-V3.1-Terminus1280008192falseText
hf:deepseek-ai/DeepSeek-V3.21590008192falseText
hf:meta-llama/Llama-3.3-70B-Instruct1280008192falseText
hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP85240008192falseText
hf:moonshotai/Kimi-K2-Instruct-09052560008192falseText
hf:openai/gpt-oss-120b1280008192falseText
hf:Qwen/Qwen3-235B-A22B-Instruct-25072560008192falseText
hf:Qwen/Qwen3-Coder-480B-A35B-Instruct2560008192falseText
hf:Qwen/Qwen3-VL-235B-A22B-Instruct2500008192falseText + Bild
hf:zai-org/GLM-4.5128000128000falseText
hf:zai-org/GLM-4.6198000128000falseText
hf:deepseek-ai/DeepSeek-V31280008192falseText
hf:Qwen/Qwen3-235B-A22B-Thinking-25072560008192trueText

Hinweise

  • Modellreferenzen verwenden synthetic/<modelId>.
  • Wenn Sie eine Modell-Allowlist aktivieren (agents.defaults.models), fügen Sie jedes Modell hinzu, das Sie verwenden möchten.
  • Siehe Model providers für Anbieterregeln.