-
Notifications
You must be signed in to change notification settings - Fork 855
feat(xai): B2 — enable Priority Processing on the API-key transport (#1886, closes #1875) #2072
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f87698c
feat(xai): enable Priority Processing on the API-key transport
olddonkey 057f93e
docs(devlog): capture the xAI Fast pricing UI evidence
olddonkey 6e89ffc
Merge commit '63bfd149dd04ffbe448f43004a17e371a514eb38' into codex/fa…
olddonkey 1d7d817
fix(xai): address B2 pricing review
olddonkey d887a4f
fix(gui): translate estimated cost labels
olddonkey c13981b
docs(xai): clarify API key transport
olddonkey 33e1c3e
docs(xai): separate OAuth gateway rows
olddonkey 68d929a
Merge remote-tracking branch 'upstream/dev' into codex/fastwire-b2-xai
olddonkey d4023ae
docs(xai): separate the OAuth gateway row in the remaining locales
olddonkey b12307b
Merge remote-tracking branch 'upstream/dev' into codex/fastwire-b2-xai
olddonkey e8c62a9
test(fastwire): expect xAI key-auth chat to forward Fast
olddonkey 030cc77
Merge remote-tracking branch 'upstream/dev' into codex/fastwire-b2-xai
olddonkey 97bedc4
Merge remote-tracking branch 'upstream/dev' into codex/fastwire-b2-xai
olddonkey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file added
BIN
+151 KB
devlog/_plan/260818_fastwire_b2_xai/evidence/010_logs_priority_lower_bound.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # FastWire B2 (xAI) — UI evidence | ||
|
|
||
| `010_logs_priority_lower_bound.png` — Logs & Debug, three seeded `xai/grok-4.6` rows | ||
| that exercise every branch of the new pricing path: | ||
|
|
||
| | Row | Situation | Cost cell | | ||
| | --- | --- | --- | | ||
| | `req-standard` | no Fast requested | `~$0.0300` | | ||
| | `req-priority` | response-confirmed priority, prompt under the long-context threshold | `~$0.0600` — exactly the documented 2x premium over the row above | | ||
| | `req-longctx-priority` | response-confirmed priority, prompt at or above 200k | `≥$0.8760` — the published long-context rate, marked a lower bound because xAI publishes no combined price | | ||
|
|
||
| The `≥` prefix is the visible change: a cost that is a known floor rather than an | ||
| estimate now says so instead of rendering as `~$`. The detail drawer explains why | ||
| via the `priority_lower_bound` estimate reason. | ||
|
|
||
| Captured against a local proxy with a seeded `usage.jsonl`; no live xAI request was | ||
| billed to produce it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.