Native OpenAI Ultrafast requests show Standard API value in Logs and usage totals
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 46/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
Research direction
Read the native OpenAI request and response tier handling, then trace the pricing path used by Logs and usage totals, including per-attempt pricing for mixed routes. Check how transmitted and authoritative tiers affect fresh input, cached input, and output prices across model and date schedules. Reproduce with the synthetic token counts in the issue; done when Ultrafast is estimated only from a transmitted tier, while authoritative Standard responses and explicit refusals take precedence.
Written by the indexing model from the issue text.
Description
Reproduction
On OpenCodex 2.100.8, send a native Codex Responses request to gpt-6.2-sol using the Ultrafast service tier. In Logs the request has the Ultrafast badge, but its estimated API value uses Standard rates. The same pricing path feeds usage totals.
Here is a synthetic example with no user data. During the published 3× pricing period, use 100,000 input tokens (90,000 cached) and 100 output tokens. The Standard quote is $0.0300. With an authoritative Ultrafast response, the Ultrafast quote should be $0.0900.
Native tier evidence
In the affected native path the recorded outcome has wireKind: "service-tier", wireValue: "ultrafast", responseServiceTier: "default", and responseTierAuthoritative: false. It can also report fastDowngradeReason: "wire-unavailable" even though the outgoing tier was serialized. For that case, an estimate based on the transmitted tier should be labeled as estimated. An authoritative Standard response or explicit refusal should still take precedence. A requested-only tier is insufficient to infer the Ultrafast price.
Please apply the published model- and date-specific schedule to fresh input, cached input and output in both Logs and usage totals, including per-attempt pricing for mixed routes. The example describes API-equivalent value, not a subscription charge.
- Dominant language
- TypeScript
- Stars
- 16.9k
- Forks
- 1.3k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 814
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from lidge-jun/opencodex
-
bug gui platform
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
lidge-jun/opencodex#9172 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
[Feature]: Include provider, model and account label in the `upstream failure` service.log linePossibly taken @EnesKartal claimed this 4 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
lidge-jun/opencodex#9057 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offersPossibly taken @sedoll claimed this 6 days ago. Opencatalog provider provider-compatibility
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
lidge-jun/opencodex#9037 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
bug cli
Difficulty 4/5 3-5 days Newbie friendliness 52/100
lidge-jun/opencodex#9171 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
account-pool enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
All issues in lidge-jun/opencodex
Similar issues
-
manually bump balena-preload to ^19.0.6Possibly taken @shaunmulligan claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 66/100
balena-io/balena-cli#3200 ·
Maintainers usually reply within 1 day
-
`MaterializedChatMessage._text` is quadratic in the number of text chunks (`+=` followed by `endsWith`), driving the extension host to heap OOMPossibly taken @olegius88 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
microsoft/vscode-prompt-tsx#205 ·
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 64/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
melgarafael/DeskcommCRM#5340 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
ehmpathy/rhachet-roles-ehmpathy#1529 ·
Maintainers usually reply within 1 day