• Playground
  • Models
  • Rankings
  • Pricing
  • Support
Docs
  • About Boundless
  • Quickstart
  • API Compatibility
  • Models
  • OpenAI SDK
  • Anthropic SDK
  • Vercel AI SDK
  • LangChain
  • Streaming
  • Tool calling
  • Reasoning
  • Errors
  • MPP & Agentic Payments
  • Credits & Billing
  • Rate Limits
  • Teams
  • Privacy & ZDR
  • FAQ
  • Coding agents
    Coding Agents & Harnesses
  • Claude Code
  • Claude Desktop
  • Codex CLI
  • Codex app
  • OpenCode
  • Cursor
  • Cline
  • GitHub Copilot
  • Kilo Code
  • Qwen Code
  • Amp
  • CodeBuddy
  • Hermes
  • Hermes Desktop
  • JetBrains AI & Junie
  • Cherry Studio
  • Mastra
  • MiMo Code
  • Muse
  • omp (Oh My Pi)
  • OpenClaw
  • OpenHands
  • T3 Code
  • Advanced
    System One
All systems operational
© 2026 BoundlessTermssupport@boundless.network

OpenClaw

Run OpenClaw on Boundless models: install, the openclaw.json provider, why the key goes in .env, and common errors.

OpenClaw reaches Boundless through a custom provider in ~/.openclaw/openclaw.json, using the OpenAI chat completions format.

Install#

Install OpenClaw from its own documentation first. Then pick one way to point it at Boundless.

Run this in a terminal on macOS or Linux and choose OpenClaw:

curl -fsSL https://boundless.md/install | sh

Or run the package yourself, which also works on Windows:

npx -y @boundless.md/setup@latest

Setup signs you in through your browser, creates a key on your account and backs up every file it changes. To undo it, run curl -fsSL https://boundless.md/install | sh -s -- --revert. Need a key to configure by hand? Create one in API Keys. Setup also writes the key to OpenClaw's own .env file, because desktop apps and background services never read a shell profile.

Configure#

OpenClaw#

A custom provider in ~/.openclaw/openclaw.json. The gateway is declared once under models.providers, and the agent's default model names it by prefix:

{
  "agents": {
    "defaults": {
      "model": {
        "primary": "boundless/deepseek/deepseek-v4.1-flash"
      }
    }
  },
  "models": {
    "providers": {
      "boundless": {
        "baseUrl": "https://api.inference.boundless.network/v1",
        "apiKey": "${BOUNDLESS_API_KEY}",
        "api": "openai-completions",
        "models": [
          {
            "id": "deepseek/deepseek-v4-flash-0731",
            "name": "DeepSeek V4 Flash",
            "reasoning": true,
            "contextWindow": 1048576,
            "maxTokens": 32000
          },
          {
            "id": "deepseek/deepseek-v4.1-flash",
            "name": "DeepSeek V4.1 Flash",
            "reasoning": true,
            "contextWindow": 1048576,
            "maxTokens": 32000
          },
          {
            "id": "deepseek/deepseek-v4.1-flash-1017",
            "name": "DeepSeek V4.1 Flash 1017",
            "reasoning": true,
            "contextWindow": 1048576,
            "maxTokens": 32000
          },
          {
            "id": "openai/gpt-oss-120b",
            "name": "gpt-oss-120b",
            "reasoning": true,
            "contextWindow": 131072,
            "maxTokens": 32000
          },
          {
            "id": "nvidia/nemotron-3-super-120b-a12b",
            "name": "Nemotron 3 Super",
            "reasoning": true,
            "contextWindow": 262144,
            "maxTokens": 32000
          },
          {
            "id": "qwen/qwen3.6-35b-a3b",
            "name": "Qwen3.6-35B-A3B",
            "reasoning": true,
            "contextWindow": 262144,
            "maxTokens": 32000
          },
          {
            "id": "moonshotai/kimi-k3",
            "name": "Kimi K3",
            "reasoning": true,
            "contextWindow": 1048576,
            "maxTokens": 32000
          },
          {
            "id": "moonshotai/kimi-k3.1-pro",
            "name": "Kimi K3.1 Pro",
            "reasoning": true,
            "contextWindow": 1048576,
            "maxTokens": 32000
          },
          {
            "id": "z-ai/glm-5.3",
            "name": "GLM-5.3",
            "reasoning": true,
            "contextWindow": 1048576,
            "maxTokens": 32000
          },
          {
            "id": "z-ai/glm-5.3-flash",
            "name": "GLM-5.3 Flash",
            "reasoning": true,
            "contextWindow": 1048576,
            "maxTokens": 32000
          },
          {
            "id": "deepseek/deepseek-v4-pro-0813",
            "name": "DeepSeek V4 Pro",
            "reasoning": true,
            "contextWindow": 1048576,
            "maxTokens": 32000
          },
          {
            "id": "google/gemma-4-31b-it",
            "name": "Gemma 4 31B",
            "reasoning": true,
            "contextWindow": 262144,
            "maxTokens": 32000
          },
          {
            "id": "xiaomi/mimo-v2.6-pro",
            "name": "MiMo-V2.6 Pro",
            "reasoning": true,
            "contextWindow": 1048576,
            "maxTokens": 32000
          },
          {
            "id": "xiaomi/mimo-v2.6-flash",
            "name": "MiMo-V2.6 Flash",
            "reasoning": true,
            "contextWindow": 1048576,
            "maxTokens": 32000
          },
          {
            "id": "minimax/minimax-m3.1-flash",
            "name": "MiniMax M3.1 Flash",
            "reasoning": true,
            "contextWindow": 1000000,
            "maxTokens": 32000
          },
          {
            "id": "minimax/minimax-m3",
            "name": "MiniMax M3",
            "reasoning": true,
            "contextWindow": 1048576,
            "maxTokens": 32000
          },
          {
            "id": "minimax-m3-free",
            "name": "MiniMax M3 (Free)",
            "reasoning": true,
            "contextWindow": 1048576,
            "maxTokens": 32000
          },
          {
            "id": "openai/gpt-6-luna",
            "name": "GPT-6 Luna",
            "reasoning": true,
            "contextWindow": 1050000,
            "maxTokens": 128000
          },
          {
            "id": "openai/gpt-6-sol",
            "name": "GPT-6 Sol",
            "reasoning": true,
            "contextWindow": 1050000,
            "maxTokens": 128000
          },
          {
            "id": "anthropic/claude-opus-5.5",
            "name": "Claude Opus 5.5",
            "reasoning": true,
            "contextWindow": 1000000,
            "maxTokens": 128000
          },
          {
            "id": "anthropic/claude-fable-5.1",
            "name": "Claude Fable 5.1",
            "reasoning": true,
            "contextWindow": 262144,
            "maxTokens": 32000
          },
          {
            "id": "anthropic/claude-fable-5.2",
            "name": "Claude Fable 5.2",
            "reasoning": true,
            "contextWindow": 1000000,
            "maxTokens": 32000
          }
        ]
      }
    }
  }
}

apiKey takes an environment variable in ${...} form, so the key stays out of the file. Declare every model you want OpenClaw to switch between in models, because it has no catalog of ours to fall back on. utilityModel and fallbacks under agents.defaults take the same boundless/<id> spelling.

The gateway runs as a background service that never reads your shell profile, so put the key in ~/.openclaw/.env, which OpenClaw loads in every process, then restart the gateway:

echo 'BOUNDLESS_API_KEY=YOUR_API_KEY' >> ~/.openclaw/.env
openclaw gateway restart

Model ids#

The examples use deepseek/deepseek-v4.1-flash. Use any id from GET https://api.inference.boundless.network/v1/models; the models page lists each one with its price and limits.

Verify#

To check the base URL and key on their own, list the models the gateway serves. A list of models means both are right. A 401 means the key is missing or wrong:

curl https://api.inference.boundless.network/v1/models -H "Authorization: Bearer YOUR_API_KEY"

Then send a short message in a new session and check that a reply comes back.

Common errors#

What you see What it usually is
401 on every request The key is not in ~/.openclaw/.env. The gateway runs as a background service that never reads your shell profile. Restart it with openclaw gateway restart.
A model is missing from the switcher Declare every model you want OpenClaw to switch between in models. It has no catalog of ours to fall back on.
403 with model_not_allowed Your team admin has not enabled that model for you. Ask them, or pick another. See Model access.

Every status and code is on the Errors page. Other harnesses are on the Coding Agents & Harnesses page.

NextOpenHands