HyphenHyphen
HomeConsole
  • Get Started
  • Connect your coding agent
  • Build with Hyphen
  • Chat UIs & automation
  • Recipes
  • Guides
  • API Reference
Claude CodeCodex CLIAiderZedKilo CodeOpenHandsGooseHermes agentOpenClawOther clients
powered by Zudoku
Connect your coding agent

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
{ models: { providers: { hyphen: { baseUrl: "https://api.hyphen-solution.com/v1", apiKey: "${HYPHEN_API_KEY}", api: "openai-completions", models: [ { id: "minimax-m3", name: "MiniMax M3 (Hyphen)", contextWindow: 200000, maxTokens: 8192, }, ], }, }, }, agents: { defaults: { model: { primary: "hyphen/minimax-m3" }, // OpenClaw rejects a model that isn't in the allowlist: models: { "hyphen/minimax-m3": { alias: "MiniMax M3" }, }, }, }, }

Provide the key:

TerminalCode
export HYPHEN_API_KEY="sk-YOUR_KEY"

Fields that matter:

  • baseUrl — must end in /v1. Omitting /v1 is 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 — here hyphen/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:

TerminalCode
export OPENAI_BASE_URL="https://api.hyphen-solution.com/v1" export OPENAI_API_KEY="sk-YOUR_KEY"

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 the agents.defaults.models allowlist.
  • 404 / wrong path — baseUrl must end in /v1.
  • 429 — monthly budget spent; see Rate limits & caps.
Last modified on July 28, 2026
Hermes agentOther clients
On this page
  • 1. Get a key
  • 2. Configure — one copy-paste block
  • 3. Verify
  • Generic fallback (any OpenClaw version)
  • Troubleshooting