Repository navigation
Describe the tool that exists, and finish the table it needed - #26
Merged
Merged
Conversation
The README still showed five providers and the pre-collapse table. Nineteen providers later, the parts that had gone stale were the first things anyone reads. The example output is generated by the renderer itself rather than typed, so the layout cannot drift from what the binary prints; the figures are representative and the README says so. It now shows what a real run looks like: documented balances, an inferred one, rows for providers that publish nothing, and eleven unconfigured providers folded into one line. The provider table is the honest summary of the state of LLM billing APIs, and it is why a column called `confidence` exists: five providers publish a balance endpoint worth trusting, three answer one whose shape had to be inferred, and eleven publish nothing at all. A test asserts the table and the registry name the same set, because a provider list that slowly stops matching the binary is the likeliest documentation rot here — nothing else in the README can go stale by someone adding a YAML file. Three table changes finish work deferred from earlier rounds: Both closing lines now wrap at word boundaries. Nineteen ids on one line is over two hundred characters, which a terminal breaks mid-id at whatever column it happens to be. This was deliberately deferred twice, on the grounds that it applies to `outside the verified total:` as well and one habit is better than two — so both go through the same helper. The balance column is sized with the totals included. As soon as several providers report, the total is wider than any single row (130.16 USD against 18.42 USD) and the totals block hung one character past the rule above it. Trailing spaces are trimmed from each row. A row whose note is empty ended in the column separator, which shows up in every diff of captured output. config.example.yaml is grouped by what a provider can do rather than by which five happened to exist first, and documents `as_of:` and `disabled:`. Fixes #12 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Closes #12.
The README showed five providers and the pre-collapse table. Nineteen providers later, the stalest parts were the first things anyone reads.
README
confidenceexists.--allis documented in## Use.A test pins the table to the registry. A provider list that slowly stops matching the binary is the likeliest documentation rot in this repo — nothing else in the README can go stale just because someone added a YAML file. Verified by renaming a row to
anthropik: caught in both directions (missing from the table, and named but not in the registry).Three table changes, finishing work deferred earlier
130.16 USDagainst18.42 USD: the totals block hung one character past the rule above itThe wrapping was deliberately deferred twice (#14, #17) on the grounds that it applies to
outside the verified total:as well, and one habit is better than two — so both lines go through the same helper. The test asserts no closing line exceeds 82 runes and that nothing was dropped in the process, which is the half that matters.config.example.yaml
Grouped by what a provider can do rather than by which five happened to exist first, and it now documents
as_of:anddisabled:.go test -race ./...,go vet ./...,gofmt -l .andgo mod tidy -diffclean.What is left for #13
Everything on the release checklist except the tag itself. Cutting it is yours: it wants
aipocket versionchecked on a real artifact and on a freshgo install …@latest, which is not something I should do on your behalf.🤖 Generated with Claude Code