🔒 100% Browser-Local · CSP Network Lock Enforced (connect-src 'none') · Zero Server Upload 🔒 100% 浏览器纯本地运算 · 硬件级 CSP 禁网锁死 (connect-src 'none') · 零数据上传
🔄 Auto-synced daily via CI · Catalog date: 2026-12-01 🔄 模型库与公开价格每日云端自动巡检同步 · 最新校对日期:2026-12-01

AI Token Cost Calculator & Pre-Prompt Secret Leak Redactor AI Token 账单测算与提示词密钥脱敏自检器

Paste any prompt, source file, or .env snippet to instantly compare 26 Dec 2026 global & Chinese flagship APIs (GPT-6.2 / 6.1, Claude 5.5 / Fable 5.2, Gemini 4 / 3.8, Grok 4.7, Qwen4, GLM-5.4, DeepSeek V4, Kimi K3.1, Doubao Seed 2.1, MiniMax-M3), catch API key leaks, and copy a safe redacted copy. Your text never leaves RAM. 把提示词、源码片段或配置贴在下方,即时横评 2026 年 12 月最新 26 款海内外主力大模型(国模:Qwen4、GLM-5.4 / 5.3、DeepSeek V4、Kimi K3.1、豆包 Seed 2.1、MiniMax-M3;海外:GPT-6.2 / 6.1、Claude 5.5 / Fable 5.2、Gemini 4 / 3.8、Grok 4.7)的 Token 账单与美元/人民币换算,并逐行扫描泄露密钥一键脱敏。全程零联网、不写缓存。

Offline guarantee: CSP blocks all fetch/XHR/forms in this page; nothing is stored in localStorage or cookies. 隐私铁律:页面已启用浏览器内核级 CSP 断网锁死(F12 网络面板可见零外发请求),输入文本不存浏览器本地缓存。
Estimated Input Tokens输入 Token 估算
0
0 chars · 0 CJK · 0 lines
Secret Leak Scan密钥安全自检
0
No common secret patterns detected暂未检出常见明文密钥特征
Monthly Spend Range (30d)全模型月账单区间(30天)
$0.00
Paste text or load demo above粘贴内容或点上方「载入模拟测试代码」实时计算
Est. Monthly Savings (TokenGuard 65% Cut)TokenGuard 骨架压缩预计月省
$0.00
65% input cut on Claude Opus 5.5 / Gemini 4 Carbon按输入体积压缩 65%(Claude Opus 5.5 / Gemini 4 Carbon 口径)
⚠️ Potential Sensitive Credentials Detected — click "Redact Secrets & Copy Safe Text" before pasting to any AI chat: ⚠️ 检出疑似敏感凭据 — 发给大模型前建议先点击「一键自动脱敏并复制安全文本」:
    Model (Dec 2026)模型名称(2026-12 最新) In / Out ($ per 1M)输入/输出单价 ($/1M) Context Window Fit上下文窗口占比 Single Call单次费用 30-Day Monthly月估费用 With TokenGuard (-65% Input)配合骨架压缩后/月
    Flagship 2,315-Page Bilingual Monograph镇店旗舰 · 2,315 页英中双语专著

    Structure and Proof in Algorithms 《算法的结构与证明》+ 62 页免费试读

    56 proof-first units & 846 solved exercises spanning combinatorial search, matroids, parsing, CFL theory & SSA compilers. Read the free 62-page sample PDF right in your browser or grab the DRM-free 4-volume edition.

    56 节英中对照单元、846 道手算级全解习题,覆盖组合搜索、图流、拟阵、上下文无关语言、LR 分析与 SSA 编译器。先看 62 页全免费试读,再决定是否入手完整四卷典藏版。

    Security & Estimation Notice (Provided "AS-IS"): This calculator executes 100% inside your browser under a strict Content-Security-Policy (connect-src 'none'; form-action 'none'). No input text, files, or redaction results are transmitted, logged, or persisted in browser storage. Secret detection uses heuristic regular expressions for common credential prefixes and does not guarantee exhaustive detection of custom secrets. Token counts and USD estimates are BPE-calibrated approximations based on public standard API tiers; always verify actual billing with your model provider.

    安全与估算边界声明(按“原样”免费提供):本工具完全在您本机浏览器内存中运行,并通过 HTML 内容安全策略强制禁止联网请求与表单外发(connect-src 'none'; form-action 'none'),绝不采集、记录或缓存在您粘贴的任何文本与代码。密钥扫描基于常见公开凭据前缀的启发式规则匹配,不能替代完整人工代码审计;Token 数量与美元账单均为结合中英文/代码密度及官方标准公开定价的估算参考,实际扣费以各模型厂商后台账单为准。