Edwar Díaz— home
  • Experience
  • Client work
  • Side projects
  • Credentials
  • Contact
  1. Home
  2. /Projects
  3. /TokenBudget - LLM Token Calculator

Featured · open source

TokenBudget - LLM Token Calculator

Token counter and cost calculator for LLM APIs.

Live demoSource
TokenBudget - LLM Token Calculator screenshot

About the project

TokenBudget is a powerful token counter and cost calculator for LLM APIs. Compare pricing across 50+ models from OpenAI, Anthropic, Google, Mistral, AWS Bedrock, Qwen, and more. It features real-time token counting using js-tiktoken, live pricing data from LiteLLM's database, usage projections for daily and monthly costs, and privacy-first client-side calculations.

Key features

  • +Real-time Token Counting

    Accurate counting using js-tiktoken for OpenAI models

  • +Multi-Provider Support

    Compare costs across 50+ models from major providers

  • +Live Pricing Data

    Fetches current pricing from LiteLLM's maintained database

  • +Usage Projections

    Estimate daily and monthly costs based on usage patterns

  • +Privacy First

    All calculations happen client-side, no data sent to servers

Type
Open source
Stack
  • Next.js
  • TypeScript
  • Tailwind CSS
  • shadcn/ui
  • js-tiktoken
Links
v0-llm-token-calculator-pi.vercel.appgithub.com/BOTOOM/llm-token-calculator

More projects

All projects
  • DevMentorAI screenshot

    DevMentorAI

    DevMentorAI source code on GitHublive: open DevMentorAI demo

    Chrome extension for DevOps mentoring powered by GitHub Copilot.

    • TypeScript
    • React
    • WXT
    • Node.js
    • +3
  • EventMaple screenshot

    EventMaple

    EventMaple source code on GitHublive: open EventMaple demo

    Open-source event management platform for communities of any kind.

    • Next.js 16
    • TypeScript
    • Tailwind CSS
    • Supabase
    • +3

Edwar Díaz Ruiz

Full-stack and DevOps engineer building cloud-native, serverless and AI-driven systems from Colombia.

edwardiaz.dev@gmail.com

Sections

  • Experience
  • Client work
  • Side projects
  • Credentials
  • Contact
  • All projects
  • All certificates

Elsewhere

  • GitHubBOTOOM
  • LinkedInedwar-diaz
  • X@SRBOTOM
  • Hashnodebotoom.hashnode.dev
  • Dev.tobotoom
  • TikTok@edwardiazdev

© 2026 Edwar Díaz Ruiz. Built with Next.js, deployed on Vercel.

back to top