PulseAugur
中
实时 15:10:46
English(EN) chars/4 is wrong in 4 out of 10 prompts: a 10,000-prompt measurement

研究发现 LLM token 估算启发式方法存在缺陷

最近对 10,000 个提示的分析显示,将字符数除以四来估算 token 使用量的常用启发式方法对于大型语言模型 (LLM) 来说是不准确的。研究发现,超过 40% 的提示被错误估算超过 20%,并且估算误差因内容类型而异。散文提示经常被高估,而代码和 JSON 等结构化数据则经常被低估,这可能导致意外的成本。 AI

影响 token 估算的 chars/4 启发式方法的不准确性可能导致使用 LLM 的用户和开发人员面临重大的成本超支。

排序理由 对大型提示数据集的分析揭示了常见的 LLM 成本估算启发式方法存在不准确之处。 [lever_c_demoted from research: ic=1 ai=1.0]

在 dev.to — LLM tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

研究发现 LLM token 估算启发式方法存在缺陷

本文如何被排名

Signal score
62 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
对大型提示数据集的分析揭示了常见的 LLM 成本估算启发式方法存在不准确之处。 [lever_c_demoted from research: ic=1 ai=1.0]
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

完整方法见我们的编辑标准。

报道来源 [1]

  1. dev.to — LLM tag TIER_1 English(EN) · Zhang Enquan ·

    chars/4 在 10 次提示中的 4 次出错:一项 10,000 次提示的测量

    <p>Everyone estimating LLM token costs does some version of this:<br /> </p> <div class="highlight js-code-highlight"> <pre class="highlight python"><code><span class="n">est_tokens</span> <span class="o">=</span> <span class="nb">len</span><span class="p">(</span><span class="n"…