LLM API Cost Calculator
Enter your input and output token counts plus your own per-1M-token input and output prices, and instantly see the input cost, output cost and total. There are no bundled model or price presets to go stale, so the estimate always reflects the provider’s current rates. All computation happens locally in your browser.
🔒 Privacy: all processing happens locally in your browser. Nothing is uploaded.
Related tools
Token Counter
Count tokens with real OpenAI tokenizers (cl100k_base / o200k_base).
TokenTokenizerGPT
Chat to OpenAI Messages
Convert a plain chat transcript into OpenAI messages JSON.
ChatMessagesOpenAI
JSON Schema Generator
Generate JSON Schema draft-07 from a JSON sample for function calling.
JSON SchemaFunctionOpenAI
LLM API Tester
Send a test request to any LLM API and get curl, Python, Node, Go and PowerShell code.
LLMAPITest