Skip to content

docs(readme): align usage with shipped CLI + Action#10

Merged
faraa2m merged 1 commit into
mainfrom
docs/readme-usage
May 9, 2026
Merged

docs(readme): align usage with shipped CLI + Action#10
faraa2m merged 1 commit into
mainfrom
docs/readme-usage

Conversation

@faraa2m
Copy link
Copy Markdown
Owner

@faraa2m faraa2m commented May 9, 2026

Summary

  • Fix install/usage snippets: real format names (markdown, text), drop nonexistent gemini-2.5-pro example, add stdin example.
  • Rewrite empirical-mode section to match shipped behavior — provider countTokens per cell (Anthropic + Google free, OpenAI via o200k_base); drop stale "cache_read_input_tokens" claim.
  • CI snippet now matches the @v0 action inputs (models, formats, budget) and links to packages/action/README.md.
  • Methodology table gains an "Empirical" column; pricing note updated to reflect tokenlens-sourced registry from refactor(core): source pricing + context limits from tokenlens registry #8.

Test plan

  • npx tokenometer --help flags match the README's documented options.
  • Action snippet copy-pastes into a workflow without modification (input names match packages/action/action.yml).
  • Methodology table reads correctly on GitHub.

🤖 Generated with Claude Code

- replace `--format md` with real format names (markdown, text)
- drop stale `gemini-2.5-pro` example; add stdin example and `--help` pointer
- correct empirical-mode description: real provider countTokens, no caching claim
- fix CI snippet to match @v0 action inputs (models/formats/budget)
- methodology table: empirical column reflects shipped countTokens dispatch
- note pricing now comes from tokenlens registry (post #8 refactor)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tokenometer Ready Ready Preview, Comment May 9, 2026 4:08am

@faraa2m faraa2m merged commit 0c2d8f3 into main May 9, 2026
7 checks passed
@faraa2m faraa2m deleted the docs/readme-usage branch May 9, 2026 04:11
faraa2m added a commit that referenced this pull request May 11, 2026
- replace `--format md` with real format names (markdown, text)
- drop stale `gemini-2.5-pro` example; add stdin example and `--help` pointer
- correct empirical-mode description: real provider countTokens, no caching claim
- fix CI snippet to match @v0 action inputs (models/formats/budget)
- methodology table: empirical column reflects shipped countTokens dispatch
- note pricing now comes from tokenlens registry (post #8 refactor)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant