mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
build(model_prices_and_context_window.json): fix claude-sonnet-4 on openrouter
Fixes https://github.com/BerriAI/litellm/issues/13520
This commit is contained in:
parent
2aacf64db1
commit
e1fd49ce91
3 changed files with 13 additions and 4 deletions
|
|
@ -11432,9 +11432,9 @@
|
|||
},
|
||||
"openrouter/anthropic/claude-sonnet-4": {
|
||||
"supports_computer_use": true,
|
||||
"max_tokens": 8192,
|
||||
"max_tokens": 64000,
|
||||
"max_input_tokens": 200000,
|
||||
"max_output_tokens": 8192,
|
||||
"max_output_tokens": 64000,
|
||||
"input_cost_per_token": 3e-06,
|
||||
"output_cost_per_token": 1.5e-05,
|
||||
"input_cost_per_image": 0.0048,
|
||||
|
|
|
|||
|
|
@ -4,6 +4,15 @@ model_list:
|
|||
model: openai/fake
|
||||
api_key: fake-key
|
||||
api_base: https://exampleopenaiendpoint-production.up.railway.app/
|
||||
- model_name: gpt-5-mini
|
||||
litellm_params:
|
||||
model: azure/gpt-5-mini
|
||||
api_base: os.environ/AZURE_GPT_5_MINI_API_BASE # runs os.getenv("AZURE_API_BASE")
|
||||
api_key: os.environ/AZURE_GPT_5_MINI_API_KEY # runs os.getenv("AZURE_API_KEY")
|
||||
stream_timeout: 60
|
||||
merge_reasoning_content_in_choices: true
|
||||
model_info:
|
||||
mode: chat
|
||||
|
||||
litellm_settings:
|
||||
cache: true
|
||||
|
|
|
|||
|
|
@ -11432,9 +11432,9 @@
|
|||
},
|
||||
"openrouter/anthropic/claude-sonnet-4": {
|
||||
"supports_computer_use": true,
|
||||
"max_tokens": 8192,
|
||||
"max_tokens": 64000,
|
||||
"max_input_tokens": 200000,
|
||||
"max_output_tokens": 8192,
|
||||
"max_output_tokens": 64000,
|
||||
"input_cost_per_token": 3e-06,
|
||||
"output_cost_per_token": 1.5e-05,
|
||||
"input_cost_per_image": 0.0048,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue