Count tokens, price API calls and size GPUs for your AI project
Calculators and utilities for people building with large language models. All of them are free and need no account.
Estimate your API cost now
Tokens you send.
Tokens the model returns.
Example rate. Use your provider's.
Example rate. Use your provider's.
Average over a normal day.
Estimated cost is $0.0026 per request, $2.60 per day, $78.00 per month.
- Per request
- $0.0026
- Per day
- $2.60
- Per month
- $78.00
A month is counted as 30 days. Cached input and batch discounts are not included.
Need cached input or batch discounts? Open the full AI Token Cost Calculator
Find an AI tool
Pick a group, or type a few words to narrow the list.
33 tools
Count tokens and estimate cost
Start here when you need to know how big a prompt is or what a workload will cost.
- LLM Token Counter
Counts tokens in text for GPT, Claude, Gemini and open models, and checks whether it fits a context window.
- Tokenizer Visualizer
Shows how GPT-4 and GPT-4o tokenizers split your text into tokens, with live counts.
- AI Token Cost Calculator
Estimates API cost from requests, input tokens, cached input, output tokens, batch discounts and your own per-million-token rates.
- LLM Token Usage Calculator
Calculates token usage and the cost of LLM prompts.
- AI Embedding Cost Calculator
Estimates the token count and API cost to embed a document corpus with OpenAI, Cohere or Voyage models.
- AWS Bedrock Pricing Calculator
Estimates input and output token costs for models on AWS Bedrock.
- Self-Hosted LLM Cost Calculator
Compares API costs with running open models on your own hardware or cloud GPUs, with break-even timelines.
- LLM Rate Limit Planner
Shows your real maximum throughput from tokens-per-minute and requests-per-minute limits, and how long a batch job will take.
- LLM Latency Optimizer
Estimates the latency budget for your LLM application from a context window, token count and desired response time.
Run models on your own hardware
Check what fits in your GPU memory before you download anything.
- What LLM Can I Run?
Detects your GPU and ranks models by whether they fit in your VRAM, need CPU offloading or will not run.
- LLM VRAM Calculator
Calculates how much VRAM a model needs for a chosen quantization and context size, and which GPUs it fits on.
- KV Cache VRAM Calculator
Shows how much VRAM the KV cache uses at any context length, plus the longest context that fits each GPU.
- Fine-Tuning VRAM Calculator
Calculates VRAM for full fine-tuning, LoRA or QLoRA, counting gradients, optimizer states and activations.
- LLM Inference Speed Calculator
Estimates tokens per second from memory bandwidth, model size, quantization and context window.
- LLM Quantization Explorer
Compares GGUF quantization levels side by side for file size, VRAM needed, quality impact and compatible GPUs.
- Ollama Command Builder
Builds Ollama run, pull and create commands, Modelfiles and server settings, with VRAM checks.
- Local AI Chat
Chats with a model that runs in your browser, with no signup or API key.
Write configs, schemas and prompts
Generate the files and settings an AI project asks for.
- LLM Structured Output Builder
Builds a JSON Schema and generates OpenAI structured outputs, tool definitions, Zod and Pydantic code from it.
- Sampling Parameters Playground
Shows how temperature, top-k and top-p reshape a model’s next-token probabilities.
- MCP Server Config Builder
Builds and validates Model Context Protocol server configs for Claude Desktop, Claude Code, Cursor and VS Code.
- AGENTS.md Generator
Turns a description of your repo into an AGENTS.md, CLAUDE.md, Cursor rule or Copilot instructions file.
- Fine-Tuning Dataset Builder
Builds and validates fine-tuning datasets, and converts between OpenAI chat, Alpaca and ShareGPT formats.
- AI Image Prompt Builder
Turns a plain idea into an image prompt by clicking style, lighting, camera, mood and quality options.
- AI Crawler robots.txt Generator
Blocks AI training crawlers in a ready robots.txt while keeping AI search citations.
- llms.txt Generator
Builds an llms.txt from a URL list or sitemap.xml, following the llmstxt.org proposal.
Clean and check text
Fix or review text going into a model or coming out of one.
- PII Redactor
Finds and redacts emails, SSNs, card numbers, phone numbers, IP addresses and API keys in text or logs.
- Prompt Injection Risk Checker
Uses a model in your browser to quote any prompt injection attempts in text and rate the risk.
- AI Text Cleaner
Strips zero width spaces, no-break spaces and other invisible characters from chatbot text, with a diff of every change.
- RAG Answer Grounding Checker
Marks each claim in a generated answer as supported, contradicted or missing from its source.
Score and evaluate results
Turn test results into the standard metrics.
- Confusion Matrix Calculator
Gets accuracy, precision, recall, F1, MCC and more from TP, FP, FN and TN counts, with the formula for each.
- RAG Retriever Eval Calculator
Computes Precision@k, Recall@k, hit rate, MRR and MAP from the ranked chunks your retriever returned.
- NDCG Calculator
Computes DCG, IDCG and NDCG@k from the relevance grades of a ranked result list.
- BLEU Score Calculator
Scores a candidate text against one or more reference texts with BLEU.
These are 33 of the 82 tools on AI Toolset.Browse all toolsBrowse by category
Frequently Asked Questions
Common questions about the AI Toolset