CommandCodeAI / CommandCodeAI/command-code

GOAT Plan: DeepSeek V4 Flash Cache Read billed ~53% higher than published rate (off-peak usage)

未關閉
#722 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
沒有語言資料
星號
4k
分支
350
PR 合併指標
30 天內沒有已合併 PR

描述

Summary
Description

I've identified a billing discrepancy on the GOAT plan when using DeepSeek V4 Flash. The actual cost for Cache Read tokens is significantly higher than the published rate in the official pricing table, while Input and Output costs match the table exactly.

Expected Behavior

Based on the official GOAT pricing table for DeepSeek V4 Flash:

  • Input: $0.22/M
  • Output: $0.66/M
  • Cache Read: $0.007/M

With my usage (all during off-peak hours):

  • Input: 2.5M × $0.22 = $0.55

  • Output: 0.7874M × $0.66 = $0.5197

  • Cache Read: 83.1M × $0.007 = $0.5817

  • Total expected: $1.65

Actual Behavior

Dashboard shows:

  • DeepSeek V4 Flash: $1.96

  • web_search: $0.01

  • Total actual: $1.97

That's a $0.31 difference

Image Image
Steps to reproduce the issue
  1. Use DeepSeek V4 Flash on the GOAT plan during off-peak hours.
  2. Generate significant Cache Read usage (83.1M tokens over 2 days).
  3. Compare the actual billed amount against the official pricing table.
Supporting Information
Command Code Version

1.29.0

Environment
  • Plan: GOAT
  • Model: DeepSeek V4 Flash
  • Usage Period: August 17–18, 2026
  • Usage Window: All off-peak hours (no peak-time surcharges should apply)
  • ZDR (Zero Data Retention): Not enabled
Operating System

macOS

Terminal/IDE

WezTerm

Shell

zsh

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

I contacted support and was told that the GOAT plan uses credits and each model consumes them at a different rate. However, this doesn't explain why only Cache Read deviates from the table while Input and Output match perfectly.

I've also discussed this with other users and the hourly pricing theory was suggested (peak/off-peak rates), but since all my usage was during off-peak hours, that doesn't account for the discrepancy.

Note on Trace IDs:

I cannot access the individual trace IDs for those days because the Command Code Studio UI only displays the last 100 requests. I've asked support if there's a way to retrieve the full history, but I don't have the granular per-request data to pinpoint exactly which requests caused the overage. If there's an API endpoint or log export I can use to get the full trace history, please let me know.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先查看 GOAT 定價表和 DeepSeek V4 Flash 的 dashboard 使用量明細,然後調查是否能透過 API 或日誌匯出取得完整的 trace 歷史記錄。將所回報的離峰時段 Cache Read 計費與公布的費率進行比較;當差異獲得修正,或其計費依據獲得清楚說明時,即視為完成。

由索引模型根據 Issue 內容生成。

評估

領域
ai, payments
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
活躍
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。