OrcaRouter API keys look like sk-orca-.... Pass them in the
Authorization: Bearer sk-orca-... header.
Model ID. Supports three forms:
gpt-4oopenai/gpt-4o (admin may have configured
it this way for OpenRouter-style naming)orcarouter/{name} (resolves to your configured
router; orcarouter/auto is seeded on signup for everyone)"gpt-4o"
"openai/gpt-4o"
"orcarouter/auto"
When true, response is streamed as server-sent events.
Only applies when stream: true.
auto, none, required 0 <= x <= 20 <= x <= 1x >= 1Preferred over max_tokens for reasoning models.
x >= 1For deterministic sampling.
0 <= x <= 20-2 <= x <= 2-2 <= x <= 2For reasoning models (o1, Claude thinking, etc.)
low, medium, high OrcaRouter-specific request extensions. Place these under the
extra_body top-level key of your chat completion request.