tokentally: One tiny lib for LLM token + cost math

by steipete · AI Tool · ★ 94

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

How to install tokentally

pnpm add tokentally

Taken from the project's README on GitHub.

Security audit verdict: SAFE · quality 66/100

None of the 44 rules matched — no credential harvesting, no data exfiltration, no curl-pipe-shell installer. Scanned against 44 published rules built on the SlowMist agent-security taxonomy, refreshed every 8 hours.

The quality score combines nine heuristic checks of the repo and its README: completeness, clarity, specificity, examples, structure, agent readiness, step-by-step content, instruction quality and security notes. It rates how well the project explains itself to an agent, not the code.

costtokentypescript

Quick Facts

Stars94
Forks13
LanguageTypeScript
CategoryAI Tool
LicenseMIT
Quality Score66/100
Last Updated2026-11-14
Created2025-12-19
Platformsnode
Est. Tokens~14k

About tokentally

🧮 tokentally — One tiny lib for LLM token + cost math Token usage in, dollar totals out. Small TypeScript library for: Normalizing token usage across providers Resolving per-token pricing (static maps, LiteLLM catalog, OpenRouter catalog) Estimating and aggregating USD cost Install Core usage (browser-safe) Node helpers (catalog sources) LiteLLM pricing + limits OpenRouter pricing (optional) ts...

tokentally alternative? Top 6 similar tools

Looking for a tokentally alternative? If you're comparing tokentally with other ai tool tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • mcp-server-simulator-ios-idb by InditexTech · ⭐ 346

    A Model Context Protocol (MCP) server that enables LLMs to interact with iOS simulators through natural langua

  • langchainjs-mcp-adapters by langchain-ai · ⭐ 248

    ** THIS REPO HAS MOVED TO https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-mcp-adapters **

  • openai-auto-register by Ethan-W20 · ⭐ 240

    OpenAI Codex Auto Register & Token Fetcher | OpenAI Codex 自动注册与 Token 提取

  • mcp-n8n-workflow-builder by salacoste · ⭐ 239

    AI-powered n8n workflow automation through natural language. MCP server enabling Claude AI & Cursor IDE to cre

  • shopify-mcp by GeLi2001 · ⭐ 239

    MCP server for Shopify api, usable on mcp hosts such as Claude and Cursor

  • claudex by Mng-dev-ai · ⭐ 224

    Your own Claude Code UI, sandbox, in-browser VS Code, terminal, multi-provider support (Anthropic, OpenAI, Git

More AI Tool Tools

Explore other popular ai tool tools:

View all AI Tool tools →

Popular TypeScript Agent Tools

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 44 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse AI Tool tools