LLM Token Counter
Visual BPE tokens, model selector, and input cost estimate from the pricing catalog
Prompt text
Paste text to tokenize in a Web Worker
93 chars · 14 words · 1 lines
About this tool
Visual BPE token counter with model-aware encoding and catalog-based input cost estimate. Uses gpt-tokenizer in a Web Worker — no LLM inference.
How to use
Paste text
Load sample or paste your prompt.
Select model
Pick a catalog model for encoding and cost.
Inspect tokens
Colored blocks show each token; count and cost update live.
Frequently asked questions
Related tools
JWT Validator
Verify HS256 and RS256 JWT signatures and validate exp, nbf, aud and iss claims
SSH Key Pair Generator
Generate RSA, ECDSA P-256 or Ed25519 SSH key pairs with OpenSSH public format and SHA256 fingerprint
Kubernetes Resource Calculator
Estimate CPU and memory requests, limits and HPA settings with downloadable YAML manifests
CSV Data Viewer
Paste CSV and browse rows in a sortable table with delimiter detection
Multiple URL Opener
Open many URLs in new tabs with a configurable delay between each
API Mock Server
Define mock REST routes and intercept fetch calls client-side