ai icon indicating copy to clipboard operation
ai copied to clipboard

docs(openai-compatible-providers): add OrcaRouter provider page

Open xilema2 opened this issue 6 months ago • 0 comments

Background

OrcaRouter is an OpenAI-compatible API gateway that routes requests across 150+ models from OpenAI, Anthropic, Google, DeepSeek, xAI, Alibaba Qwen, MiniMax, Moonshot Kimi, Z.ai and more behind a single endpoint and API key, with adaptive routing (LinUCB contextual bandit) and admin-tunable cost / latency / quality policies. Because OrcaRouter speaks the OpenAI chat-completions protocol, users can already integrate it via @ai-sdk/openai-compatible — this PR just documents how.

Disclosure: I'm an engineer on the OrcaRouter team.

Summary

  • Add content/providers/02-openai-compatible-providers/50-orcarouter.mdx describing how to instantiate OrcaRouter with createOpenAICompatible, including generateText / streamText examples, the orcarouter/auto adaptive router, extra_body fallback routing, and a note about reasoning-model temperature quirks.
  • List OrcaRouter in content/providers/02-openai-compatible-providers/index.mdx next to LM Studio / NIM / Heroku / Clarifai.

No code in packages/* is touched, so no changeset is included (per CONTRIBUTING.md changesets are required for package changes only).

Manual Verification

Docs-only change. Content was authored against the existing 35-nim.mdx template and rendered locally to confirm MDX structure (frontmatter, <Tabs> / <Snippet> / <Note> components) matches the surrounding pages in this folder.

Checklist

  • [x] All commits are signed (PRs with unsigned commits cannot be merged)
  • [ ] Tests have been added / updated (for bug fixes / features) — N/A (docs only)
  • [x] Documentation has been added / updated (for bug fixes / features)
  • [ ] A patch changeset for relevant packages has been added — N/A (no package code changed)
  • [x] I have reviewed this pull request (self-review)

xilema2 avatar May 22 '26 06:05 xilema2