Repository navigation
Conversation
ghost
force-pushed
the
xai-exact-usage-cost
branch
from
July 10, 2026 01:12
10139ee to
7659bc2
Compare
commented
Jul 16, 2026
Author
|
Updated onto v0.5.35. Conflict resolution preserves upstream concise request logging while retaining service-tier attribution and exact cache/cost accounting. Focused pricing/usage tests pass (33/33); changed-path lint differs only by the same four React findings present on stock v0.5.35. |
ghost
force-pushed
the
xai-exact-usage-cost
branch
from
July 19, 2026 11:43
302a4ba to
bf2da72
Compare
commented
Jul 21, 2026
Author
v0.5.40 refresh
|
This was referenced Jul 23, 2026
ghost
force-pushed
the
xai-exact-usage-cost
branch
from
August 3, 2026 08:09
2a6741b to
846b0d2
Compare
commented
Aug 3, 2026
Author
v0.5.45 split refreshForce-pushed Corrected old branch defects:
Removed pricing tables, cache/tier transport, UI breakdown, xAI local usage, and already-merged embedding scope. Fresh gates: 25/25 tests, production build, ESLint, diff check, and Gitleaks passed. |
# Conflicts: # tests/unit/cached-token-usage.test.js
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Preserve trusted provider-reported exact request cost without replacing current pricing tables or usage UI.
cost_usd,cost_in_usd, andcost_in_usd_ticksthrough usage extraction, normalization, format filtering, and canonical storagecost_usd, thencost_in_usd, then xAI ticks1 USD = 10^10 ticksScope
This refresh intentionally excludes:
Streaming cache/tier work remains separate and overlaps #2348, #2713, #2747, #2873, and #2880. Exact embedding usage from #2794 is already upstream.
Base:
v0.5.45at6fcd27337a7893642c7fe630840d0a641743f28fVerification
npm run build: passedgit diff --check: passedFull upstream suite is not used as binary gate because pristine
v0.5.45currently has 111 unrelated baseline failures.