tokentally — AI Tool by steipete

by steipete · AI Tool · ★ 86

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

🔒 Is tokentally safe to install? View the security audit →

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 import { fetchOpenRouterPricingMap, resolvePricingFromMap } from "tokentally/node"; const map = await fetchOpenRouterPricingMap({ apiKey: process.env.OPENROUTERAPIKEY!, fetchImpl: fetch, }); const pricing = resolvePricingFromMap(map, "openai/gpt-5.2

costtokentypescript

Quick Facts

Stars86
Forks13
LanguageTypeScript
CategoryAI Tool
LicenseMIT
Quality Score65.8482315042719/100
Open Issues1
Last Updated2026-08-09
Created2025-12-19
Platformsnode
Est. Tokens~14k

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 · ⭐ 308

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

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

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

  • shopify-mcp by GeLi2001 · ⭐ 234

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

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

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

  • claudex by Mng-dev-ai · ⭐ 224

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

  • LeanKG by FreePeak · ⭐ 213

    LeanKG: Stop Burning Tokens. Start Coding Lean.

More AI Tool Tools

Explore other popular ai tool tools:

View all AI Tool tools →

Popular TypeScript Agent Tools

Frequently Asked Questions

What is tokentally?

tokentally is One tiny lib for LLM token + cost math. It is categorized as a AI Tool with 86 GitHub stars.

What programming language is tokentally written in?

tokentally is primarily written in TypeScript. It covers topics such as cost, token, typescript.

How do I install or use tokentally?

You can find installation instructions and usage details in the tokentally GitHub repository at github.com/steipete/tokentally. The project has 86 stars and 13 forks, indicating an active community.

What license does tokentally use?

tokentally is released under the MIT license, making it free to use and modify according to the license terms.

What are the best alternatives to tokentally?

The top alternatives to tokentally on Agent Skills Hub include mcp-server-simulator-ios-idb, langchainjs-mcp-adapters, shopify-mcp. Each offers a different approach to the same problem space — compare them side-by-side by stars, quality score, and community activity.

View on GitHub → Browse AI Tool tools