From a45e6064fa48fe6b4c574a52a851685c32e97749 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 25 Jun 2024 07:35:49 -0700 Subject: [PATCH 1/2] Added openrouter/anthropic/claude-3.5-sonnet to model json --- model_prices_and_context_window.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index ef07d87ccb..45db237709 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -2073,6 +2073,18 @@ "supports_function_calling": true, "supports_vision": true }, + "openrouter/anthropic/claude-3.5-sonnet": { + "max_tokens": 4096, + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "input_cost_per_token": 0.000003, + "output_cost_per_token": 0.000015, + "litellm_provider": "openrouter", + "mode": "chat", + "supports_function_calling": true, + "supports_vision": true, + "tool_use_system_prompt_tokens": 159 + }, "openrouter/anthropic/claude-3-sonnet": { "max_tokens": 200000, "input_cost_per_token": 0.000003, From 34493fb22584f897469d1a87a8f1d068bcce0236 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 25 Jun 2024 07:43:58 -0700 Subject: [PATCH 2/2] Added openrouter/anthropic/claude-3-haiku-20240307 --- model_prices_and_context_window.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 45db237709..c4bccfb08e 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -2073,6 +2073,18 @@ "supports_function_calling": true, "supports_vision": true }, + "openrouter/anthropic/claude-3-haiku-20240307": { + "max_tokens": 4096, + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "input_cost_per_token": 0.00000025, + "output_cost_per_token": 0.00000125, + "litellm_provider": "openrouter", + "mode": "chat", + "supports_function_calling": true, + "supports_vision": true, + "tool_use_system_prompt_tokens": 264 + }, "openrouter/anthropic/claude-3.5-sonnet": { "max_tokens": 4096, "max_input_tokens": 200000,