Feature hasn't been suggested before.
Describe the enhancement you want to request
Overview
Implement configuration options for the OpenRouter service_tier parameter (see Related Documentation). This parameter provides access to reduced cost (0.5x) "flex" endpoints at the cost of increased latency. Currently, only OpenAI and Google models support this parameter.
Benefits
Reduced token cost for low-priority tasks on supported models.
Implementation Proposals
1. Hotkey Configuration in TUI (more complex)
Implement a service tier component into the status bar of the OpenCode TUI, similar to the thinking level component. Add support for rapid toggling via a hotkey.
Higher complexity, more user-friendly
2. Configuration File Option (less complex)
Add a default service tier configuration option that will be applied to models that support it.
Related Documentation
Feature hasn't been suggested before.
Describe the enhancement you want to request
Overview
Implement configuration options for the OpenRouter
service_tierparameter (see Related Documentation). This parameter provides access to reduced cost (0.5x) "flex" endpoints at the cost of increased latency. Currently, only OpenAI and Google models support this parameter.Benefits
Reduced token cost for low-priority tasks on supported models.
Implementation Proposals
1. Hotkey Configuration in TUI (more complex)
Implement a service tier component into the status bar of the OpenCode TUI, similar to the thinking level component. Add support for rapid toggling via a hotkey.
Higher complexity, more user-friendly
2. Configuration File Option (less complex)
Add a default service tier configuration option that will be applied to models that support it.
Related Documentation