LLM Tally — AI skill for Claude Code
Estimate tokens and API cost for OpenAI, Anthropic Claude and Google Gemini models.
How to install LLM Tally
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open acus9345/llm-tally and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What LLM Tally does
Estimate tokens and API cost for OpenAI, Anthropic Claude and Google Gemini models. Zero dependencies, typed, with a CLI.
Alternatives in AI
- Manifest — Real-time cost observability for OpenClaw agents — track tokens, costs, messages, and model usage 4.1k ★
- WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
- Vllm Mlx — High-performance OpenAI and Anthropic compatible LLM inference server for Apple Silicon 1.5k ★
README
llm-tally
Estimate what a prompt costs on 138 LLMs from 14 providers (OpenAI, Anthropic, Google, xAI, DeepSeek, Mistral, Qwen, Kimi, GLM, MiniMax, Perplexity, Cohere, Amazon Nova and AI21) in your browser, on the command line, or from code.
- Reasoning-aware. Pick a reasoning effort (none → max) and thinking tokens are added only to models that actually reason.
- Easy names. API IDs (
claude-sonnet-5-5), short names (sonnet,grok,kimi,glm) or router/cloud IDs (x-ai/grok-4.7,amazon.nova-pro-v1:0). - Zero dependencies, typed, offline. Runs in Node.js, Bun, Deno and browsers.
Web calculator
Open **https://acus9345.github.io/llm-tally/**: paste a prompt (or drop a text file), pick a reasoning effort and a number of requests, and compare every model, cheapest first. Nothing you type is uploaded.
The same page works offline from the command line:
npx llm-tally ui
Install
npm install llm-tally
Run it in your project folder (in a brand-new empty folder, run `npm init -y` first). Requires Node.js 22+, Bun or Deno.
Command line
npx llm-tally "Summarize the plot of Hamlet in three sentences." -o 300 -e medium
MODEL PROVIDER INPUT TOKENS OUTPUT TOKENS COST (USD)
qwen3.8-flash alibaba 9 4,300 $0.00202
gpt-6-luna openai 9 4,300 $0.00215
claude-haiku-5-5 anthropic 12 4,300 $0.00215
...
kimi-k3 moonshot 9 4,300 $0.0645
claude-opus-5-5 anthropic 12 4,300 $0.0860
Cheapest: qwen3.8-flash ($0.00202), 43x cheaper than claude-opus-5-5.
Token counts are estimates (usually within 15%). Prices as of 2026-10-17.
`-o 300` is the visible answer; `-e medium` adds about 4,000 thinking tokens to models that reason.
| Option | Meaning |
|---|---|
-m, --model |
Model(s) to price, by ID or short name. Repeat or comma-separa |
Related Skills
LLM Cost
Count tokens and estimate API costs for large language models with a lightweight, single-header C++ library fr
Modelops AI
AI API monitoring, observability and cost intelligence for OpenAI, Anthropic Claude and Google Gemini — FastAP
Tokentop
htop for your AI coding agents — live tokens, cost and tool calls for every Claude Code session. Zero dependen
Retok
Token-efficiency analyzer for AI coding agents (Claude Code, OpenAI Codex CLI): cost estimates, cache analysis
Agentwrapped
Spotify Wrapped for AI coding agents. Private, local stats for Claude Code and OpenAI Codex CLI — tokens, esti
Recall Cost
Estimate Anthropic cost from total-recall's index — per-model token breakdown over a window.
Related Agents
Grok Agent 01
ONLY job: find free or freemium AI token/API plans (OpenAI-compatible, Anthropic, Google, open routers, studen
LLM Orchestrator
Use this agent for LLM integration work — prompt engineering, multi-provider abstraction (OpenRouter, Gemini,
AI ML
AI/ML 통합 전문가 + LLM API 최신 모델/SDK 코딩 가이드. RAG 시스템, 문서 분석, OpenAI/Anthropic/Gemini/Ollama 최신 API 보장. "AI integra