Tokuin
lastmod 2026-01-26created 2026-01-262 edits
A Rust CLI tool for estimating LLM token usage and API costs
About
- A cross-platform CLI tool that quickly and precisely estimates token counts and API costs for multiple LLM providers/models such as OpenAI, Claude, Gemini, and OpenRouter
- Supports per-model token counting and automatically calculates API call costs from each model's per-token pricing