From 682da9166fbb417a6129b16a529c66c85bc56454 Mon Sep 17 00:00:00 2001 From: Thierry Bourrillon Date: Fri, 21 Aug 2026 22:47:32 +0200 Subject: [PATCH] alibaba-cn/qwen-plus: add published explicit cache rates Alibaba publishes explicit context-cache pricing for qwen-plus that this entry does not carry, so anything pricing a cached qwen-plus turn has to fall back to the uncached input rate. From the Model Studio pricing page (China Beijing / Global scope), base tier (Input <= 128k): Explicit Cache Creation 0.144 per 1M tokens Explicit Cache Read 0.012 per 1M tokens Both corroborate Alibaba's documented multipliers against the input rate this entry already carries: the context-cache guide states explicit cache creation is billed at 125% of the standard input price and an explicit cache hit at 10%. 0.115 * 1.25 = 0.14375 (published 0.144) and 0.115 * 0.10 = 0.0115 (published 0.012). cache_read is the EXPLICIT hit rate, matching how the other Qwen entries in this repo are populated. Alibaba prices an implicit prefix-cache hit separately at 20% (0.023), which this schema has no field for; raised as an issue rather than folded in here. --- providers/alibaba-cn/models/qwen-plus.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/providers/alibaba-cn/models/qwen-plus.toml b/providers/alibaba-cn/models/qwen-plus.toml index 28b7d665683..e8ed05a4087 100644 --- a/providers/alibaba-cn/models/qwen-plus.toml +++ b/providers/alibaba-cn/models/qwen-plus.toml @@ -21,6 +21,8 @@ max = 81_920 input = 0.115 output = 0.287 reasoning = 1.147 +cache_read = 0.012 +cache_write = 0.144 [limit] context = 1_000_000