mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1067] [Feature]: Add OpenRouter service_tier support #523
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#523
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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_tiersetting 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_tiersupport 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:
@cha1latte commented on GitHub (May 21, 2026):
Triage note: labeling this as
normal-scopebecause 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.
@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