Claude 任务的吞吐速度计数器显示异常高的 tok/s 数值
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: Rinorsi
**客户端版本**: 0.1.66
---
## 现象
在 Cindy 中使用 Claude 模型执行任务后,界面底部的速度计数器显示了明显不合理的吞吐速度,疑似计算方式、时间窗口或单位展示存在问题。
## 复现步骤
1. 在 Cindy 中选择 Claude Opus 5 执行一个任务。
2. 等待任务持续运行一段时间。
3. 查看界面底部的耗时与 token 速度指标。
## 期望行为
速度计数器应按实际生成/处理的 token 数和正确的时间范围计算,并显示可信的 tok/s 数值;如指标并非模型实时输出速度,应明确说明其统计口径。
## 实际行为
一次任务运行约 15 分钟时,界面显示约 3,750 tok/s。该数值远高于用户对模型实际生成速度的观察和合理预期,因此怀疑计数器把累计 token、缓存 token、并发处理量或时间单位错误地用于速度计算。
## 复现频率
用户未知;目前确认在一次 Claude Opus 5 任务中出现,尚未验证其他模型是否也有同类问题。
## 已尝试
尚未尝试刷新、重试或切换模型。
## 脱敏诊断摘要
用户已同意公开以下脱敏摘要:任务状态区域同时显示约 15 分钟的运行耗时和约 3,750 tok/s 的速度;未包含原始对话、业务内容、个人路径、账号或凭证。
---
**版本区域**: CN
**OS**: darwin arm64 (25.6.0)
**Harness**: Codex
**Model ID**: ` codex/gpt-5.6-sol `
**界面语言**: zh-CN
Contributor guide
Research direction
The issue names no files or tests. First reproduce the bottom speed counter with a Claude task and trace how its token count and elapsed-time window are calculated. Done means the displayed tok/s uses the intended token and time values, with the metric's meaning clear when it is not real-time output speed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- ai, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100