AI Cost Calculator
Get cost estimates for GPT 3.5, GPT 4, and Claude. Either enter your prompt or type specific input and output tokens.
Token Breakdown
Model | Max Context | Input Cost | Output Cost | Total Cost |
---|---|---|---|---|
GPT 3.5 (0125) | 16300 | $0.0005 | $0.0015 | $0.002 |
GPT 4 (0125) | 128000 | $0.01 | $0.03 | $0.04 |
Claude Instant | 100000 | $0.0008 | $0.0024 | $0.0032 |
Claude 2.1 | 200000 | $0.008 | $0.024 | $0.032 |
About this tool
I use the GPT and Claude API’s all the time but I find it hard to understand how much an individual prompt costs. For example...how much is a 1,433 token prompt if the model costs $0.003/1000 tokens?
I wanted a full picture of how much a prompt costs so I could save money and budget well.
This tool calulates the number of tokens required for a given prompt, and explores the cost tradeoffs between various AI models. Please note that this uses the OpenAI Tokenizer library, so other models will have different exact token counts.
If you find this useful, please share it with someone else.
More tools
Get cost estimates for GPT 3.5, GPT 4, and Claude. Either enter your prompt or type specific input and output tokens.
Describe a concept for a domain and AI will brainstorm ideas.
See a list of OpenAI models which are available.
In a few words, describe a website and this free tool will use AI to recommend similar websites – useful for finding design or content inspiration.