Toktab

Keep tabs on your toks

What is Toktab?

Toktab provides current pricing data for 2,196 AI models from 85 providers, including OpenAI, Anthropic, Google and Mistral. The data is sourced from LiteLLM and updated nightly.

How to search

Type in the search box to find models by name or provider:

JSON API

Every model has a JSON endpoint. Add /api/ before the model slug:

curl https://toktab.com/api/anthropic-claude-3-5-sonnet-20241022/

Returns pricing, context window, and other metadata. No authentication required.

Search API

Fuzzy search across all models:

curl "https://toktab.com/api/search?q=claude&limit=10"

Returns matching models ranked by relevance. Supports partial matches and typos.

CLI Tool

Use toktab for quick terminal access:

uvx toktab gpt-4o
uvx toktab --json gemini-3-flash-preview
uvx toktab search claude
uvx toktab --help

Displays pricing in colour-coded tables. No API key required.

Model not found?

If you visit a URL for a model that doesn't exist, Toktab will suggest similar models that you might be looking for.

How it's built

Toktab is a static site with no runtime dependencies: