• 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

OpenHands

Run OpenHands on Boundless models: install, the agent_settings.json LLM block, the model prefix, a verify command and common errors.

The OpenHands CLI reaches Boundless through the llm block in ~/.openhands/agent_settings.json, using the OpenAI chat completions format.

Install#

Install OpenHands 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 OpenHands:

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.

Configure#

OpenHands#

The OpenHands CLI keeps its settings in ~/.openhands/agent_settings.json (or $OPENHANDS_PERSISTENCE_DIR); it does not read config.toml. The model name carries its own routing prefix. Merge this into the file, creating it if needed:

{
  "llm": {
    "model": "openai/deepseek/deepseek-v4.1-flash",
    "base_url": "https://api.inference.boundless.network/v1",
    "api_key": "YOUR_API_KEY",
    "usage_id": "agent"
  }
}

Leave off the openai/ prefix and the run fails before reaching us. If the file already has a condenser with its own llm, point that at Boundless the same way.

openhands --headless -t 'Reply with exactly the word: boundless'

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#

Run the openhands command from the setup above. The reply should be the word boundless.

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"

Common errors#

What you see What it usually is
401 on every request The api_key in agent_settings.json is wrong.
The run fails before reaching the gateway The model name is missing its openai/ prefix.
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.

NextT3 Code