Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VSCode Codex SpeedNew to Visual Studio Code? Get it now.
VSCode Codex Speed

VSCode Codex Speed

NO00

|
20 installs
| (0) | Free
Monitor Codex output token/s in the VS Code status bar, including Remote SSH.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Codex Speed

在 VS Code 状态栏实时查看 Codex 及多款 AI 编程工具的输出速度、用量与额度,原生支持 Remote SSH。

Track real-time output speed, usage, and quota for Codex and multi-agent coding tools in the VS Code status bar, with native Remote SSH support.

简体中文 · English · GitHub · 反馈问题 / Report an issue

Codex 85.0 tok/s · 5h 42%     实测速度 + 可选额度 / Measured rate + optional quota
Codex ~85.0 tok/s             生成中估算 / In-flight estimate
Codex 0.0 tok/s               当前无输出 / Idle

简体中文

0.1.13 更新内容

新增功能

  • 多来源自动监测:除 Codex 外,自动支持 Claude Code、Antigravity、Qoder CLI(国际版/国内版)、CodeBuddy Code、OpenBitFun,未安装时自动忽略,也可按需在设置中单独开关。
  • 状态栏额度显示:新增状态栏额度提示(默认显示已用比例,可切换为剩余比例或关闭),用量 ≥95% 时标红提醒;悬停可查看各周期已用比例与重置倒计时。
  • 仪表盘今日峰值:顶部同时展示「近 5 分钟峰值」与「今日峰值(含出现时刻)」,切换统计周期也不会丢失。
  • 模型定价更新:核验同步至 2026-12-03 官方定价,新增 GPT-6.2 Astra / Sol、Claude 5.x、Gemini 4 等模型单价。

问题修复

  • 修复状态栏固定显示 Codex 前缀的问题,改为动态显示当前实际使用的 CLI 来源名称(多工具并行时显示 Agents)。
  • 修复部分场景下实时速度停留在 0.0 tok/s 或多轮对话中未能及时显示生成速度的问题。
  • 修复今日/7 天/30 天请求数、Token 总量与 API 等值费用统计偏少的问题。
  • 修复接口重试、多行拆分日志及历史快照回放导致的测速不准或状态误判。

你能看到什么

  • 状态栏实时读数:无需切换窗口即可查看当前输出 tok/s 与订阅额度,悬停查看最近调用的模型、耗时和额度重置倒计时。
  • Remote SSH 即装即用:直接运行在远程主机上,自动读取服务器日志,无需手动同步日志或额外配置 SSH。
  • 可视化监控仪表盘:点击状态栏打开面板,查看 1/2/5 分钟速度曲线、近 5 分钟与今日峰值、按模型实时速度、首段内容等待时间及会话明细。
  • 用量与费用估算:按近 30 分钟/今天/近 7 天/近 30 天统计输入、输出、请求数与 API 等值美元费用,并支持自定义模型单价。
  • 多语言切换:支持英文、简体中文、繁体中文,默认跟随 VS Code,可在设置或仪表盘顶部即时切换。

快速上手

  1. 在扩展市场搜索 VSCode Codex Speed(或 @id:NO00.vscode-codex-speed)并安装。
  2. 使用 Remote SSH 时,确保扩展安装在 SSH: 服务器名 一侧。
  3. 正常使用 Codex 或其他受支持的 AI 编程工具,状态栏会自动显示速度读数;点击状态栏即可打开仪表盘。

如果使用了自定义 Codex 数据目录,可在 VS Code 用户或远程设置中指定:

{
  "codexSpeed.codexHome": "/home/your-user/.codex"
}

状态栏说明

显示示例 含义
85.0 tok/s 最近 3 秒窗口内的实测输出速度
~85.0 tok/s 生成中,根据近期调用速度实时估算
等待计数 正在生成,等待首条可用计数(或已关闭估算)
工具中 / 0.0 tok/s 正在执行工具,或当前空闲
5h 42% / 7d 56% 订阅额度已用或剩余比例(≥95% 自动标红预警)

常用设置

设置 默认值 说明
codexSpeed.statusBarQuota used 状态栏额度:used(已用)、remaining(剩余)或 off(关闭)
codexSpeed.sources.* true 分别开关 Claude Code、Antigravity、Qoder、CodeBuddy、OpenBitFun
codexSpeed.usageRange today 仪表盘默认统计周期:30m、today、7d、30d
codexSpeed.scope all all(统计本机全部会话)或 workspace(仅当前工作区)
codexSpeed.language auto 界面语言:auto、en、zh-cn、zh-tw(即时生效)
codexSpeed.priceOverrides {} 自定义模型单价(美元/百万 token)
codexSpeed.showEstimates true 是否在生成中显示 ~ 估算速度
codexSpeed.enabled true 开启或暂停监控

隐私与帮助

  • 纯本地只读:仅读取本地日志,不修改工具配置、不读取登录凭证、不上传对话内容,也不发起任何模型请求或额外消耗 token。
  • 看不到速度?:悬停状态栏查看状态提示,或在命令面板运行 Codex Speed: 查看诊断日志。确认扩展与 AI 工具在同一主机且当前用户有日志读取权限。
  • 完整配置与开发文档请查看 GitHub 仓库说明。本扩展为独立社区项目,非 OpenAI 官方产品。

English

What's New in 0.1.13

New Features

  • Multi-source auto-detection: Automatically monitors Claude Code, Antigravity, Qoder CLI (International & CN), CodeBuddy Code, and OpenBitFun alongside Codex. Uninstalled tools are silently skipped, and each source can be toggled individually.
  • Status bar quota display: Shows subscription quota directly in the status bar (used, remaining, or off), highlighting usage at ≥95% in red, with per-window usage and reset countdowns on hover.
  • Today peak in dashboard: Displays Today peak (with timestamp) next to the 5-minute peak, staying visible across all usage range selections.
  • Updated model pricing: Verified against 2026-12-03 official rates, adding GPT-6.2 Astra / Sol, Claude 5.x, and Gemini 4 models.

Bug Fixes

  • Fixed the status bar always showing a hardcoded Codex prefix instead of the active CLI source name (displays Agents when multiple tools run concurrently).
  • Fixed cases where live speed remained stuck at 0.0 tok/s or failed to update during multi-turn conversations.
  • Fixed undercounted Today / 7-day / 30-day request counts, token totals, and API-equivalent costs.
  • Fixed speed inaccuracies and stale generation states caused by API retries, multi-line split logs, and replayed snapshots.

What You Get

  • Live status bar readout: See output tok/s and optional quota at a glance; hover for the latest model, duration, and reset countdown.
  • Native Remote SSH support: Runs directly on your remote host to read server logs with no manual log syncing or extra SSH setup.
  • Interactive dashboard: Click the status item to view 1/2/5-minute speed charts, 5-minute & today peaks, per-model speed, first-content wait, and session breakdowns.
  • Usage & API-equivalent cost: Track input, output, requests, and estimated USD cost across 30m / Today / 7d / 30d with customizable per-model prices.
  • Multi-language UI: Supports English, Simplified Chinese, and Traditional Chinese with instant switching.

Quick Start

  1. Install VSCode Codex Speed from the Marketplace (or search @id:NO00.vscode-codex-speed).
  2. In Remote SSH windows, make sure it is installed on SSH: your-server.
  3. Run Codex or any supported coding agent—speed readings appear automatically in the status bar. Click the item to open the dashboard.

To point to a custom Codex data directory, configure User or Remote Settings:

{
  "codexSpeed.codexHome": "/home/your-user/.codex"
}

Status Bar Guide

Display Meaning
85.0 tok/s Measured output rate over the trailing 3-second window
~85.0 tok/s Generating, estimated from recent measured calls
Waiting for counts Generating, waiting for usage counts (or estimates disabled)
Tools / 0.0 tok/s Running tools, or currently idle
5h 42% / 7d 56% Subscription quota used or remaining (red alert at ≥95%)

Key Settings

Setting Default Description
codexSpeed.statusBarQuota used Status bar quota: used, remaining, or off
codexSpeed.sources.* true Toggle Claude Code, Antigravity, Qoder, CodeBuddy, and OpenBitFun
codexSpeed.usageRange today Default usage range: 30m, today, 7d, or 30d
codexSpeed.scope all all host sessions or current workspace only
codexSpeed.language auto UI language: auto, en, zh-cn, or zh-tw (applies immediately)
codexSpeed.priceOverrides {} Custom model pricing in USD per million tokens
codexSpeed.showEstimates true Show ~ in-flight speed estimates while generating
codexSpeed.enabled true Enable or pause monitoring

Privacy & Troubleshooting

  • Local & read-only: Only reads local logs. Never modifies tool settings, reads credentials, uploads conversation content, or sends model requests.
  • No speed showing?: Hover the status item for status hints or run Codex Speed: Show Diagnostic Logs from the Command Palette. Verify the extension runs on the same host with read access to the logs.
  • For full configuration and development instructions, see the GitHub README. This is an independent community extension, not an official OpenAI product.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft