🧮

Claude Cost Calculator

🔒 In your browser

Estimate Anthropic Claude API costs from token usage.

ModelClaude Opus 4
Input cost$15.00
Output cost$75.00
Cost per request$0.09
Total cost$90.00
Est. monthly (×30)$2700.00

Loading live prices…

Disclaimer: Estimates for informational purposes only. Pricing and performance figures come from a community-maintained feed (LiteLLM) with bundled fallbacks and may be outdated or inaccurate. Always confirm current prices on the official OpenAI, Anthropic, Google, or cloud-provider pricing pages before making decisions. ToolsHub is not affiliated with these companies; product names are trademarks of their owners. Token counts for non-OpenAI models are approximate.

About the Claude Cost Calculator

Anthropic's Claude models are priced per token, and costs vary widely between the Haiku, Sonnet and Opus tiers. This free Claude cost calculator estimates API spend from your token usage and request volume, so you can compare tiers and plan a budget.

It runs in your browser with bundled pricing data.

How to estimate Claude API cost

  • Choose the Claude model (Haiku, Sonnet or Opus tier).
  • Enter input and output tokens per request and your request volume.
  • See the estimated total cost.

Choosing a Claude tier

Anthropic's Claude models span tiers — lighter, faster and cheaper models suit high-volume or simpler tasks, while the most capable models cost more per token for demanding work. Because input and output are priced separately, the cheapest option depends on your mix of prompt length and response length, which this calculator lets you model directly.

Frequently asked questions

How is Claude API pricing structured?

Claude charges separately for input and output tokens, with higher tiers (Opus) costing more than mid (Sonnet) and light (Haiku) tiers. Cost is token count times the tier's rate.

Which Claude model is most cost-effective?

Lighter models like Haiku cost far less per token and suit high-volume or simpler tasks, while Opus is for the most demanding work. This calculator lets you compare them for your usage.

Are the prices guaranteed current?

They're estimates from bundled data and can lag. Check Anthropic's official pricing before making decisions.

Which Claude model is most cost-effective?

It depends on the task. Lighter tiers cost far less per token and handle routine work well; reserve the top tier for complex reasoning. Compare them here against your actual token usage.

Related searches

claude cost calculatoranthropic pricingclaude api costclaude opus sonnet haiku priceanthropic api calculatorllm cost

Learn more

Related Calculators tools

🔗 Embed this tool on your website — free

Copy this and paste it into your page's HTML. The tool runs in the visitor's browser, just like here. Change height to fit, or add the optional auto-resize snippet below. Add ?theme=dark to the URL for dark mode.

<iframe src="https://toolhq.dev/embed/claude-cost-calculator/" title="Claude Cost Calculator — ToolsHub" width="100%" height="520" style="border:1px solid #e5e7eb;border-radius:12px;max-width:680px" loading="lazy"></iframe>
Optional: auto-resize the iframe height

Add this once on the same page so the iframe grows to fit the tool:

<script>
addEventListener("message", function (e) {
  if (e.data && e.data.type === "toolshub:resize") {
    document.querySelectorAll('iframe[src*="/embed/"]').forEach(function (f) {
      if (f.contentWindow === e.source) f.style.height = e.data.height + "px";
    });
  }
});
</script>