Skip to content

Commit

Permalink
update prices for latest sonnet
Browse files Browse the repository at this point in the history
  • Loading branch information
areibman committed Oct 24, 2024
1 parent b50cf24 commit af31dc7
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions tokencost/model_prices.json
Original file line number Diff line number Diff line change
Expand Up @@ -1751,6 +1751,22 @@
"supports_assistant_prefill": true,
"supports_prompt_caching": true
},
"claude-3-5-sonnet-latest": {
"max_tokens": 8192,
"max_input_tokens": 200000,
"max_output_tokens": 8192,
"input_cost_per_token": 3e-06,
"output_cost_per_token": 1.5e-05,
"cache_creation_input_token_cost": 3.75e-06,
"cache_read_input_token_cost": 3e-07,
"litellm_provider": "anthropic",
"mode": "chat",
"supports_function_calling": true,
"supports_vision": true,
"tool_use_system_prompt_tokens": 159,
"supports_assistant_prefill": true,
"supports_prompt_caching": true
},
"text-bison": {
"max_tokens": 2048,
"max_input_tokens": 8192,
Expand Down Expand Up @@ -3600,6 +3616,22 @@
"supports_assistant_prefill": true,
"supports_prompt_caching": true
},
"anthropic/claude-3-5-sonnet-latest": {
"max_tokens": 8192,
"max_input_tokens": 200000,
"max_output_tokens": 8192,
"input_cost_per_token": 3e-06,
"output_cost_per_token": 1.5e-05,
"cache_creation_input_token_cost": 3.75e-06,
"cache_read_input_token_cost": 3e-07,
"litellm_provider": "anthropic",
"mode": "chat",
"supports_function_calling": true,
"supports_vision": true,
"tool_use_system_prompt_tokens": 159,
"supports_assistant_prefill": true,
"supports_prompt_caching": true
},
"openrouter/anthropic/claude-3.5-sonnet": {
"max_tokens": 8192,
"max_input_tokens": 200000,
Expand Down Expand Up @@ -4285,6 +4317,17 @@
"supports_function_calling": true,
"supports_vision": true
},
"anthropic.claude-3-5-sonnet-latest-v2:0": {
"max_tokens": 4096,
"max_input_tokens": 200000,
"max_output_tokens": 4096,
"input_cost_per_token": 3e-06,
"output_cost_per_token": 1.5e-05,
"litellm_provider": "bedrock",
"mode": "chat",
"supports_function_calling": true,
"supports_vision": true
},
"anthropic.claude-3-haiku-20240307-v1:0": {
"max_tokens": 4096,
"max_input_tokens": 200000,
Expand Down

0 comments on commit af31dc7

Please sign in to comment.