From 6c54ea72ae76853ae0848744df1c33da6010f114 Mon Sep 17 00:00:00 2001 From: Andrew Avery <204509720+AndrewAvery7@users.noreply.github.com> Date: Mon, 10 Aug 2026 10:21:28 -0500 Subject: [PATCH] fix(xai): correct grok-4.5 cached-input pricing cache_read_input_token_cost was 5e-07 ($0.50/1M) and cache_read_input_token_cost_above_200k_tokens was 1e-06 ($1.00/1M). xAI's current pricing page lists $0.30/1M and $0.60/1M respectively for these two tiers; base input/output pricing was already correct. Verified 2026-08-10 against: - https://docs.x.ai/developers/pricing - https://docs.x.ai/developers/models/grok-4.5 - https://docs.x.ai/docs/models (this entry's own `source` field) All three currently agree on $0.30 / $0.60. --- model_prices_and_context_window.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 8982b4f2565..3510f1ba285 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -40192,8 +40192,8 @@ "supports_web_search": true }, "xai/grok-4.5": { - "cache_read_input_token_cost": 5e-07, - "cache_read_input_token_cost_above_200k_tokens": 1e-06, + "cache_read_input_token_cost": 3e-07, + "cache_read_input_token_cost_above_200k_tokens": 6e-07, "input_cost_per_token": 2e-06, "input_cost_per_token_above_200k_tokens": 4e-06, "litellm_provider": "xai", @@ -40213,8 +40213,8 @@ "supports_web_search": true }, "xai/grok-4.5-latest": { - "cache_read_input_token_cost": 5e-07, - "cache_read_input_token_cost_above_200k_tokens": 1e-06, + "cache_read_input_token_cost": 3e-07, + "cache_read_input_token_cost_above_200k_tokens": 6e-07, "input_cost_per_token": 2e-06, "input_cost_per_token_above_200k_tokens": 4e-06, "litellm_provider": "xai",