AI & LLM Tools — Token Count, Pricing & Context

These utilities for LLM developers run in your browser. Count tokens, convert JSON to TOON for prompts, estimate API costs and check whether a prompt fits a context window. Two related tools: the word-counter and the json-formatter.

  • Count tokens before calling OpenAI, Anthropic, or Google APIs.
  • Estimate run cost from input/output token counts.
  • Check whether a prompt fits a model context window.

Back to AI tools on the hub

Guides