orcarouter.cyou · independent notes

Third-party reference · last checked 2026-11-19

OrcaRouter: what it is and how to connect to it

OrcaRouter is a hosted AI gateway. Your application talks to one OpenAI-compatible endpoint, and OrcaRouter forwards each request to a model provider, adding routing, failover, request logs and policy checks along the way. Its public pages list more than 200 models behind that single API.

The official site is orcarouter.ai, and the API base URL in its documentation is https://api.orcarouter.ai/v1. Everything below is summarised from OrcaRouter's public pages; plans, models and limits change, so treat the official dashboard as the source of truth.

This domain is an independent reference and is not run by OrcaRouter. There is no account, payment or support here. Never type an OrcaRouter API key or password into any page on this domain.

What the gateway layer does

Routing. You can pin a specific model ID, or let the gateway choose. OrcaRouter describes adaptive routing that grades each prompt and sends it to a model that meets your quality bar. Automatic choice is convenient, but if you need reproducible output, pin the model and log the model field that comes back in each response.

Failover. You can configure a fallback chain so a request moves to another provider when the first one fails. Failover helps with provider outages and overload. It does nothing for your own mistakes: a bad key (401), a wrong model ID (404) or an invalid request body (400) fails the same way on every provider.

Rules, keys and logs. Routing rules can be written as code (YAML with CEL expressions). You can bring your own provider keys and rate limits. Each call is logged with model, latency and cost, and cached prompt tokens are billed at the provider's cache rate.

Safety controls. Guardrails (PII filtering and content policy), an agent firewall that checks tool and MCP calls before they run, and a separate cyber model tier (OrcaCyber Zero) that is only open to business-verified teams.

Self-hosting. OrcaRouter Lite is an MIT-licensed version of the gateway that you run on your own infrastructure with your own provider keys. Its behaviour depends on the version you deploy, so do not assume it matches the hosted service feature for feature.

Make a first request

Create a key in the OrcaRouter dashboard, export it as an environment variable, then list the models your key can use. Copy a model ID from that list rather than guessing it from a model's marketing name.

export ORCAROUTER_API_KEY="your-key"

curl https://api.orcarouter.ai/v1/models \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY"

curl https://api.orcarouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "MODEL_ID_FROM_LIST", "messages": [{"role": "user", "content": "ping"}]}'

With the official OpenAI SDK, only the base URL and key change:

import os
from openai import OpenAI
client = OpenAI(
    base_url="https://api.orcarouter.ai/v1",
    api_key=os.environ["ORCAROUTER_API_KEY"],
)
r = client.chat.completions.create(
    model="MODEL_ID_FROM_LIST",
    messages=[{"role": "user", "content": "ping"}],
)
print(r.model, r.usage)

Moving from OpenRouter is mostly the same change: swap the base URL and key, then re-check model IDs, because the two catalogues name models differently.

Check these before you depend on it

  1. Domain. Sign in only at orcarouter.ai. Look-alike domains, including this one, are not OrcaRouter.
  2. Model actually used. Compare the model field in responses with what you requested, especially when using automatic routing.
  3. Usage versus bill. Add up usage tokens for a day of traffic and compare with the dashboard cost. Small gaps usually come from cached tokens or reasoning tokens.
  4. Rate limits. Find the limit for your plan and handle 429 with backoff. Failover is not a substitute for respecting limits.
  5. Data handling. If you send personal or customer data, read how logs are stored and which providers can receive the request, and decide whether the guardrail settings fit your policy.
  6. Key hygiene. Use one key per app or environment so you can revoke a leaked key without taking everything down.

Common errors

ResponseUsual causeFirst thing to try
401Missing or wrong key, or the Bearer prefix is absentCall /v1/models with the same header
404Base URL missing /v1, or a model ID that does not existCopy the ID from /v1/models
429Rate or spend limit reachedRead the error body, then back off and retry
400Parameter the chosen model does not acceptRemove optional fields and retry with a minimal body
Stream stops earlyClient or proxy timeoutRaise read timeout and check for the final [DONE] event

OrcaRouter, OrcaRouter Lite and OpenRouter

OrcaRouter (hosted)OrcaRouter LiteOpenRouter
Who runs itOrcaRouterYouOpenRouter
Provider keysTheirs or your ownYour ownTheirs or your own
Main reason to pick itRouting plus governance in one placeFull control, no third party in the pathLarge catalogue, wide tool support

The name is also used by unrelated products: Orca, a desktop environment for running coding agents, and Orca, a trading protocol on Solana. Their accounts and keys have nothing to do with the OrcaRouter gateway.

中文速览

OrcaRouter 是一个兼容 OpenAI 接口的 AI 网关,官网 orcarouter.ai,Base URL 为 https://api.orcarouter.ai/v1。本站是第三方整理,不是官网,不提供注册或登录。下面是本站的中文接入与排错指南:

全部指南 →

FAQ

Is orcarouter.cyou the official OrcaRouter website?

No. It is an independent reference with no account, payment or support functions. The official site is orcarouter.ai; sign in and manage keys only there.

What base URL does OrcaRouter use?

OrcaRouter's documentation gives https://api.orcarouter.ai/v1 for its OpenAI-compatible API. Most SDKs append /chat/completions to it automatically.

Does OrcaRouter offer free credits or free models?

Its Offers page lists vouchers, student credits and hackathon grants, and some models are marked free. What is available changes often, so check the page and your dashboard before planning around it.

Can I self-host OrcaRouter?

Yes, through OrcaRouter Lite, an MIT-licensed version you run with your own provider keys. Features differ from the hosted service.

Is OrcaRouter related to the Orca coding app or the Orca Solana exchange?

No. They are separate products that share a name.