https://api.orcarouter.ai/v1
and use an sk-orca-... API key. Tools that use the Anthropic SDK
(like Claude Code) point at https://api.orcarouter.ai instead —
the Anthropic SDK appends /v1/messages itself.
LangChain
LangChain.js
Vercel AI SDK
Claude Code (CLI)
/v1/messages
itself, so the base URL should be the bare host (no /v1 suffix).
Codex CLI / OpenAI CLI
OPENAI_API_BASE instead of
OPENAI_BASE_URL — set whichever your tool expects.)
Anything else
If the framework lets you override the OpenAI base URL or Anthropic base URL, it works with OrcaRouter. If the framework hardcodes the base URL, you can usually patch the client instance or setOPENAI_BASE_URL /
ANTHROPIC_BASE_URL environment variables before import.