calc.dev.br

For people building with AI

Do the math.
Then deploy.

Free calculators for people building with AI: monthly API cost, model comparison, token counter, context window, prompt caching, coding agents and subscription vs API.

Your toolkit
10 tools3 languagesno sign-upruns in your browser
api-cost.tstry your idea

What will your API cost?

tokens
Prompt + history + attached documents.

tokens

Caching and Batch
%

Batch API (−50%)
Examples
Colorful code on a computer monitor
Colorful code on a computer monitor. Photo: Markus Spiske / Unsplash
price per 1M tokens · input / output

pick your next tool

Fewer open tabs.
More problems solved.

10/ tools

API price per 1 million tokens

input · output · in US$
ModelInputOutput
Claude Fable 5.1$10.00$50.00
Claude Opus 5.5$4.00$20.00
Claude Sonnet 5.5$2.00$10.00
Claude Haiku 5.5$0.10$0.50
Claude Haiku 4.5$1.00$5.00
GPT-6 Astra$10.00$50.00
GPT-6.1 Sol$2.00$10.00
GPT-6 Sol$2.00$10.00
GPT-6 Luna$0.10$0.50
GPT-5.6 Sol$4.00$20.00
GPT-5.6 Terra$2.00$12.00
GPT-5.6 Luna$0.20$1.20

Questions every dev asks

Quick answers