feat: add model metadata for Claude 3.5 Sonnet

This commit is contained in:
Paul Gauthier 2024-10-22 10:42:13 -07:00 committed by Paul Gauthier (aider)
parent 949b50bd69
commit 914bf3d82b
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,3 @@
# This ensures that importlib_resources.files("aider.resources")
# doesn't raise ImportError, even if there are no other files in this
# dir.

View file

@ -0,0 +1,18 @@
{
"anthropic/claude-3-5-sonnet-20241022": {
"max_tokens": 8192,
"max_input_tokens": 200000,
"max_output_tokens": 8192,
"input_cost_per_token": 0.000003,
"output_cost_per_token": 0.000015,
"cache_creation_input_token_cost": 0.00000375,
"cache_read_input_token_cost": 0.0000003,
"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
}
}