LLM Token & API Cost Estimator
Calculate API charges from token totals and your provider’s per-million-token rates.
Convert files. Check your work. Create something useful.
No tools match your search. Try a shorter keyword.
Calculate API charges from token totals and your provider’s per-million-token rates.
Assemble a reusable prompt from context, instructions, examples and the expected output.
Budget a context window using your own token counts for instructions, history, documents and output.
Split a document into overlapping word-based chunks and inspect chunk boundaries before indexing.
Measure ranked retrieval using relevant document IDs, Precision@K, Recall@K and reciprocal rank.
Turn a JSON array of labeled prompt examples into newline-delimited JSON.
Flag likely sensitive text locally, including email addresses, common phone formats and labeled secrets.
Convert role-based message records between a JSON array and JSON Lines.
Expand a prompt template into all combinations of your supplied variable values.
Compare manually scored model answers using weighted criteria.
Estimate aggregate throughput and steady-state request capacity from parallel workers and token generation assumptions.