Repository navigation
Data: add 90% Gemini workload tier and adopt Google AI Ultra 20x × Gemini 4 Neon (#258) - #262
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🔍 Devin Review: 3 flags
Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
klarkxy
reviewed
Nov 25, 2026
klarkxy
left a comment
Collaborator
There was a problem hiding this comment.
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”小标签以提升可读性。
- 位置:
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.
6 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add dedicated 90% Gemini workload tier (
conventions.geminiTokenMix: 90% cache reads / 9.5% fresh input / 0.5% output)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%).lowCache(85%) togemini(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)google_ai_pro_us × gemini-3.6-flash(24.89 亿/月,lowCache, pending deprecation), all 12stepfun_*rows (lowCache), and all 4 Gemini metered API rows (standard97%).Adopt
google_ai_ultra_20x_us × gemini-4-neon= 130.90 亿/月 medium ($0.01528/MTok,maintier)data/research/local-samples-round4-2026-11-23.jsonwith Reading 3 (11-24 05:59 PT, 72% remaining / 28pp) and Reading 4 (11-24 19:42 PT, 64% remaining / 36pp).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,586raw tokens (93.37% hit), list-worth$583.168536→$1,619.91/week(18.95×Pro Neon$85.49/week).#2 29pp + #3 13pp + #4 12pp = 54pp,$269.86→$499.74/5h,19.21×Pro 5h). Ultra 5x × Neon is not derived.scripts/plot_svg.py(0 violations on AA Intelligence).Web, CLI, i18n, docs, and snapshot date (
2026-11-25)geminiworkload rendering inweb/(workloadLine, methodology text, unit tests) andcli/(dataset.ts,rap infotable, tests, docs).data/i18n/adopted.en.json, updatedCONVENTIONS.md,DECISIONS.md,README*.md, and rebuilt all derived outputs & 163 bilingual charts.Verification
BUILD.mdpipeline: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