Use Synthetic's Anthropic-compatible API in OpenClaw
You want to use Synthetic as a model provider
You need a Synthetic API key or base URL setup
Synthetic
Synthetic
Synthetic exposes Anthropic-compatible endpoints.
OpenClaw registers it as the synthetic provider and uses the Anthropic
Messages API.
Property
Value
Provider
synthetic
Auth
SYNTHETIC_API_KEY
API
Anthropic Messages
Base URL
https://api.synthetic.new/anthropic
Getting started
Obtain a `SYNTHETIC_API_KEY` from your Synthetic account, or let the
onboarding wizard prompt you for one.
```bash
openclaw onboard --auth-choice synthetic-api-key
```
After onboarding the default model is set to:
```
synthetic/hf:MiniMaxAI/MiniMax-M2.5
```
OpenClaw's Anthropic client appends `/v1` to the base URL automatically, so use
`https://api.synthetic.new/anthropic` (not `/anthropic/v1`). If Synthetic
changes its base URL, override `models.providers.synthetic.baseUrl`.
Model refs use the form `synthetic/`. Use
`openclaw models list --provider synthetic` to see all models available on your
account.
If you enable a model allowlist (`agents.defaults.models`), add every
Synthetic model you plan to use. Models not in the allowlist will be hidden
from the agent.
If Synthetic changes its API endpoint, override the base URL in your config: