mirror of
https://github.com/instructkr/claw-code.git
synced 2026-10-28 00:05:50 +08:00
Models from the OpenAI-compatible providers fell back to default_sonnet_tier ($3/$15 per MTok), so e.g. gpt-5.4-nano was estimated at 15x its input price and qwen-plus at about 26x. Add a table of published rates keyed by model id, matching dated snapshots and -latest aliases: - OpenAI standard tier for current gpt-6 / gpt-5.x / gpt-4.1 / gpt-4o and o-series models (Responses-only pro models are omitted). - xAI grok-4.x and grok-build. Slugs retired on 2026-05-15 (grok-3, grok-4-0709, grok-4-fast-*, grok-4-1-fast-*) are billed at grok-4.3 rates, and grok-code-fast-* is served as grok-build. - DashScope qwen-max, qwen-plus, qwen-flash and kimi-k2.5 at China (Beijing) rates, which is claw's default DashScope endpoint, with non-thinking output and the 20% implicit-cache hit rate. Long-context and higher input tiers use the base rate because usage is aggregated across requests.