forked from phoenix/litellm-mirror
(pricing): Fix multiple mistakes in Claude pricing, and also increase context length allowed for Claude 3.5 Sonnet v2 on Bedrock. (#6666)
This commit is contained in:
parent
73531f4815
commit
a3baec081b
2 changed files with 32 additions and 24 deletions
|
@ -1886,11 +1886,13 @@
|
||||||
"supports_prompt_caching": true
|
"supports_prompt_caching": true
|
||||||
},
|
},
|
||||||
"claude-3-5-haiku-20241022": {
|
"claude-3-5-haiku-20241022": {
|
||||||
"max_tokens": 4096,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 200000,
|
"max_input_tokens": 200000,
|
||||||
"max_output_tokens": 4096,
|
"max_output_tokens": 8192,
|
||||||
"input_cost_per_token": 0.000001,
|
"input_cost_per_token": 0.000001,
|
||||||
"output_cost_per_token": 0.000005,
|
"output_cost_per_token": 0.000005,
|
||||||
|
"cache_creation_input_token_cost": 0.00000125,
|
||||||
|
"cache_read_input_token_cost": 0.0000001,
|
||||||
"litellm_provider": "anthropic",
|
"litellm_provider": "anthropic",
|
||||||
"mode": "chat",
|
"mode": "chat",
|
||||||
"supports_function_calling": true,
|
"supports_function_calling": true,
|
||||||
|
@ -2812,9 +2814,9 @@
|
||||||
"supports_assistant_prefill": true
|
"supports_assistant_prefill": true
|
||||||
},
|
},
|
||||||
"vertex_ai/claude-3-5-haiku@20241022": {
|
"vertex_ai/claude-3-5-haiku@20241022": {
|
||||||
"max_tokens": 4096,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 200000,
|
"max_input_tokens": 200000,
|
||||||
"max_output_tokens": 4096,
|
"max_output_tokens": 8192,
|
||||||
"input_cost_per_token": 0.000001,
|
"input_cost_per_token": 0.000001,
|
||||||
"output_cost_per_token": 0.000005,
|
"output_cost_per_token": 0.000005,
|
||||||
"litellm_provider": "vertex_ai-anthropic_models",
|
"litellm_provider": "vertex_ai-anthropic_models",
|
||||||
|
@ -3816,9 +3818,9 @@
|
||||||
"tool_use_system_prompt_tokens": 264
|
"tool_use_system_prompt_tokens": 264
|
||||||
},
|
},
|
||||||
"openrouter/anthropic/claude-3-5-haiku-20241022": {
|
"openrouter/anthropic/claude-3-5-haiku-20241022": {
|
||||||
"max_tokens": 4096,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 200000,
|
"max_input_tokens": 200000,
|
||||||
"max_output_tokens": 4096,
|
"max_output_tokens": 8192,
|
||||||
"input_cost_per_token": 0.000001,
|
"input_cost_per_token": 0.000001,
|
||||||
"output_cost_per_token": 0.000005,
|
"output_cost_per_token": 0.000005,
|
||||||
"litellm_provider": "openrouter",
|
"litellm_provider": "openrouter",
|
||||||
|
@ -4529,9 +4531,9 @@
|
||||||
"supports_vision": true
|
"supports_vision": true
|
||||||
},
|
},
|
||||||
"anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
"anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
||||||
"max_tokens": 4096,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 200000,
|
"max_input_tokens": 200000,
|
||||||
"max_output_tokens": 4096,
|
"max_output_tokens": 8192,
|
||||||
"input_cost_per_token": 0.000003,
|
"input_cost_per_token": 0.000003,
|
||||||
"output_cost_per_token": 0.000015,
|
"output_cost_per_token": 0.000015,
|
||||||
"litellm_provider": "bedrock",
|
"litellm_provider": "bedrock",
|
||||||
|
@ -4559,6 +4561,7 @@
|
||||||
"output_cost_per_token": 0.000005,
|
"output_cost_per_token": 0.000005,
|
||||||
"litellm_provider": "bedrock",
|
"litellm_provider": "bedrock",
|
||||||
"mode": "chat",
|
"mode": "chat",
|
||||||
|
"supports_assistant_prefill": true,
|
||||||
"supports_function_calling": true
|
"supports_function_calling": true
|
||||||
},
|
},
|
||||||
"anthropic.claude-3-opus-20240229-v1:0": {
|
"anthropic.claude-3-opus-20240229-v1:0": {
|
||||||
|
@ -4595,9 +4598,9 @@
|
||||||
"supports_vision": true
|
"supports_vision": true
|
||||||
},
|
},
|
||||||
"us.anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
"us.anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
||||||
"max_tokens": 4096,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 200000,
|
"max_input_tokens": 200000,
|
||||||
"max_output_tokens": 4096,
|
"max_output_tokens": 8192,
|
||||||
"input_cost_per_token": 0.000003,
|
"input_cost_per_token": 0.000003,
|
||||||
"output_cost_per_token": 0.000015,
|
"output_cost_per_token": 0.000015,
|
||||||
"litellm_provider": "bedrock",
|
"litellm_provider": "bedrock",
|
||||||
|
@ -4625,6 +4628,7 @@
|
||||||
"output_cost_per_token": 0.000005,
|
"output_cost_per_token": 0.000005,
|
||||||
"litellm_provider": "bedrock",
|
"litellm_provider": "bedrock",
|
||||||
"mode": "chat",
|
"mode": "chat",
|
||||||
|
"supports_assistant_prefill": true,
|
||||||
"supports_function_calling": true
|
"supports_function_calling": true
|
||||||
},
|
},
|
||||||
"us.anthropic.claude-3-opus-20240229-v1:0": {
|
"us.anthropic.claude-3-opus-20240229-v1:0": {
|
||||||
|
@ -4661,9 +4665,9 @@
|
||||||
"supports_vision": true
|
"supports_vision": true
|
||||||
},
|
},
|
||||||
"eu.anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
"eu.anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
||||||
"max_tokens": 4096,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 200000,
|
"max_input_tokens": 200000,
|
||||||
"max_output_tokens": 4096,
|
"max_output_tokens": 8192,
|
||||||
"input_cost_per_token": 0.000003,
|
"input_cost_per_token": 0.000003,
|
||||||
"output_cost_per_token": 0.000015,
|
"output_cost_per_token": 0.000015,
|
||||||
"litellm_provider": "bedrock",
|
"litellm_provider": "bedrock",
|
||||||
|
|
|
@ -1886,11 +1886,13 @@
|
||||||
"supports_prompt_caching": true
|
"supports_prompt_caching": true
|
||||||
},
|
},
|
||||||
"claude-3-5-haiku-20241022": {
|
"claude-3-5-haiku-20241022": {
|
||||||
"max_tokens": 4096,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 200000,
|
"max_input_tokens": 200000,
|
||||||
"max_output_tokens": 4096,
|
"max_output_tokens": 8192,
|
||||||
"input_cost_per_token": 0.000001,
|
"input_cost_per_token": 0.000001,
|
||||||
"output_cost_per_token": 0.000005,
|
"output_cost_per_token": 0.000005,
|
||||||
|
"cache_creation_input_token_cost": 0.00000125,
|
||||||
|
"cache_read_input_token_cost": 0.0000001,
|
||||||
"litellm_provider": "anthropic",
|
"litellm_provider": "anthropic",
|
||||||
"mode": "chat",
|
"mode": "chat",
|
||||||
"supports_function_calling": true,
|
"supports_function_calling": true,
|
||||||
|
@ -2812,9 +2814,9 @@
|
||||||
"supports_assistant_prefill": true
|
"supports_assistant_prefill": true
|
||||||
},
|
},
|
||||||
"vertex_ai/claude-3-5-haiku@20241022": {
|
"vertex_ai/claude-3-5-haiku@20241022": {
|
||||||
"max_tokens": 4096,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 200000,
|
"max_input_tokens": 200000,
|
||||||
"max_output_tokens": 4096,
|
"max_output_tokens": 8192,
|
||||||
"input_cost_per_token": 0.000001,
|
"input_cost_per_token": 0.000001,
|
||||||
"output_cost_per_token": 0.000005,
|
"output_cost_per_token": 0.000005,
|
||||||
"litellm_provider": "vertex_ai-anthropic_models",
|
"litellm_provider": "vertex_ai-anthropic_models",
|
||||||
|
@ -3816,9 +3818,9 @@
|
||||||
"tool_use_system_prompt_tokens": 264
|
"tool_use_system_prompt_tokens": 264
|
||||||
},
|
},
|
||||||
"openrouter/anthropic/claude-3-5-haiku-20241022": {
|
"openrouter/anthropic/claude-3-5-haiku-20241022": {
|
||||||
"max_tokens": 4096,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 200000,
|
"max_input_tokens": 200000,
|
||||||
"max_output_tokens": 4096,
|
"max_output_tokens": 8192,
|
||||||
"input_cost_per_token": 0.000001,
|
"input_cost_per_token": 0.000001,
|
||||||
"output_cost_per_token": 0.000005,
|
"output_cost_per_token": 0.000005,
|
||||||
"litellm_provider": "openrouter",
|
"litellm_provider": "openrouter",
|
||||||
|
@ -4529,9 +4531,9 @@
|
||||||
"supports_vision": true
|
"supports_vision": true
|
||||||
},
|
},
|
||||||
"anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
"anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
||||||
"max_tokens": 4096,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 200000,
|
"max_input_tokens": 200000,
|
||||||
"max_output_tokens": 4096,
|
"max_output_tokens": 8192,
|
||||||
"input_cost_per_token": 0.000003,
|
"input_cost_per_token": 0.000003,
|
||||||
"output_cost_per_token": 0.000015,
|
"output_cost_per_token": 0.000015,
|
||||||
"litellm_provider": "bedrock",
|
"litellm_provider": "bedrock",
|
||||||
|
@ -4559,6 +4561,7 @@
|
||||||
"output_cost_per_token": 0.000005,
|
"output_cost_per_token": 0.000005,
|
||||||
"litellm_provider": "bedrock",
|
"litellm_provider": "bedrock",
|
||||||
"mode": "chat",
|
"mode": "chat",
|
||||||
|
"supports_assistant_prefill": true,
|
||||||
"supports_function_calling": true
|
"supports_function_calling": true
|
||||||
},
|
},
|
||||||
"anthropic.claude-3-opus-20240229-v1:0": {
|
"anthropic.claude-3-opus-20240229-v1:0": {
|
||||||
|
@ -4595,9 +4598,9 @@
|
||||||
"supports_vision": true
|
"supports_vision": true
|
||||||
},
|
},
|
||||||
"us.anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
"us.anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
||||||
"max_tokens": 4096,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 200000,
|
"max_input_tokens": 200000,
|
||||||
"max_output_tokens": 4096,
|
"max_output_tokens": 8192,
|
||||||
"input_cost_per_token": 0.000003,
|
"input_cost_per_token": 0.000003,
|
||||||
"output_cost_per_token": 0.000015,
|
"output_cost_per_token": 0.000015,
|
||||||
"litellm_provider": "bedrock",
|
"litellm_provider": "bedrock",
|
||||||
|
@ -4625,6 +4628,7 @@
|
||||||
"output_cost_per_token": 0.000005,
|
"output_cost_per_token": 0.000005,
|
||||||
"litellm_provider": "bedrock",
|
"litellm_provider": "bedrock",
|
||||||
"mode": "chat",
|
"mode": "chat",
|
||||||
|
"supports_assistant_prefill": true,
|
||||||
"supports_function_calling": true
|
"supports_function_calling": true
|
||||||
},
|
},
|
||||||
"us.anthropic.claude-3-opus-20240229-v1:0": {
|
"us.anthropic.claude-3-opus-20240229-v1:0": {
|
||||||
|
@ -4661,9 +4665,9 @@
|
||||||
"supports_vision": true
|
"supports_vision": true
|
||||||
},
|
},
|
||||||
"eu.anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
"eu.anthropic.claude-3-5-sonnet-20241022-v2:0": {
|
||||||
"max_tokens": 4096,
|
"max_tokens": 8192,
|
||||||
"max_input_tokens": 200000,
|
"max_input_tokens": 200000,
|
||||||
"max_output_tokens": 4096,
|
"max_output_tokens": 8192,
|
||||||
"input_cost_per_token": 0.000003,
|
"input_cost_per_token": 0.000003,
|
||||||
"output_cost_per_token": 0.000015,
|
"output_cost_per_token": 0.000015,
|
||||||
"litellm_provider": "bedrock",
|
"litellm_provider": "bedrock",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue