[GH-ISSUE #6033] OrcaRouter provider support for Marinara Engine #3342

Closed
opened 2026-10-21 06:02:09 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @putraperdana1207-pixel on GitHub (Sep 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6033

Originally assigned to: @SpicyMarinara on GitHub.

Marinara Engine calls itself a local, AI-powered chat, roleplay, and game engine built on one idea: you install it, run it, and it just works. Three modes, a 36-package agent catalog you download only when you want it, and AES-256-encrypted keys in a file-native setup needing no account back that up. For someone running long roleplay sessions on their own hardware, per-chat connection overrides matter most: one scene can use a different model than the rest of the campaign.

The Connections panel already ships a Custom (OAI-Compatible) entry and an OpenRouter aggregator with routing and caching toggles, so one-key access to many models is an established pattern here. OrcaRouter extends that to users who want one key across chat, reasoning, and image models, with failover when a backend drops.

I'm an engineer on the OrcaRouter team.

What problem does this solve?

Adding a second vendor today means another connection, another key to store, and manual switching when a backend stalls. In long Game Mode sessions, that shows up as a scene dying mid-turn with no fallback.

Proposed solution

Add OrcaRouter as an optional provider in the Connections panel. It would not replace or change any existing provider — one more entry alongside OpenRouter, NanoGPT, and Custom (OAI-Compatible), opt-in and dormant unless a user adds a key.

OrcaRouter exposes an OpenAI-compatible API and uses standard API-key authentication, so it fits the existing abstraction: a Provider entry, a default Base URL, an API Key field, and the Fetch Models from API flow the connection editor already uses. No new auth mechanism is assumed.

Capabilities genuinely relevant here, rather than a full feature dump:

  • Multiple chat, reasoning, and image models through one endpoint — one connection covers the text models a roleplay preset needs and the image models the Illustrator and Gallery workflows call.
  • Automatic routing and provider failover — a stalled backend does not end the scene, which matters more in an uninterrupted Game Mode session.
  • Prompt caching and usage tracking — caching toggles already exist for Anthropic and OpenRouter; usage visibility and optional budgets help users on metered keys keep long campaigns affordable.

Alternatives considered

OrcaRouter is already reachable through Custom (OAI-Compatible). A first-class entry adds a real name, a prefilled Base URL, model fetching, and the caching and failover toggles OpenRouter and NanoGPT already get.

Additional context

OrcaRouter has been adopted across open-source projects including RAGFlow, Dify, goose, and promptfoo.

For transparency: OrcaRouter runs an optional open-source partner program where approved OSS projects can receive a 5% revenue share on usage attributed to their integration. Participating is not a prerequisite for integrating, and I'll follow whatever disclosure or governance rules this project requires.

More detail: https://www.orcarouter.ai/built-with

I'd welcome the maintainers' view on whether this fits the Connections roadmap, and I'm glad to open an implementation PR against staging per CONTRIBUTING.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @putraperdana1207-pixel on GitHub (Sep 10, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6033 Originally assigned to: @SpicyMarinara on GitHub. Marinara Engine calls itself a local, AI-powered chat, roleplay, and game engine built on one idea: you install it, run it, and it just works. Three modes, a 36-package agent catalog you download only when you want it, and AES-256-encrypted keys in a file-native setup needing no account back that up. For someone running long roleplay sessions on their own hardware, per-chat connection overrides matter most: one scene can use a different model than the rest of the campaign. The Connections panel already ships a Custom (OAI-Compatible) entry and an OpenRouter aggregator with routing and caching toggles, so one-key access to many models is an established pattern here. OrcaRouter extends that to users who want one key across chat, reasoning, and image models, with failover when a backend drops. I'm an engineer on the OrcaRouter team. ## What problem does this solve? Adding a second vendor today means another connection, another key to store, and manual switching when a backend stalls. In long Game Mode sessions, that shows up as a scene dying mid-turn with no fallback. ## Proposed solution Add [OrcaRouter](https://www.orcarouter.ai) as an **optional** provider in the Connections panel. It would not replace or change any existing provider — one more entry alongside OpenRouter, NanoGPT, and Custom (OAI-Compatible), opt-in and dormant unless a user adds a key. OrcaRouter exposes an **OpenAI-compatible API** and uses **standard API-key authentication**, so it fits the existing abstraction: a Provider entry, a default Base URL, an API Key field, and the **Fetch Models from API** flow the connection editor already uses. No new auth mechanism is assumed. Capabilities genuinely relevant here, rather than a full feature dump: - **Multiple chat, reasoning, and image models through one endpoint** — one connection covers the text models a roleplay preset needs and the image models the Illustrator and Gallery workflows call. - **Automatic routing and provider failover** — a stalled backend does not end the scene, which matters more in an uninterrupted Game Mode session. - **Prompt caching and usage tracking** — caching toggles already exist for Anthropic and OpenRouter; usage visibility and optional budgets help users on metered keys keep long campaigns affordable. ## Alternatives considered OrcaRouter is already reachable through **Custom (OAI-Compatible)**. A first-class entry adds a real name, a prefilled Base URL, model fetching, and the caching and failover toggles OpenRouter and NanoGPT already get. ## Additional context OrcaRouter has been adopted across open-source projects including RAGFlow, Dify, goose, and promptfoo. For transparency: OrcaRouter runs an **optional open-source partner program** where approved OSS projects can receive a **5% revenue share** on usage attributed to their integration. Participating is **not a prerequisite for integrating**, and I'll follow whatever disclosure or governance rules this project requires. More detail: https://www.orcarouter.ai/built-with I'd welcome the maintainers' view on whether this fits the Connections roadmap, and I'm glad to open an implementation PR against `staging` per CONTRIBUTING. ## Template check - [ ] I DID NOT read this template and provide the requested details. <!-- orcarouter-operation:task:6223:create_issue -->
Author
Owner

@SpicyMarinara commented on GitHub (Sep 12, 2026):

Thank you for the suggestion. I have familiarized myself with OrcaRouter, and it seems to be working perfectly with the Custom OAI Endpoint option for now. If anything isn't working with it, we will add support for it in that endpoint option.

<!-- gh-comment-id:5644774199 --> @SpicyMarinara commented on GitHub (Sep 12, 2026): Thank you for the suggestion. I have familiarized myself with OrcaRouter, and it seems to be working perfectly with the Custom OAI Endpoint option for now. If anything isn't working with it, we will add support for it in that endpoint option.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3342
No description provided.