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:
claude— finds all models with "claude" in the namegpt-4— finds GPT-4 modelsprovider:anthropic— shows only Anthropic modelsprovider:openai 4o— OpenAI models containing "4o"
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:
- Node.js build script fetches data from LiteLLM and generates 2,196 static HTML pages
- GitHub Actions rebuilds nightly at 3 AM UTC
- Hosted on Cloudflare Pages, with a D1 SQLite database for full text search
- Source code: github.com/tomdyson/toktab.com
- Built by Tom Dyson