Synthetic
Synthetic expose des points de terminaison compatibles avec Anthropic.
OpenClaw l’enregistre en tant que fournisseur synthetic et utilise l’Anthropic de messages API.
| Propriété | Valeur |
|---|---|
| Fournisseur | synthetic |
| Auth | SYNTHETIC_API_KEY |
| API | Messages Anthropic |
| URL de base | https://api.synthetic.new/anthropic |
Getting started
Section intitulée « Getting started »Obtenir une clé API
Obtenez une
SYNTHETIC_API_KEYà partir de votre compte Synthetic, ou laissez l’assistant de configuration vous en demander une.Exécuter l'intégration
bash openclaw onboard --auth-choice synthetic-api-keyVérifier le modèle par défaut
Après l’intégration, le modèle par défaut est défini sur :
synthetic/hf:MiniMaxAI/MiniMax-M2.5
Exemple de configuration
Section intitulée « Exemple de configuration »{ 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, }, ], }, }, },}Catalogue intégré
Section intitulée « Catalogue intégré »Tous les modèles Synthetic utilisent le coût 0 (entrée/sortique/cache).
| ID du modèle | Fenêtre de contexte | Jetons max | Raisonnement | Entrée |
|---|---|---|---|---|
hf:MiniMaxAI/MiniMax-M2.5 | 192,000 | 65,536 | non | texte |
hf:moonshotai/Kimi-K2-Thinking | 256,000 | 8,192 | oui | texte |
hf:zai-org/GLM-4.7 | 198,000 | 128,000 | non | texte |
hf:deepseek-ai/DeepSeek-R1-0528 | 128,000 | 8,192 | non | texte |
hf:deepseek-ai/DeepSeek-V3-0324 | 128,000 | 8,192 | non | texte |
hf:deepseek-ai/DeepSeek-V3.1 | 128,000 | 8,192 | non | texte |
hf:deepseek-ai/DeepSeek-V3.1-Terminus | 128,000 | 8,192 | non | texte |
hf:deepseek-ai/DeepSeek-V3.2 | 159,000 | 8,192 | non | texte |
hf:meta-llama/Llama-3.3-70B-Instruct | 128,000 | 8,192 | non | texte |
hf:meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8 | 524,000 | 8,192 | non | texte |
hf:moonshotai/Kimi-K2-Instruct-0905 | 256,000 | 8,192 | non | texte |
hf:moonshotai/Kimi-K2.5 | 256,000 | 8,192 | oui | texte + image |
hf:openai/gpt-oss-120b | 128,000 | 8,192 | non | texte |
hf:Qwen/Qwen3-235B-A22B-Instruct-2507 | 256,000 | 8,192 | non | texte |
hf:Qwen/Qwen3-Coder-480B-A35B-Instruct | 256,000 | 8,192 | non | texte |
hf:Qwen/Qwen3-VL-235B-A22B-Instruct | 250,000 | 8,192 | non | texte + image |
hf:zai-org/GLM-4.5 | 128,000 | 128,000 | non | texte |
hf:zai-org/GLM-4.6 | 198,000 | 128,000 | non | texte |
hf:zai-org/GLM-5 | 256,000 | 128,000 | oui | texte + image |
hf:deepseek-ai/DeepSeek-V3 | 128,000 | 8,192 | non | texte |
hf:Qwen/Qwen3-235B-A22B-Thinking-2507 | 256,000 | 8,192 | oui | texte |
Liste blanche de modèles
Si vous activez une liste blanche de modèles (agents.defaults.models), ajoutez chaque
modèle Synthetic que vous prévoyez d’utiliser. Les modèles qui ne figurent pas dans la liste blanche seront masqués
pour l’agent.
Remplacement de l'URL de base
Si Synthetic modifie son point de terminaison API, remplacez l’URL de base dans votre configuration :
{ models: { providers: { synthetic: { baseUrl: "https://new-api.synthetic.new/anthropic", }, }, },}Rappelez-vous que OpenClaw ajoute /v1 automatiquement.
Connexes
Section intitulée « Connexes »Règles de provider, références de modèle et comportement de basculement.
Schéma de configuration complet incluant les paramètres du provider.
Tableau de bord Synthetic et documentation API.