[GH-ISSUE #1067] [Feature]: Add OpenRouter service_tier support #523

Closed
opened 2026-10-20 17:29:46 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @cha1latte on GitHub (May 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1067

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

OpenRouter supports a service_tier setting that lets users trade latency/throughput for lower cost, but Marinara does not expose a way to configure it. This prevents users from using cheaper service-tier routing, such as using Gemini at a lower price with slower responses.

Source Discord thread: https://discord.com/channels/1417099416812392641/1507072187314737183

Proposed solution

Add OpenRouter service_tier support to Marinara's OpenRouter connection/settings flow so users can opt into the service tier they want.

Alternatives considered

Not specified.

Additional context

Reporter provided OpenRouter documentation: https://openrouter.ai/docs/guides/features/service-tiers

Reporter: Helius Universe.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 21, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1067 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? OpenRouter supports a `service_tier` setting that lets users trade latency/throughput for lower cost, but Marinara does not expose a way to configure it. This prevents users from using cheaper service-tier routing, such as using Gemini at a lower price with slower responses. Source Discord thread: https://discord.com/channels/1417099416812392641/1507072187314737183 ## Proposed solution Add OpenRouter `service_tier` support to Marinara's OpenRouter connection/settings flow so users can opt into the service tier they want. ## Alternatives considered Not specified. ## Additional context Reporter provided OpenRouter documentation: https://openrouter.ai/docs/guides/features/service-tiers Reporter: Helius Universe. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@cha1latte commented on GitHub (May 21, 2026):

Triage note: labeling this as normal-scope because this is a focused OpenRouter provider option with official documentation and a clear request surface.

Keep this in the normal enhancement backlog as a connection/provider settings addition.

<!-- gh-comment-id:4511981665 --> @cha1latte commented on GitHub (May 21, 2026): Triage note: labeling this as `normal-scope` because this is a focused OpenRouter provider option with official documentation and a clear request surface. Keep this in the normal enhancement backlog as a connection/provider settings addition.
Author
Owner

@SpicyMarinara commented on GitHub (May 23, 2026):

Fixed in the local staging workspace. I added OpenRouter service-tier support as a first-class generation parameter: OpenRouter connections/chats can now choose Default, Flex, or Priority, and generation sends service_tier only for OpenRouter requests. The value is included in dry-run/peek prompt parameter output, and CHANGELOG.md has an Unreleased entry.\n\nValidation: pnpm --filter @marinara-engine/shared lint && pnpm --filter @marinara-engine/server lint && pnpm --filter @marinara-engine/client lint

<!-- gh-comment-id:4524900292 --> @SpicyMarinara commented on GitHub (May 23, 2026): Fixed in the local staging workspace. I added OpenRouter service-tier support as a first-class generation parameter: OpenRouter connections/chats can now choose Default, Flex, or Priority, and generation sends service_tier only for OpenRouter requests. The value is included in dry-run/peek prompt parameter output, and CHANGELOG.md has an Unreleased entry.\n\nValidation: pnpm --filter @marinara-engine/shared lint && pnpm --filter @marinara-engine/server lint && pnpm --filter @marinara-engine/client lint
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#523
No description provided.