@continuum-ai-corp

OrcaRouter Provider

OrcaRouter provider plugin for OpenClaw — adaptive routing across many LLMs through a single OpenAI-compatible API.

Current version
v0.1.0
code-pluginCommunitysource-linked

@continuum-ai-corp/openclaw-orcarouter

OrcaRouter provider plugin for OpenClaw — adaptive routing across many LLMs through a single OpenAI-compatible API (https://api.orcarouter.ai/v1).

I'm an engineer on the OrcaRouter team.

Install

Requires OpenClaw 2026.5.12 or newer (Node ≥ 22).

openclaw plugins install clawhub:@continuum-ai-corp/openclaw-orcarouter
# or, during launch cutover, from npm directly:
openclaw plugins install @continuum-ai-corp/openclaw-orcarouter

Configure

openclaw onboard --auth-choice orcarouter-api-key
# or:
openclaw onboard --orcarouter-api-key "$ORCAROUTER_API_KEY"

OrcaRouter API keys start with sk-orca-. Get one at orcarouter.ai/console.

Config snippet (~/.openclaw/config.json5):

{
  env: { ORCAROUTER_API_KEY: "sk-orca-..." },
  agents: {
    defaults: {
      model: { primary: "orcarouter/auto" },
    },
  },
}

Models

Model refs follow orcarouter/<vendor>/<model> for routed upstream models, plus the virtual router orcarouter/auto.

Model refNotes
orcarouter/autoAdaptive router; strategy is configurable per workspace at orcarouter.ai/console
openai/gpt-5.5OpenAI flagship
anthropic/claude-opus-4.7Anthropic reasoning flagship (does not accept temperature)
google/gemini-3-flash-previewGoogle preview
deepseek/deepseek-v4-proDeepSeek flagship

Free-form model strings are accepted — any orcarouter/<vendor>/<model> ID is forwarded as-is. See the full catalog at orcarouter.ai/models.

Routing

orcarouter/auto is a virtual router, not a model. Strategy options configured at orcarouter.ai/console/routing:

StrategyBehavior
cheapestLowest-priced upstream that can serve the request (default).
balancedTrades off price vs latency vs quality.
qualityHighest-quality upstream.
adaptiveLinUCB contextual bandit picks among candidates from request features.
gated_adaptiveAdaptive plus a task-difficulty score that gates between weak/strong pools.

extra_body (per-request routing override):

{ "extra_body": { "models": ["openai/gpt-5", "openai/gpt-4o"], "route": "fallback" } }

Attribution headers

On verified api.orcarouter.ai routes, the plugin sends:

HeaderValue
HTTP-Refererhttps://openclaw.ai
X-TitleOpenClaw

OrcaRouter accepts unknown headers (OpenAI-compat); attribution surfaces in the OrcaRouter console traffic view.

Caveats

  • orcarouter/auto defaults to the cheapest strategy, which may select upstreams without tool/function-calling support. For agentic flows that require tool calls, either pin a tool-capable model (e.g. orcarouter/openai/gpt-5) or adjust the auto router pool at orcarouter.ai/console/routing.
  • Reasoning models reject temperature:
    • anthropic/claude-opus-4.7
    • OpenAI gpt-5 family (incl. mini/nano)
    • deepseek/deepseek-reasoner Pass reasoning controls via reasoning_effort (top-level) for OpenAI / Gemini / Grok / Qwen / Kimi reasoners; via thinking: {type: "enabled", budget_tokens: N} for Anthropic.

Development

npm install
npm run test           # unit tests
LIVE=1 OPENCLAW_LIVE_TEST=1 ORCAROUTER_API_KEY=sk-orca-... npm run test:live

License

MIT

Source and release

Source repository

Continuum-AI-Corp/openclaw-orcarouter-plugin

Open repo

Source commit

c0d0ae15c762364fb298712910bc88db5f50baf1

View commit

Install command

openclaw plugins install clawhub:@continuum-ai-corp/openclaw-orcarouter

Metadata

  • Package: @continuum-ai-corp/openclaw-orcarouter
  • Created: 2026/05/21
  • Updated: 2026/05/21
  • Executes code: Yes
  • Source tag: main

Compatibility

  • Built with OpenClaw: 2026.5.12
  • Plugin API range: >=2026.5.12
  • Tags: latest
  • Files: 10