feat: support Claude Sonnet 5.5

This commit is contained in:
haruka
2026-09-29 04:55:07 +08:00
parent 9a62841fd1
commit 8490a81867
40 changed files with 855 additions and 117 deletions
@@ -867,6 +867,33 @@
"supports_vision": true,
"tool_use_system_prompt_tokens": 346
},
"claude-sonnet-5-5": {
"cache_creation_input_token_cost": 2.5e-06,
"cache_creation_input_token_cost_above_1hr": 4e-06,
"cache_read_input_token_cost": 2e-07,
"input_cost_per_token": 2e-06,
"litellm_provider": "anthropic",
"max_input_tokens": 1000000,
"max_output_tokens": 128000,
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 1e-05,
"source": "https://platform.claude.com/docs/en/models/sonnet-5-5/overview",
"supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
"supports_max_reasoning_effort": true,
"supports_output_config": true,
"supports_pdf_input": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
"supports_response_schema": true,
"supports_sampling_params": false,
"supports_tool_choice": true,
"supports_vision": true,
"supports_xhigh_reasoning_effort": true
},
"codex-auto-review": {
"cache_read_input_token_cost": 2e-08,
"input_cost_per_token": 2e-07,