[FEATURE]: Cost calculation according to service_tier (OpenAI) #8213

Open
opened 2026-02-16 18:09:26 -05:00 by yindo · 1 comment
Owner

Originally created by @waclawthedev on GitHub (Feb 1, 2026).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

When I am using custom service_tier in config:

"provider": {
        "openai": {
            "models": {
                "gpt-5.2": {
                    "options": {
                        "serviceTier": "flex"
                    },
...

I'd like to have correct cost at sidebar

Originally created by @waclawthedev on GitHub (Feb 1, 2026). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request When I am using custom service_tier in config: ``` "provider": { "openai": { "models": { "gpt-5.2": { "options": { "serviceTier": "flex" }, ... ``` I'd like to have correct cost at sidebar
yindo added the discussionzen labels 2026-02-16 18:09:26 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 1, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #7511: [FEATURE]: Support OpenAI service tier (flex/priority processing) - This is the feature request to add service tier support, and your issue is about ensuring cost calculation works correctly with the serviceTier option.

Feel free to ignore if this doesn't address your specific case.

@github-actions[bot] commented on GitHub (Feb 1, 2026): This issue might be a duplicate of existing issues. Please check: - #7511: [FEATURE]: Support OpenAI service tier (flex/priority processing) - This is the feature request to add service tier support, and your issue is about ensuring cost calculation works correctly with the serviceTier option. Feel free to ignore if this doesn't address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8213