Tools Web

實用計算

LLM Prompt Caching Cost Calculator

Estimate how much prompt caching saves. Enter system prompt tokens, new tokens and output per turn, turns per session, sessions per month, and cache hit rate. No cache = every turn pays the full prompt; with cache, turn 1 writes the prefix and later turns pay hit% × cached rate + miss% × write rate. Presets: OpenAI GPT-6 cached input with 30m/12h write, DeepSeek hit/miss peak/off-peak. Estimates only; official pricing prevails.

計算在瀏覽器完成。不會上傳數據。

自定义每百万单价(可选)

No-cache monthly USD
—

With caching monthly USD
—

Savings (USD)
—

Savings %
—

Cache write / miss spend
—

Cache hit spend
—

仅供估算,以各厂商官方定价为准 (2026-10-30). No cache = turns × (prefix + new) × input + output. With cache: turn 1 writes the prefix; later turns pay hit% × cached rate + miss% × write rate. OpenAI misses are modeled at the selected 30m/12h write rate; DeepSeek misses at the cache-miss input rate.Official pricing: OpenAI · DeepSeek

OpenAI Token 費用計算 · DeepSeek Token Cost Calculator · LLM API 費用計算 · AI Agent Cost Calculator · OpenAI Flex vs Fast vs Standard Cost Calculator

怎麼用

數據會上傳嗎?
不會。這些計算和二維碼都在你的瀏覽器裏完成。
这些 AI 价格会变吗?
会。厂商常改公开价。可编辑每百万单价或方案字段,预算前请对照官网定价页。
使用数据会上传吗?
不会。Token 与订阅计算都在浏览器完成,不会发到服务器。