From 18418b753e810aadb92ec2184dc9310b616b080f Mon Sep 17 00:00:00 2001 From: Tai An Date: Wed, 22 Apr 2026 18:21:05 -0700 Subject: [PATCH] feat(fireworks_ai): add kimi-k2p6 model with tool_choice support Adds fireworks_ai/accounts/fireworks/models/kimi-k2p6 and fireworks_ai/kimi-k2p6 entries with supports_tool_choice=true, fixing UnsupportedParamsError when tool_choice is passed for Kimi 2.6 models on Fireworks AI. Fixes #26257 --- model_prices_and_context_window.json | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 225b1ed2139..2d26f7bbc71 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -15783,6 +15783,34 @@ "supports_response_schema": true, "supports_tool_choice": true }, + "fireworks_ai/accounts/fireworks/models/kimi-k2p6": { + "cache_read_input_token_cost": 1e-07, + "input_cost_per_token": 6e-07, + "litellm_provider": "fireworks_ai", + "max_input_tokens": 262144, + "max_output_tokens": 262144, + "max_tokens": 262144, + "mode": "chat", + "output_cost_per_token": 3e-06, + "source": "https://fireworks.ai/pricing", + "supports_function_calling": true, + "supports_response_schema": true, + "supports_tool_choice": true + }, + "fireworks_ai/kimi-k2p6": { + "cache_read_input_token_cost": 1e-07, + "input_cost_per_token": 6e-07, + "litellm_provider": "fireworks_ai", + "max_input_tokens": 262144, + "max_output_tokens": 262144, + "max_tokens": 262144, + "mode": "chat", + "output_cost_per_token": 3e-06, + "source": "https://fireworks.ai/pricing", + "supports_function_calling": true, + "supports_response_schema": true, + "supports_tool_choice": true + }, "fireworks_ai/minimax-m2p1": { "cache_read_input_token_cost": 3e-08, "input_cost_per_token": 3e-07,