diff --git a/aider/resources/__init__.py b/aider/resources/__init__.py new file mode 100644 index 000000000..f7ca4efbe --- /dev/null +++ b/aider/resources/__init__.py @@ -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. diff --git a/aider/resources/model-metadata.json b/aider/resources/model-metadata.json new file mode 100644 index 000000000..8409428d8 --- /dev/null +++ b/aider/resources/model-metadata.json @@ -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 + } +}