OpenClaw
OpenClaw is OpenAI-compatible. Add Hyphen as a
custom provider with a /v1 base URL and your Hyphen key.
Setup guide: this config comes from OpenClaw's official documentation and has not been run end to end against the gateway. Corrections to support@hyphen-solution.com.
1. Get a key
app.hyphen-solution.com → sign in → pick a
plan or credit pack → Dashboard → API Keys. Copy the sk-... key.
2. Configure — one copy-paste block
OpenClaw defines providers under models.providers.<id> and requires the model
to be allow-listed. A minimal Hyphen provider on minimax-m3:
Code
Provide the key:
Code
Fields that matter:
baseUrl— must end in/v1. Omitting/v1is a silent failure.apiKey— reference an environment variable (${HYPHEN_API_KEY}) rather than inlining the key.api: "openai-completions"— treat Hyphen as an OpenAI Chat Completions endpoint.- The fully-qualified id is
provider/model— herehyphen/minimax-m3.
3. Verify
Start OpenClaw and send a one-word prompt (e.g. ask it to reply connected).
A completion back means the provider is wired up.
Verify the exact config keys for your build
OpenClaw's config surface (models.providers, the api value, and the
agents.defaults.models allowlist) has moved between releases. Treat the
block above as the generic OpenAI-compatible setup and verify the exact keys for
your installed version against the
OpenClaw model-providers docs.
The invariants that always hold: an OpenAI-compatible base URL ending in /v1,
your Hyphen key, and a model id from the Hyphen catalog (minimax-m3,
minimax-m2.7, minimax-m2.5, or minimax-text-01).
Generic fallback (any OpenClaw version)
If your build exposes a single OpenAI base URL / API key (env or settings) rather than the multi-provider block above, set:
Code
and select the minimax-m3 model. See Other clients
for the generic OpenAI-compatible pattern.
Troubleshooting
- Model rejected — add the fully-qualified id (
hyphen/minimax-m3) to theagents.defaults.modelsallowlist. - 404 / wrong path —
baseUrlmust end in/v1. 429— monthly budget spent; see Rate limits & caps.