From 2fbf7b7718eb5875c0c80506688c04da7972133f Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Wed, 28 Oct 2026 01:44:57 -0700 Subject: [PATCH] fix(aiand): drop the retired max_tokens field and regenerate endpoint support --- .../model_prices_and_context_window_backup.json | 13 ------------- litellm/provider_endpoints_support_backup.json | 17 +++++++++++++---- model_prices_and_context_window.json | 13 ------------- provider_endpoints_support.json | 17 +++++++++++++---- 4 files changed, 26 insertions(+), 34 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index b248625a2a3..5cb20aeda0f 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -69833,7 +69833,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048576, "max_output_tokens": 384000, - "max_tokens": 384000, "mode": "chat", "output_cost_per_token": 2.5e-07, "source": "https://api.aiand.com/v1/models", @@ -69849,7 +69848,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048576, "max_output_tokens": 384000, - "max_tokens": 384000, "mode": "chat", "output_cost_per_token": 2.5e-06, "source": "https://api.aiand.com/v1/models", @@ -69865,7 +69863,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048576, "max_output_tokens": 384000, - "max_tokens": 384000, "mode": "chat", "output_cost_per_token": 6e-07, "source": "https://api.aiand.com/v1/models", @@ -69881,7 +69878,6 @@ "litellm_provider": "aiand", "max_input_tokens": 262144, "max_output_tokens": 32768, - "max_tokens": 32768, "mode": "chat", "output_cost_per_token": 5e-07, "source": "https://api.aiand.com/v1/models", @@ -69897,7 +69893,6 @@ "litellm_provider": "aiand", "max_input_tokens": 262144, "max_output_tokens": 262144, - "max_tokens": 262144, "mode": "chat", "output_cost_per_token": 3.5e-06, "source": "https://api.aiand.com/v1/models", @@ -69913,7 +69908,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048576, "max_output_tokens": 131072, - "max_tokens": 131072, "mode": "chat", "output_cost_per_token": 1.25e-05, "source": "https://api.aiand.com/v1/models", @@ -69929,7 +69923,6 @@ "litellm_provider": "aiand", "max_input_tokens": 262144, "max_output_tokens": 262144, - "max_tokens": 262144, "mode": "chat", "output_cost_per_token": 2e-06, "source": "https://api.aiand.com/v1/models", @@ -69945,7 +69938,6 @@ "litellm_provider": "aiand", "max_input_tokens": 131072, "max_output_tokens": 32768, - "max_tokens": 32768, "mode": "chat", "output_cost_per_token": 6e-07, "source": "https://api.aiand.com/v1/models", @@ -69961,7 +69953,6 @@ "litellm_provider": "aiand", "max_input_tokens": 262144, "max_output_tokens": 65536, - "max_tokens": 65536, "mode": "chat", "output_cost_per_token": 3.2e-06, "source": "https://api.aiand.com/v1/models", @@ -69977,7 +69968,6 @@ "litellm_provider": "aiand", "max_input_tokens": 262144, "max_output_tokens": 32768, - "max_tokens": 32768, "mode": "chat", "output_cost_per_token": 3e-06, "source": "https://api.aiand.com/v1/models", @@ -69993,7 +69983,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048576, "max_output_tokens": 131072, - "max_tokens": 131072, "mode": "chat", "output_cost_per_token": 4e-06, "source": "https://api.aiand.com/v1/models", @@ -70009,7 +69998,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048576, "max_output_tokens": 131072, - "max_tokens": 131072, "mode": "chat", "output_cost_per_token": 4e-06, "source": "https://api.aiand.com/v1/models", @@ -70025,7 +70013,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048550, "max_output_tokens": 131072, - "max_tokens": 131072, "mode": "chat", "output_cost_per_token": 5e-07, "source": "https://api.aiand.com/v1/models", diff --git a/litellm/provider_endpoints_support_backup.json b/litellm/provider_endpoints_support_backup.json index 0f8385336aa..1ab03fb3fdc 100644 --- a/litellm/provider_endpoints_support_backup.json +++ b/litellm/provider_endpoints_support_backup.json @@ -194,16 +194,25 @@ "url": "https://docs.aiand.com/api/chat-completions/", "endpoints": { "chat_completions": true, - "messages": true, "responses": true, + "text_completion": true, "embeddings": false, "image_generations": false, + "image_edits": false, "audio_transcriptions": false, "audio_speech": false, - "moderations": false, - "batches": false, "rerank": false, - "a2a": false + "ocr": false, + "search": false, + "moderations": false, + "realtime": false, + "video_generations": false, + "batches": false, + "messages": true, + "interactions": true, + "systemone": false, + "a2a": true, + "generateContent": true } }, "amazon_nova": { diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index b248625a2a3..5cb20aeda0f 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -69833,7 +69833,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048576, "max_output_tokens": 384000, - "max_tokens": 384000, "mode": "chat", "output_cost_per_token": 2.5e-07, "source": "https://api.aiand.com/v1/models", @@ -69849,7 +69848,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048576, "max_output_tokens": 384000, - "max_tokens": 384000, "mode": "chat", "output_cost_per_token": 2.5e-06, "source": "https://api.aiand.com/v1/models", @@ -69865,7 +69863,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048576, "max_output_tokens": 384000, - "max_tokens": 384000, "mode": "chat", "output_cost_per_token": 6e-07, "source": "https://api.aiand.com/v1/models", @@ -69881,7 +69878,6 @@ "litellm_provider": "aiand", "max_input_tokens": 262144, "max_output_tokens": 32768, - "max_tokens": 32768, "mode": "chat", "output_cost_per_token": 5e-07, "source": "https://api.aiand.com/v1/models", @@ -69897,7 +69893,6 @@ "litellm_provider": "aiand", "max_input_tokens": 262144, "max_output_tokens": 262144, - "max_tokens": 262144, "mode": "chat", "output_cost_per_token": 3.5e-06, "source": "https://api.aiand.com/v1/models", @@ -69913,7 +69908,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048576, "max_output_tokens": 131072, - "max_tokens": 131072, "mode": "chat", "output_cost_per_token": 1.25e-05, "source": "https://api.aiand.com/v1/models", @@ -69929,7 +69923,6 @@ "litellm_provider": "aiand", "max_input_tokens": 262144, "max_output_tokens": 262144, - "max_tokens": 262144, "mode": "chat", "output_cost_per_token": 2e-06, "source": "https://api.aiand.com/v1/models", @@ -69945,7 +69938,6 @@ "litellm_provider": "aiand", "max_input_tokens": 131072, "max_output_tokens": 32768, - "max_tokens": 32768, "mode": "chat", "output_cost_per_token": 6e-07, "source": "https://api.aiand.com/v1/models", @@ -69961,7 +69953,6 @@ "litellm_provider": "aiand", "max_input_tokens": 262144, "max_output_tokens": 65536, - "max_tokens": 65536, "mode": "chat", "output_cost_per_token": 3.2e-06, "source": "https://api.aiand.com/v1/models", @@ -69977,7 +69968,6 @@ "litellm_provider": "aiand", "max_input_tokens": 262144, "max_output_tokens": 32768, - "max_tokens": 32768, "mode": "chat", "output_cost_per_token": 3e-06, "source": "https://api.aiand.com/v1/models", @@ -69993,7 +69983,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048576, "max_output_tokens": 131072, - "max_tokens": 131072, "mode": "chat", "output_cost_per_token": 4e-06, "source": "https://api.aiand.com/v1/models", @@ -70009,7 +69998,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048576, "max_output_tokens": 131072, - "max_tokens": 131072, "mode": "chat", "output_cost_per_token": 4e-06, "source": "https://api.aiand.com/v1/models", @@ -70025,7 +70013,6 @@ "litellm_provider": "aiand", "max_input_tokens": 1048550, "max_output_tokens": 131072, - "max_tokens": 131072, "mode": "chat", "output_cost_per_token": 5e-07, "source": "https://api.aiand.com/v1/models", diff --git a/provider_endpoints_support.json b/provider_endpoints_support.json index 0f8385336aa..1ab03fb3fdc 100644 --- a/provider_endpoints_support.json +++ b/provider_endpoints_support.json @@ -194,16 +194,25 @@ "url": "https://docs.aiand.com/api/chat-completions/", "endpoints": { "chat_completions": true, - "messages": true, "responses": true, + "text_completion": true, "embeddings": false, "image_generations": false, + "image_edits": false, "audio_transcriptions": false, "audio_speech": false, - "moderations": false, - "batches": false, "rerank": false, - "a2a": false + "ocr": false, + "search": false, + "moderations": false, + "realtime": false, + "video_generations": false, + "batches": false, + "messages": true, + "interactions": true, + "systemone": false, + "a2a": true, + "generateContent": true } }, "amazon_nova": {