Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 127 additions & 0 deletions config/config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,21 @@ output_per_m = 28.0
context_length = 1048576
max_output = 131072
vision = false

[[models]]
provider = "zhipu"
model = "glm-5.3-flash"
# 官网价(2026-10-16 核实,https://docs.bigmodel.cn/):0.8 / 缓存命中 0.23 / 2.8 元每百万 tokens;
# 另有「限时五折」0.4 / 0.115 / 1.4(本条记表列值)。1M 上下文、原生多模态
# —— rant 2026-10-16T15:20:36.482297
currency = "CNY"
input_per_m = 0.8
cache_hit_input_per_m = 0.23
output_per_m = 2.8
context_length = 1048576
max_output = 0
# 官网「原生多模态」:原生理解图片/视频 ⇒ vision = true
vision = true
[[models]]
provider = "openai"
model = "gpt-5.6-sol"
Expand All @@ -411,6 +426,45 @@ output_per_m = 20.0
context_length = 1050000
max_output = 0
vision = false

# —— 新一代 gpt-6 系列(2026-10-16 核实,https://platform.openai.com/docs/pricing)——
# 官网同页有 Standard / Batch(五折)/ Flex / Fast / Ultrafast 五档;本仓价字段只有一组
# ⇒ 一律记 Standard 档(rant 2026-10-16T15:20:36.482297 第 7 条)。
[[models]]
provider = "openai"
model = "gpt-6.1-sol"
# 官网 Standard 档:$4.00 / 缓存命中 $0.20 / $20.00;长上下文档 $8.00 / $0.40 / $30.00;缓存写入 $5.00
currency = "USD"
input_per_m = 4.0
cache_hit_input_per_m = 0.2
output_per_m = 20.0
context_length = 1050000
max_output = 0
vision = false

[[models]]
provider = "openai"
model = "gpt-6-astra"
# 官网 Standard 档:$20.00 / 缓存命中 $2.00 / $100.00;长上下文档 $40 / $4 / $150
currency = "USD"
input_per_m = 20.0
cache_hit_input_per_m = 2.0
output_per_m = 100.0
context_length = 1050000
max_output = 0
vision = false

[[models]]
provider = "openai"
model = "gpt-6-luna"
# 官网 Standard 档:$0.20 / 缓存命中 $0.02 / $1.00;长上下文档 $0.40 / $0.04 / $1.50
currency = "USD"
input_per_m = 0.2
cache_hit_input_per_m = 0.02
output_per_m = 1.0
context_length = 1050000
max_output = 0
vision = false
[[models]]
provider = "anthropic"
model = "claude-opus-5"
Expand All @@ -422,6 +476,19 @@ context_length = 1000000
max_output = 0
vision = false
[[models]]
provider = "anthropic"
model = "claude-sonnet-5.5"
# 官网价(2026-10-16 核实,https://docs.anthropic.com/en/docs/about-claude/pricing):
# Standard $2.00 / 缓存命中 $0.10 / $10.00;缓存写入 5min $2.50、1h $4.00。1M 上下文
# —— rant 2026-10-16T15:20:36.482297
currency = "USD"
input_per_m = 2.0
cache_hit_input_per_m = 0.1
output_per_m = 10.0
context_length = 1000000
max_output = 0
vision = false
[[models]]
provider = "google"
model = "gemini-3.1-pro"
currency = "USD"
Expand All @@ -431,6 +498,35 @@ output_per_m = 12.0
context_length = 1048576
max_output = 0
vision = false

# —— 新一代 Gemini(2026-10-16 核实,https://ai.google.dev/gemini-api/docs/pricing)——
# ⚠️ 两条都带限时促销价:本仓没有「按时切换价格」的字段 ⇒ 记现值,并在注释里写明两个数与切换日
# (rant 2026-10-16T15:20:36.482297 第 6 条)。
[[models]]
provider = "google"
model = "gemini-3.8-flash"
# 官网价:$0.75 / 缓存命中 $0.075 / $3.75,截至 2026-12-31;
# 自 2027-01-01 起 $1.50 / $0.15 / $7.50 ⇒ 记现值。
currency = "USD"
input_per_m = 0.75
cache_hit_input_per_m = 0.075
output_per_m = 3.75
context_length = 1048576
max_output = 0
vision = false

[[models]]
provider = "google"
model = "gemini-4-argon"
# 官网价:$2.00 / 缓存命中 $0.10 / $10.00,截至 2026-11-30;
# 自 2026-12-01 起 $4.00 / $0.20 / $20.00 ⇒ 记现值。
currency = "USD"
input_per_m = 2.0
cache_hit_input_per_m = 0.1
output_per_m = 10.0
context_length = 1048576
max_output = 0
vision = false
[[models]]
provider = "xai"
model = "grok-4.6"
Expand Down Expand Up @@ -490,6 +586,21 @@ context_length = 1048576
max_output = 0
vision = false

[[models]]
provider = "minimax"
model = "minimax-m2.7"
# 官网价(2026-10-16 核实,https://platform.minimax.cn/docs/pricing/overview):输入 2.1 /
# 输出 8.4 / 缓存读取 0.42 / 缓存写入 2.625 元每百万 tokens(标准档)。⚠️ 官网价格页与该模型
# 介绍页均未给出上下文窗口 ⇒ context_length 暂记 0(=官网未给数),待补,不在交付里猜一个值
# —— rant 2026-10-16T15:20:36.482297
currency = "CNY"
input_per_m = 2.1
cache_hit_input_per_m = 0.42
output_per_m = 8.4
context_length = 0
max_output = 0
vision = false

[[models]]
provider = "aliyun-bailian"
model = "qwen3.8-max"
Expand Down Expand Up @@ -539,5 +650,21 @@ context_length = 1048576
max_output = 0
vision = false

[[models]]
provider = "aliyun-bailian"
model = "qwen3.8-max-prime"
# 官网现役优速档(2026-10-16 核实,https://help.aliyun.com/zh/model-studio/model-pricing):
# 0<Token≤1M 输入 24 元 / 输出 72 元,华北 2(北京)外无免费额度;官网口径「有效期:自开通
# 百炼/模型发布/申请通过之日起 90 天内」。⚠️ 缓存命中价官网价格表未给数(该行只写「上下文缓存
# 享有折扣」,与 qwen3.8-flash 同款)⇒ 暂记 0(=命中免费、会少收),待补
# —— rant 2026-10-16T15:20:36.482297 第 5 条
currency = "CNY"
input_per_m = 24.0
cache_hit_input_per_m = 0.0
output_per_m = 72.0
context_length = 1048576
max_output = 0
vision = false

# 读图模型:DeepSeek 的视觉能力已并入 `deepseek-flash`(V4.1-Flash 原生多模态),
# 旧的 `deepseek-v4-flash-vision-exp` 已下线并被官方路由到 V4.1-Flash ⇒ 此处不再单列。
2 changes: 1 addition & 1 deletion src/catalog_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const APP_JS: &str = include_str!("../ui/js/app.js");
///
/// 它们的作用是把「提取器静默失真」与「数据真的变了」区分开:若扫描器写错而返回空集,
/// 集合断言会**在空集上"通过"**(C2005 坑 68),这些计数会先把运行中止。
const MODEL_COUNT: usize = 15;
const MODEL_COUNT: usize = 24;
const MARKET_COUNT: usize = 7;
const PLAN_COUNT: usize = 16;

Expand Down
2 changes: 1 addition & 1 deletion ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ <h3 id="chat-title">使用模型</h3>
</div>

<script src="js/api.js?v=20261012-1"></script>
<script src="js/data.js?v=20261017-1"></script>
<script src="js/data.js?v=20261017-2"></script>
<script src="js/i18n.js?v=20261015-2"></script>
<script src="js/app.js?v=20261015-3"></script>
</body>
Expand Down
9 changes: 9 additions & 0 deletions ui/js/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,27 @@
{ provider: "deepseek", model: "deepseek-v4-pro", in: CNY(4.5), out: CNY(13.5), ctx: 1048576, max: 384000, tag: "推理" },
{ provider: "deepseek", model: "deepseek-flash", in: CNY(1.0), out: CNY(4.0), ctx: 1048576, max: 384000, tag: "多模态" },
{ provider: "zhipu", model: "glm-5.3", in: CNY(8.0), out: CNY(28.0), ctx: 1048576, max: 131072, tag: "旗舰" },
{ provider: "zhipu", model: "glm-5.3-flash", in: CNY(0.8), out: CNY(2.8), ctx: 1048576, max: null, tag: "多模态" },
{ provider: "openai", model: "gpt-5.6-sol", in: USD(4.0), out: USD(20.0), ctx: 1050000, max: null, tag: "旗舰" },
{ provider: "openai", model: "gpt-6.1-sol", in: USD(4.0), out: USD(20.0), ctx: 1050000, max: null, tag: "旗舰" },
{ provider: "openai", model: "gpt-6-astra", in: USD(20.0), out: USD(100.0), ctx: 1050000, max: null, tag: "旗舰" },
{ provider: "openai", model: "gpt-6-luna", in: USD(0.2), out: USD(1.0), ctx: 1050000, max: null, tag: "轻量" },
{ provider: "anthropic",model: "claude-opus-5", in: USD(5.0), out: USD(25.0), ctx: 1000000, max: null, tag: "旗舰" },
{ provider: "anthropic",model: "claude-sonnet-5.5", in: USD(2.0), out: USD(10.0), ctx: 1000000, max: null, tag: "通用" },
{ provider: "google", model: "gemini-3.1-pro", in: USD(2.0), out: USD(12.0), ctx: 1048576, max: null, tag: "多模态" },
{ provider: "google", model: "gemini-3.8-flash", in: USD(0.75), out: USD(3.75), ctx: 1048576, max: null, tag: "轻量" },
{ provider: "google", model: "gemini-4-argon", in: USD(2.0), out: USD(10.0), ctx: 1048576, max: null, tag: "多模态" },
{ provider: "xai", model: "grok-4.6", in: USD(2.0), out: USD(6.0), ctx: 500000, max: null, tag: "通用" },
{ provider: "xai", model: "grok-4.7", in: USD(2.0), out: USD(6.0), ctx: 500000, max: null, tag: "旗舰" },
{ provider: "moonshot", model: "kimi-k3", in: CNY(20.0), out: CNY(100.0), ctx: 1048576, max: null, tag: "长文" },
{ provider: "bytedance-ark", model: "doubao-seed-evolving", in: CNY(6.0), out: CNY(30.0), ctx: 1048576, max: 262144, tag: "旗舰" },
{ provider: "minimax", model: "minimax-m3", in: CNY(2.1), out: CNY(8.4), ctx: 1048576, max: null, tag: "轻量" },
{ provider: "minimax", model: "minimax-m2.7", in: CNY(2.1), out: CNY(8.4), ctx: 0, max: null, tag: "轻量" },
{ provider: "aliyun-bailian", model: "qwen3.8-max", in: CNY(12.0), out: CNY(36.0), ctx: 1048576, max: null, tag: "旗舰" },
{ provider: "aliyun-bailian", model: "qwen3.7-plus", in: CNY(2.0), out: CNY(8.0), ctx: 1048576, max: null, tag: "通用" },
{ provider: "aliyun-bailian", model: "qwen3.7-flash", in: CNY(0.2), out: CNY(0.8), ctx: 1048576, max: null, tag: "轻量" },
{ provider: "aliyun-bailian", model: "qwen3.8-flash", in: CNY(0.8), out: CNY(2.7), ctx: 1048576, max: null, tag: "轻量" },
{ provider: "aliyun-bailian", model: "qwen3.8-max-prime", in: CNY(24.0), out: CNY(72.0), ctx: 1048576, max: null, tag: "旗舰" },
];

// 金额/余额格式化:整数原样(千分位);小数保留最多 5 位(2026-08-20:1 CNY = 1 点,点数可为小数)
Expand Down
Loading