Add OrcaRouter as a built-in model provider#355
Open
sailt-k wants to merge 1 commit into
Open
Conversation
- New built-in provider 'orcarouter' (https://api.orcarouter.ai/v1, ORCAROUTER_API_KEY) - OrcaRouter mappings for built-in models it serves (gpt-4.1 family, gemini-2.5-pro/flash, deepseek v3/r1) - New built-in models: orcarouter/fusion, fusion-mini, fusion-flash - New: plandex models available --provider <name> lists the models any directly-reached provider (built-in or custom) is currently serving, fetched live from its OpenAI-compatible /models endpoint with context lengths and pricing when available - Docs for the new provider, models, env var, and CLI flag Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds OrcaRouter as a built-in model provider. I'm an engineer on the OrcaRouter team.
OrcaRouter is an OpenAI-compatible meta-provider (similar to OpenRouter) that serves models from many publishers with a single API key. This PR:
orcarouterbuilt-in provider (https://api.orcarouter.ai/v1, authenticated viaORCAROUTER_API_KEY), following the same pattern as the existing OpenRouter provider—so the usual provider-selection and fail-over rules apply.orcarouter/fusion,fusion-mini,fusion-flash) as built-in models. Fusion runs a panel of frontier models in parallel on hard requests and a judge model returns the strongest answer.plandex models available --provider <name>: a provider-generic flag that fetches the live list of models a provider is serving from its OpenAI-compatible/modelsendpoint (with context lengths and pricing when the provider includes them). This works for any directly-reached provider—openrouter,orcarouter,openai, and custom providers—and makes it easy to find model names to use in custom model configs.Verified with
go build/go testacross shared/cli/server, plus live catalog fetches against both OpenRouter (343 models, per-token pricing format) and OrcaRouter (167 models, per-million pricing format).🤖 Generated with Claude Code