OpenClaw
Configure OpenClaw providers for ORYNX.
Add one provider per API format to ~/.openclaw/openclaw.json. OpenClaw replaces ${ORYNX_API_KEY} with that
environment variable, so set it in the environment OpenClaw runs in.
{
models: {
mode: "merge",
providers: {
orynx: {
baseUrl: "https://api.orynx.dev/v1",
apiKey: "${ORYNX_API_KEY}",
api: "openai-completions",
models: [
{ id: "kimi-k3", name: "Kimi K3", input: ["text", "image"], contextWindow: 1048576, maxTokens: 131072 },
],
},
"orynx-claude": {
baseUrl: "https://api.orynx.dev",
apiKey: "${ORYNX_API_KEY}",
api: "anthropic-messages",
models: [
{ id: "claude-sonnet-5", name: "Claude Sonnet 5", input: ["text", "image"], contextWindow: 1000000, maxTokens: 128000 },
],
},
"orynx-gpt": {
baseUrl: "https://api.orynx.dev/v1",
apiKey: "${ORYNX_API_KEY}",
api: "openai-responses",
models: [
{ id: "gpt-5.5", name: "GPT-5.5", input: ["text", "image"], contextWindow: 1050000, maxTokens: 128000 },
],
},
},
},
agents: { defaults: { model: { primary: "orynx-claude/claude-sonnet-5" } } },
}Notes
mode: "merge"adds these providers to the ones OpenClaw ships with instead of replacing them.- Anthropic providers use the host only (
https://api.orynx.dev). OpenAI providers usehttps://api.orynx.dev/v1. - OpenClaw only sends images to models that declare
input: ["text", "image"]. Useinput: ["text"]for text-only models such asglm-5.3. - ORYNX reads the key from
x-api-keyorAuthorization, so you do not needauthHeader.