tokencountCount input tokens with the model provider API
01DocsGitHub

Docs map

Start

  • Quickstart

Reference

  • Supported models
  • Changelog

Reference

Supported models

View as Markdown ↗Open the raw .md pageOpen in ChatGPT ↗Ask about this pageOpen in Claude ↗Ask about this page

Model IDs accepted by the counting endpoints.

Provider Model IDs
OpenAI gpt-6.2-astra, gpt-6.2-sol, gpt-6.1-terra, gpt-6-luna
Anthropic claude-fable-5-2, claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5
Google gemini-4-neon, gemini-4-carbon, gemini-4-hydrogen

Run tokencount models for the installed version’s model list.

On this page

    tokencount

    Count input tokens with the model provider API

    View repository ↗
    powered by zuedocs