acus9345

LLM Tally — AI skill for Claude Code

AI community

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