PulseAugur
中
实时 03:03:04
English(EN) What LLM providers actually put in usage

LLM提供商的token用量报告不一,增加了成本跟踪的难度

由于提供商报告token数量的方式不一致,跟踪LLM使用成本变得复杂。不同的API,如Anthropic和OpenAI的API,对缓存输入token的处理方式不同,如果未标准化,可能导致多收费或少收费。推理token的报告方式也不一致,有时包含在完成token中,有时则分开报告,需要仔细计算以避免重复计数。流式响应可能会进一步使使用跟踪复杂化,因为最终使用数据可能会被省略或延迟,这需要回退到估算或将记录标记为不确定。此外,聊天模板可能会向提示中添加看不见的token,影响成本预测。 AI

影响 准确跟踪LLM使用成本对开发人员和企业至关重要,而此工具旨在提供这种精确度。

排序理由 该条目描述了一个用于管理LLM使用成本的工具(Garmr),详细介绍了技术挑战和解决方案。

在 dev.to — LLM tag 阅读 →

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

LLM提供商的token用量报告不一,增加了成本跟踪的难度

本文如何被排名

Signal score
11 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
该条目描述了一个用于管理LLM使用成本的工具(Garmr),详细介绍了技术挑战和解决方案。
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, product
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) · Garmr ·

    LLM提供商实际在使用的东西

    <p><em>Written with Claude and checked against the code and probes it cites.</em></p> <p>Every LLM API returns a <code>usage</code> block with each response. It looks like the easy part: read the token counts, multiply by the price list, done. In practice it is where cost trackin…