From 44b6f9c15bc9824e1b4c88bd1b8e1869d60f3e10 Mon Sep 17 00:00:00 2001 From: Chesars Date: Mon, 23 Mar 2026 12:42:06 -0300 Subject: [PATCH 1/3] feat(bedrock): add GLM-5 and Minimax M2.5 with regional aliases Add Bedrock model entries using the aliases feature: - zai.glm-5: $1.00/$3.20 per 1M tokens (us-east-1, us-west-2) - minimax.minimax-m2.5: $0.30/$1.20 per 1M tokens (us-east-1, us-west-2) Source: https://aws.amazon.com/bedrock/pricing/ Refs #24411, #24412 --- model_prices_and_context_window.json | 58 +++++++++++++++++++--------- 1 file changed, 40 insertions(+), 18 deletions(-) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index c53ee943c58..16359af8193 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -14604,17 +14604,14 @@ "uses_embed_content": true }, "vertex_ai/gemini-embedding-2-preview": { - "input_cost_per_audio_per_second": 0.00016, - "input_cost_per_image": 0.00012, - "input_cost_per_token": 2e-07, - "input_cost_per_video_per_second": 0.00079, + "input_cost_per_token": 1.5e-07, "litellm_provider": "vertex_ai", "max_input_tokens": 8192, "max_tokens": 8192, "mode": "embedding", "output_cost_per_token": 0, "output_vector_size": 3072, - "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing", + "source": "https://ai.google.dev/gemini-api/docs/embeddings#multimodal", "supports_multimodal": true, "uses_embed_content": true }, @@ -14631,18 +14628,6 @@ "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing", "uses_embed_content": true }, - "vertex_ai/gemini-embedding-2-preview": { - "input_cost_per_token": 1.5e-07, - "litellm_provider": "vertex_ai", - "max_input_tokens": 8192, - "max_tokens": 8192, - "mode": "embedding", - "output_cost_per_token": 0, - "output_vector_size": 3072, - "source": "https://ai.google.dev/gemini-api/docs/embeddings#multimodal", - "supports_multimodal": true, - "uses_embed_content": true - }, "gemini/gemini-embedding-001": { "input_cost_per_token": 1.5e-07, "litellm_provider": "gemini", @@ -31147,7 +31132,9 @@ "mode": "chat", "output_cost_per_token": 3.2e-06, "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing#glm-models", - "supported_regions": ["global"], + "supported_regions": [ + "global" + ], "supports_function_calling": true, "supports_prompt_caching": true, "supports_reasoning": true, @@ -37394,5 +37381,40 @@ ] } ] + }, + "zai.glm-5": { + "input_cost_per_token": 1e-06, + "output_cost_per_token": 3.2e-06, + "litellm_provider": "bedrock", + "max_input_tokens": 200000, + "max_output_tokens": 128000, + "max_tokens": 128000, + "mode": "chat", + "supports_function_calling": true, + "supports_reasoning": true, + "supports_system_messages": true, + "supports_tool_choice": true, + "source": "https://aws.amazon.com/bedrock/pricing/", + "aliases": [ + "bedrock/us-east-1/zai.glm-5", + "bedrock/us-west-2/zai.glm-5" + ] + }, + "minimax.minimax-m2.5": { + "input_cost_per_token": 3e-07, + "output_cost_per_token": 1.2e-06, + "litellm_provider": "bedrock", + "max_input_tokens": 1000000, + "max_output_tokens": 8192, + "max_tokens": 8192, + "mode": "chat", + "supports_function_calling": true, + "supports_system_messages": true, + "supports_tool_choice": true, + "source": "https://aws.amazon.com/bedrock/pricing/", + "aliases": [ + "bedrock/us-east-1/minimax.minimax-m2.5", + "bedrock/us-west-2/minimax.minimax-m2.5" + ] } } From 238cb560770f5b5094421008f87369a1ab31c957 Mon Sep 17 00:00:00 2001 From: Chesars Date: Mon, 23 Mar 2026 12:49:55 -0300 Subject: [PATCH 2/3] fix: add supports_system_messages to zai.glm-5 --- model_prices_and_context_window.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 16359af8193..a5760e90db9 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -37398,7 +37398,8 @@ "aliases": [ "bedrock/us-east-1/zai.glm-5", "bedrock/us-west-2/zai.glm-5" - ] + ], + "supports_system_messages": true }, "minimax.minimax-m2.5": { "input_cost_per_token": 3e-07, From d0f0cf7428103037d1c7d14422150f8dec12ed0b Mon Sep 17 00:00:00 2001 From: Chesars Date: Mon, 23 Mar 2026 12:59:29 -0300 Subject: [PATCH 3/3] feat(bedrock): add GLM-5 and Minimax M2.5 model entries Add base and regional Bedrock entries: - zai.glm-5: $1.00/$3.20 per 1M tokens (us-east-1, us-west-2) - minimax.minimax-m2.5: $0.30/$1.20 per 1M tokens (us-east-1, us-west-2) Source: https://aws.amazon.com/bedrock/pricing/ Refs #24411, #24412 --- model_prices_and_context_window.json | 90 +++++++++++++++++++++++----- 1 file changed, 74 insertions(+), 16 deletions(-) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index a5760e90db9..bfbffafc0f2 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -14604,14 +14604,17 @@ "uses_embed_content": true }, "vertex_ai/gemini-embedding-2-preview": { - "input_cost_per_token": 1.5e-07, + "input_cost_per_audio_per_second": 0.00016, + "input_cost_per_image": 0.00012, + "input_cost_per_token": 2e-07, + "input_cost_per_video_per_second": 0.00079, "litellm_provider": "vertex_ai", "max_input_tokens": 8192, "max_tokens": 8192, "mode": "embedding", "output_cost_per_token": 0, "output_vector_size": 3072, - "source": "https://ai.google.dev/gemini-api/docs/embeddings#multimodal", + "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing", "supports_multimodal": true, "uses_embed_content": true }, @@ -14628,6 +14631,18 @@ "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing", "uses_embed_content": true }, + "vertex_ai/gemini-embedding-2-preview": { + "input_cost_per_token": 1.5e-07, + "litellm_provider": "vertex_ai", + "max_input_tokens": 8192, + "max_tokens": 8192, + "mode": "embedding", + "output_cost_per_token": 0, + "output_vector_size": 3072, + "source": "https://ai.google.dev/gemini-api/docs/embeddings#multimodal", + "supports_multimodal": true, + "uses_embed_content": true + }, "gemini/gemini-embedding-001": { "input_cost_per_token": 1.5e-07, "litellm_provider": "gemini", @@ -31132,9 +31147,7 @@ "mode": "chat", "output_cost_per_token": 3.2e-06, "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing#glm-models", - "supported_regions": [ - "global" - ], + "supported_regions": ["global"], "supports_function_calling": true, "supports_prompt_caching": true, "supports_reasoning": true, @@ -37383,6 +37396,20 @@ ] }, "zai.glm-5": { + "input_cost_per_token": 1e-06, + "output_cost_per_token": 3.2e-06, + "litellm_provider": "bedrock_converse", + "max_input_tokens": 200000, + "max_output_tokens": 128000, + "max_tokens": 128000, + "mode": "chat", + "supports_function_calling": true, + "supports_reasoning": true, + "supports_system_messages": true, + "supports_tool_choice": true, + "source": "https://aws.amazon.com/bedrock/pricing/" + }, + "bedrock/us-east-1/zai.glm-5": { "input_cost_per_token": 1e-06, "output_cost_per_token": 3.2e-06, "litellm_provider": "bedrock", @@ -37394,14 +37421,36 @@ "supports_reasoning": true, "supports_system_messages": true, "supports_tool_choice": true, - "source": "https://aws.amazon.com/bedrock/pricing/", - "aliases": [ - "bedrock/us-east-1/zai.glm-5", - "bedrock/us-west-2/zai.glm-5" - ], - "supports_system_messages": true + "source": "https://aws.amazon.com/bedrock/pricing/" + }, + "bedrock/us-west-2/zai.glm-5": { + "input_cost_per_token": 1e-06, + "output_cost_per_token": 3.2e-06, + "litellm_provider": "bedrock", + "max_input_tokens": 200000, + "max_output_tokens": 128000, + "max_tokens": 128000, + "mode": "chat", + "supports_function_calling": true, + "supports_reasoning": true, + "supports_system_messages": true, + "supports_tool_choice": true, + "source": "https://aws.amazon.com/bedrock/pricing/" }, "minimax.minimax-m2.5": { + "input_cost_per_token": 3e-07, + "output_cost_per_token": 1.2e-06, + "litellm_provider": "bedrock_converse", + "max_input_tokens": 1000000, + "max_output_tokens": 8192, + "max_tokens": 8192, + "mode": "chat", + "supports_function_calling": true, + "supports_system_messages": true, + "supports_tool_choice": true, + "source": "https://aws.amazon.com/bedrock/pricing/" + }, + "bedrock/us-east-1/minimax.minimax-m2.5": { "input_cost_per_token": 3e-07, "output_cost_per_token": 1.2e-06, "litellm_provider": "bedrock", @@ -37412,10 +37461,19 @@ "supports_function_calling": true, "supports_system_messages": true, "supports_tool_choice": true, - "source": "https://aws.amazon.com/bedrock/pricing/", - "aliases": [ - "bedrock/us-east-1/minimax.minimax-m2.5", - "bedrock/us-west-2/minimax.minimax-m2.5" - ] + "source": "https://aws.amazon.com/bedrock/pricing/" + }, + "bedrock/us-west-2/minimax.minimax-m2.5": { + "input_cost_per_token": 3e-07, + "output_cost_per_token": 1.2e-06, + "litellm_provider": "bedrock", + "max_input_tokens": 1000000, + "max_output_tokens": 8192, + "max_tokens": 8192, + "mode": "chat", + "supports_function_calling": true, + "supports_system_messages": true, + "supports_tool_choice": true, + "source": "https://aws.amazon.com/bedrock/pricing/" } }