AI API monthly cost calculator

Estimate AI inference and token costs from your request volume, input/output tokens, caching and batch usage. Compare up to four models and their channels in USD. This is a budget calculator, not a connected billing dashboard.

1. Usage

Daily usage is converted using a 30-day month.

Passing raw PDF, Word, or HTML? Converting to clean Markdown typically trims input tokens by 35%–60%: toolkit.fun/document-to-markdown

0%

Channels without a published cache price use the regular input price.

0%

Assumes the common 50% Batch discount; confirm channel eligibility before use.

30K
requests/mo
30M
input/mo
15M
output/mo
2. Models and region
DeepSeek V4.1 Flash (1017)GLM 5.32/4

Monthly cost comparison

Paid channels are sorted by USD-normalised monthly cost.

1 zero-priced channels

Free channels usually have rate or usage limits, so they are listed separately from the paid ranking.

DeepSeek V4.1 Flash (1017) · OpenCode Zen
ModelChannelInput priceOutput priceCacheEst. monthlyVisit
DeepSeek V4.1 Flash (1017)词元所China¥0.74/1M¥2.96/1M¥0.01$9.65Lowest paid¥66.60 native
DeepSeek V4.1 Flash (1017)OpenCode GoGlobal$0.15/1M$0.60/1M$0.00$13.50USD normalised
GLM 5.3OpenRouterGlobal$0.07/1M$1.40/1M$0.07$23.10USD normalised
DeepSeek V4.1 Flash (1017)Fireworks AIGlobal$0.30/1M$1.20/1M$0.01$27.00USD normalised
DeepSeek V4.1 Flash (1017)DeepSeekChina$0.30/1M$1.20/1M$0.01$27.00USD normalised
DeepSeek V4.1 Flash (1017)Together AIGlobal$0.30/1M$1.20/1M—$27.00USD normalised
DeepSeek V4.1 Flash (1017)Vercel AI GatewayGlobal$0.30/1M$1.20/1M$0.01$27.00USD normalised
GLM 5.3词元所China¥3.20/1M¥11.20/1M¥0.80$38.26¥264.00 native
GLM 5.3XycAiChina¥4.40/1M¥15.40/1M¥1.10$52.61¥363.00 native
GLM 5.3智谱 AI (ChatGLM)China¥8.00/1M¥28.00/1M¥2.00$95.65¥660.00 native
GLM 5.3智谱 AI Global / Z.AI (ChatGLM)Global$1.40/1M$4.40/1M$0.26$108.00USD normalised
GLM 5.3Mistral AIGlobal$1.40/1M$4.40/1M$0.14$108.00USD normalised
GLM 5.3Together AIGlobal$1.40/1M$4.40/1M—$108.00USD normalised
GLM 5.3Fireworks AIGlobal$1.40/1M$4.40/1M$0.26$108.00USD normalised