Skip to content

Token估算器

估算任意文本或代码的LLM token数——按内容类型(散文、代码、JSON、CJK)采用不同启发式,给出±15%的区间,外加对话框架开销。完全在你的浏览器中运行。

AI & Agents
cosmodev ~/tools/token-estimator-
粘贴文本以估算

Explain how HTTP caching works to a junior developer.
Cover ETags, Cache-Control, and the Vary header in under 200 words.