Vai al contenuto principale

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 espone endpoint compatibili Anthropic. OpenClaw lo registra come provider synthetic e usa l’API Anthropic Messages.
ProprietàValore
Providersynthetic
AuthSYNTHETIC_API_KEY
APIAnthropic Messages
URL basehttps://api.synthetic.new/anthropic

Per iniziare

1

Ottieni una API key

Ottieni una SYNTHETIC_API_KEY dal tuo account Synthetic, oppure lascia che la procedura guidata di onboarding te ne richieda una.
2

Esegui l'onboarding

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

Verifica il modello predefinito

Dopo l’onboarding il modello predefinito viene impostato su:
synthetic/hf:MiniMaxAI/MiniMax-M2.5
Il client Anthropic di OpenClaw aggiunge automaticamente /v1 all’URL base, quindi usa https://api.synthetic.new/anthropic (non /anthropic/v1). Se Synthetic cambia il suo URL base, sovrascrivi models.providers.synthetic.baseUrl.

Esempio di configurazione

{
  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,
          },
        ],
      },
    },
  },
}

Catalogo integrato

Tutti i modelli Synthetic usano costo 0 (input/output/cache).
ID modelloFinestra di contestoToken maxReasoningInput
hf:MiniMaxAI/MiniMax-M2.5192,00065,536notext
hf:moonshotai/Kimi-K2-Thinking256,0008,192text
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,192text + 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,000text + image
hf:deepseek-ai/DeepSeek-V3128,0008,192notext
hf:Qwen/Qwen3-235B-A22B-Thinking-2507256,0008,192text
I riferimenti dei modelli usano la forma synthetic/<modelId>. Usa openclaw models list --provider synthetic per vedere tutti i modelli disponibili sul tuo account.
Se abiliti una allowlist dei modelli (agents.defaults.models), aggiungi ogni modello Synthetic che intendi usare. I modelli non presenti nell’allowlist verranno nascosti all’agente.
Se Synthetic cambia il proprio endpoint API, sovrascrivi l’URL base nella tua configurazione:
{
  models: {
    providers: {
      synthetic: {
        baseUrl: "https://new-api.synthetic.new/anthropic",
      },
    },
  },
}
Ricorda che OpenClaw aggiunge automaticamente /v1.

Correlati

Selezione del modello

Regole dei provider, riferimenti dei modelli e comportamento di failover.

Configuration reference

Schema completo di configurazione, incluse le impostazioni del provider.

Synthetic

Dashboard Synthetic e documentazione API.