[Feature Request] Add OrcaRouter as a BYOK provider
Motivation
I'm an engineer on the OrcaRouter team. OrcaRouter (https://orcarouter.ai) is an OpenAI-compatible LLM gateway that routes each request to the cheapest or fastest provider across many upstream model providers.
We'd like to add OrcaRouter as a dedicated BYOK provider card in Agents → Models, alongside the other configured providers. Today users can technically use OrcaRouter via the generic "OpenAI Compatible" card by manually filling in the base URL, but a dedicated card gives them a pre-configured URL, a recognizable brand, and a consistent UX with the rest of the listed providers.
Solution
Follow the existing alias pattern for OpenAI-compatible gateways (ModelArk, grok, llama.cpp): add orcarouter to PLATFORM_ALIAS_MAPPING (aliased to openai-compatible-model), register the card in INIT_PROVODERS, ship an SVG icon, register the icon in Models.tsx, and add a row in the BYOK supported-providers table. No backend model_platform changes required.
Alternatives
- Generic "OpenAI Compatible" card (current state): users must look up the base URL themselves and there's no brand recognition. Works, but inferior UX.
- First-class
ModelPlatformType.ORCAROUTERupstream in CAMEL: would be more invasive (CAMEL PR + waiting for release + bumpingcamel-aihere) without functional benefit for the alias path used by ModelArk/grok/llama.cpp.
Additional context
Resources
- Website: https://orcarouter.ai
- API base URL: https://api.orcarouter.ai/v1
- Docs: https://docs.orcarouter.ai/
- API key signup: https://orcarouter.ai
Implementation
A working branch is ready and end-to-end tested locally (configured the card, set as default, ran a project task, request hit OrcaRouter successfully):
https://github.com/zhenjunchen-png/eigent/tree/feat/add-orcarouter-provider
Happy to open the PR once this is accepted.
Closing for now — preparing additional changes to the integration. Will reopen with the updated scope.