Skip to content

Data: add 90% Gemini workload tier and adopt Google AI Ultra 20x × Gemini 4 Neon (#258) - #262

Merged
Fei2411 merged 2 commits into
mainfrom
data/gemini-90-tier-ultra20x-neon-258
Nov 25, 2026
Merged

Fei2411 merged 2 commits into
mainfrom
data/gemini-90-tier-ultra20x-neon-258

Conversation

@Fei2411

@Fei2411 Fei2411 commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  1. Add dedicated 90% Gemini workload tier (conventions.geminiTokenMix: 90% cache reads / 9.5% fresh input / 0.5% output)

    • Backed by maintainer local Gemini telemetry (data/research/gemini-token-mix-round1-2026-11-24.json: 7.37B raw tokens, 35,589 calls, pooled 89.88% / 9.52% / 0.60%, input cache hit rate 90.42%) and recent samples (Argon 90%, Pro Neon 88.04%, Ultra 20x Neon 93.37%).
    • Migrates all 7 active Gemini subscription rows from lowCache (85%) to gemini (90%):
      • devin_max × gemini-4-carbon: 18.82 → 24.24 亿/月 ($0.08251/MTok, medium)
      • devin_max × gemini-4-neon: 12.55 → 16.16 亿/月 ($0.12376/MTok, low)
      • google_ai_pro_us × gemini-3.8-flash: 25.81 → 31.34 亿/月 ($0.00638/MTok, high)
      • google_ai_pro_us × gemini-4-argon: 0.66 → 0.85 亿/月 ($0.23518/MTok, low)
      • google_ai_pro_us × gemini-4-neon: 5.36 → 6.91 亿/月 ($0.02893/MTok, medium)
      • google_ai_ultra_5x_us × gemini-3.8-flash: 129.05 → 156.7 亿/月 ($0.00638/MTok, low)
      • google_ai_ultra_20x_us × gemini-3.8-flash: 516.2 → 626.8 亿/月 ($0.00319/MTok, low)
    • Leaves untouched: google_ai_pro_us × gemini-3.6-flash (24.89 亿/月, lowCache, pending deprecation), all 12 stepfun_* rows (lowCache), and all 4 Gemini metered API rows (standard 97%).
  2. Adopt google_ai_ultra_20x_us × gemini-4-neon = 130.90 亿/月 medium ($0.01528/MTok, main tier)

    • Updated data/research/local-samples-round4-2026-11-23.json with Reading 3 (11-24 05:59 PT, 72% remaining / 28pp) and Reading 4 (11-24 19:42 PT, 64% remaining / 36pp).
    • 36pp cumulative (2026-11-23 17:20:51 – 11-24 19:41:58 PT, Antigravity main + T3Code ACP deduplicated, Claude/GPT 100% untouched): 5,847 pure MODEL calls, 1,387,418,586 raw tokens (93.37% hit), list-worth $583.168536 → $1,619.91/week (18.95× Pro Neon $85.49/week).
    • Corroborated by 3 clean 5h windows pooled (#2 29pp + #3 13pp + #4 12pp = 54pp, $269.86 → $499.74/5h, 19.21× Pro 5h). Ultra 5x × Neon is not derived.
    • Enters Pareto frontier on AA Intelligence v5.0.1 and AA Coding Agent v2.1; adjusted frontier label offsets in scripts/plot_svg.py (0 violations on AA Intelligence).
  3. Web, CLI, i18n, docs, and snapshot date (2026-11-25)

    • Added gemini workload rendering in web/ (workloadLine, methodology text, unit tests) and cli/ (dataset.ts, rap info table, tests, docs).
    • Synced and translated all entries in data/i18n/adopted.en.json, updated CONVENTIONS.md, DECISIONS.md, README*.md, and rebuilt all derived outputs & 163 bilingual charts.

Verification

  • Full BUILD.md pipeline: verify_i18n, readme_stats --check, verify_benchmark_configs, verify_aa_snapshot, verify_deepswe, verify_configuration_html, verify_fee_bands, verify_chart_labels, verify_svg, verify_four_boards, verify_publication, verify_palette, verify_snapshot_date --base origin/main — all PASS.
  • npm --prefix web run build && npm --prefix web test — 79/79 PASS.
  • npm --prefix cli run typecheck && npm --prefix cli test — 162/162 PASS (2 skipped).

Closes #258


Devin Review

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 3 flags

Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

@klarkxy klarkxy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed via Gemini App · Model: Gemini · Commit: 47d0ee92452bfcf969f3ae657cc970836d70b015

整体评估

本 PR 新增了独立的 90% Gemini 订阅负载档(conventions.geminiTokenMix:90% / 9.5% / 0.5%),将 7 条在用 Gemini 订阅行从 85% 低缓存档迁入新档(保留待下架 gemini-3.6-flash 与 Step 全系在 85% 低缓存档、Gemini 按量 API 行在 97% 标准档),并基于四次面板读数(累计 36pp、13.87 亿 raw token)正式采用 google_ai_ultra_20x_us × gemini-4-neon = 130.90 亿/月。核心重算公式(scripts/build_adopted.py 断言全部闭合)、中英双语翻译、派生 CSV/JSON、帕累托前沿标签偏移以及 Web/CLI 单测均已同步更新并通过全部 CI 检查;审查中发现 1 处新增证据文件的采用值停留在第 3 次读数阶段,以及若干口径/Schema 一致性细节供参考。

分级审查意见

1. 建议修复(逻辑缺陷 / 潜在风险)

  • gemini-token-mix-round1-2026-11-24.json 中 affectedRows 仍残留三读数(28pp / 124.08 亿)旧数值,与正式采用值冲突
    • 位置:data/research/gemini-token-mix-round1-2026-11-24.json 第 55 行
    • 触发条件与影响:affectedRows 第 8 项写为 "google_ai_ultra_20x_us::gemini-4-neon (新增采用 124.08 亿/月, #258 三读数 28pp)",系补录第 4 次面板读数前的中间结果($429.931073 ÷ 28% × 4 ÷ $0.495 = 124.08 亿/月);而同 PR 的 local-samples-round4-2026-11-23.json、scripts/build_adopted.py、data/adopted.csv 及 DECISIONS.md 已按四读数累计 36pp 正式采用 130.90 亿/月,导致两份公开研究证据文件对同一采用点的记录自相矛盾。
    • 修改建议:将该行同步更新为 "google_ai_ultra_20x_us::gemini-4-neon (新增采用 130.90 亿/月, #258 四读数 36pp)"。

2. 建议改进(边界条件 / 健壮性)

  • (a)scripts/build_adopted.py 中 36pp ±0.5pp 区间上界基于二次取整值计算,与证据文件及 DECISIONS.md 相差 0.01 亿
    • 位置:scripts/build_adopted.py 第 1630 行(对比 DECISIONS.md 第 17 行与 data/research/local-samples-round4-2026-11-23.json 第 342 行)
    • 说明:build_adopted.py 使用已 round(..., 2) 后的 google_ai_ultra_20x_neon_monthly_yi()(130.90)乘以 36 / 35.5 得到 132.7436... → 132.74亿/月(写入 adopted.csv、adopted.en.json 与 derived/points.*);而未取整原值 130.902028 × 36 / 35.5 = 132.7457... → 132.75亿/月(即 local-samples-round4 与 DECISIONS.md 记录的 129.11–132.75 亿)。
    • 修改建议:建议在 build_adopted.py 中基于未取整月度值(如 (google_ai_ultra_20x_neon_weekly_worth_usd() * MONTH_WEEKS / blended_gemini(*GEMINI_NEON_LIST) * 1e6 / YI) * 36 / 35.5)格式化区间,使全库统一为 129.11~132.75亿/月。
  • (b)cli/src/dataset.ts 与 web/src/types.ts 将 geminiTokenMix 标为可选字段,缺失时会静默回退为 97% 标准档展示
    • 位置:cli/src/dataset.ts 第 136 行、web/src/types.ts 第 108 行、web/src/domain.ts 第 727 行
    • 说明:geminiTokenMix 已成为 conventions.json 的核心固定负载档之一,但 Schema 中被定义为 tokenMix.optional()。若输入快照存在 workload: "gemini" 的点位却漏传 conventions.geminiTokenMix,workloadLine() 会跳过 if (p.workload === "gemini" && conventions.geminiTokenMix) 并静默落入末尾的 standardTokenMix(97% 缓存读)文案分支,不会触发校验报错。
    • 修改建议:建议将 geminiTokenMix 与 lowCacheTokenMix 对齐设为必填字段,或在 dataset.ts 的 superRefine 中增加“当存在 workload === 'gemini' 点位时 conventions.geminiTokenMix 必填”的一致性校验。
  • (c)DECISIONS.md 首段引用的 Ultra 20x Neon 命中率仍为三读数口径
    • 位置:DECISIONS.md 第 8 行
    • 说明:第 8 行写为 Ultra 20x Neon 93.58%(对应三读数 weekCumulative28 的 0.9358),而第 17 行及 PR 摘要中的四读数终稿(weekCumulative36)命中率为 93.37%,建议统一为 93.37%。

3. 小细节(Nits)

  • web/src/App.tsx 方法说明页 .mix-values 数值块语义提示
    • 位置:web/src/App.tsx 第 1966–1976 行
    • 说明:上段文字已扩展说明标准档、Anthropic 档、Gemini 90% 档与低缓存 85% 档四套口径,紧随其后的 .mix-values 三列大字(97% / 2.5% / 0.5%)仅展示默认标准档 standardTokenMix,后续可考虑加注“标准负载基准 / Standard workload”小标签以提升可读性。

@Fei2411
Fei2411 merged commit 85bc3b3 into main Nov 25, 2026
4 checks passed
@Fei2411
Fei2411 deleted the data/gemini-90-tier-ultra20x-neon-258 branch November 25, 2026 06:03
jacano added a commit to jacano/real-api-pricing that referenced this pull request Nov 27, 2026
OpenDesign Go is a $10/month coding subscription that sells a $60 base of Coding Plan
credits per month ($15 per 7-day window, $5 per 5-hour window), with an official credit
multiplier per model. The card's $220 / $55 / $18 are those base numbers divided by 0.27
(Eco) and floored, i.e. maximum usage equivalents, not base credits.

- 11 adopted rows, one per official Coding Plan model. Monthly usage equivalent =
  min($220, $60 / multiplier), divided by the standard-workload blend at the catalogue
  rate; e.g. DeepSeek V4.1 Flash (0.5x) 6.2112B tokens at $0.001610/MTok, GLM-5.3 Flash
  3.3946B at $0.002946, Kimi K2.7 Code 263.1M at $0.038008.
- Excluded: first-month $8 and yearly $84 (one-off/annual), the 0.25x off-peak row
  (2026-10-20 18:00 to 2026-10-27 18:00 UTC+8) and the Black Friday campaign
  (2026-11-21 18:00 to 2026-12-05 00:00 UTC+8); all temporary or for new subscriptions.
- New channel OpenDesign (#087599, the black brand mark collides with Zhipu; the free
  deep-teal gap passes verify_palette at dE2000 17.7 against the other 18 channels),
  legend order in plot_svg/plot_quotas/build_html, official logo mark in
  web/src/assets/provider-logos/opendesign.svg with the MONO dark-mode inversion and
  entries in SOURCES.md and the logos README.
- workload_of() carries "opendesign_" so every row is workload=standard; source and the
  eleven decision notes are Chinese, with their English entries in
  data/i18n/adopted.en.json (verify_i18n passes: 495 zh->en + 2 en->zh).
- Research evidence: data/research/opendesign-go-round1-2026-11-23.json.
- Rebased onto main cce3f28 (2026-11-25), which had added the Gemini 90% workload tier
  and the Google AI Ultra 20x/5x x Gemini 4 Neon rows (Fei-Craft#258, Fei-Craft#262, Fei-Craft#263). The generated
  outputs conflicted (charts, chart tables, interactive HTML, README statistics); they
  were regenerated from the merged adopted data, so the final tree carries main's rows
  and this channel's 11 rows together: 388 -> 399 plan x model points, 448 benchmark
  configurations and 2454 configuration references. DECISIONS.md keeps both sides'
  entries (2026-11-25 and 2026-11-24 Gemini entries, then the OpenDesign 2026-11-24 and
  2026-11-23 records).
- Regenerated every BUILD.md output (adopted.csv, derived, charts, tables, interactive
  HTML, README statistics); data/conventions.json updatedAt 2026-11-28.
- Known naming overlap: the OpenDesign Arena board's agentHarness is also called
  "OpenDesign", so that board's labels read "OpenDesign <model>" above the plan
  "OpenDesign Go". The board is left untouched.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants