tokentally

by steipete · 未分类 · ★ 74

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...

costtokentypescript

Quick Facts

Stars74
Forks13
LanguageTypeScript
Category未分类
LicenseMIT
Quality Score47.378/100
Last Updated2026-06-13
Created2025-12-19
Platformsnode
Est. Tokens~11k

More 未分类 Tools

Explore other popular 未分类 tools:

View all 未分类 tools →

Popular TypeScript Agent Tools

  • openclaw ⭐ 379.1k · Codex 技能
  • n8n ⭐ 192.9k · MCP 服务器
  • dify ⭐ 145.6k · MCP 服务器
  • gstack ⭐ 110.8k · AI 工具
  • gemini-cli ⭐ 105.3k · MCP 服务器

Frequently Asked Questions

What is tokentally?

tokentally is One tiny lib for LLM token + cost math. It is categorized as a 未分类 with 74 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 74 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.

View on GitHub → Browse 未分类 tools