diff --git a/aider/resources/model-metadata.json b/aider/resources/model-metadata.json new file mode 100644 index 000000000..e3970e0af --- /dev/null +++ b/aider/resources/model-metadata.json @@ -0,0 +1,75 @@ +{ + "claude-3-5-haiku-20241022": { + "max_tokens": 4096, + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "input_cost_per_token": 0.000001, + "output_cost_per_token": 0.000005, + "litellm_provider": "anthropic", + "mode": "chat", + "supports_function_calling": true, + "tool_use_system_prompt_tokens": 264, + "supports_assistant_prefill": true, + "supports_prompt_caching": true + }, + "vertex_ai/claude-3-5-haiku@20241022": { + "max_tokens": 4096, + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "input_cost_per_token": 0.000001, + "output_cost_per_token": 0.000005, + "litellm_provider": "vertex_ai-anthropic_models", + "mode": "chat", + "supports_function_calling": true, + "supports_assistant_prefill": true + }, + "openrouter/anthropic/claude-3-5-haiku": { + "max_tokens": 200000, + "input_cost_per_token": 0.000001, + "output_cost_per_token": 0.000005, + "litellm_provider": "openrouter", + "mode": "chat", + "supports_function_calling": true, + }, + "openrouter/anthropic/claude-3-5-haiku-20241022": { + "max_tokens": 4096, + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "input_cost_per_token": 0.000001, + "output_cost_per_token": 0.000005, + "litellm_provider": "openrouter", + "mode": "chat", + "supports_function_calling": true, + "tool_use_system_prompt_tokens": 264 + }, + "anthropic.claude-3-5-haiku-20241022-v1:0": { + "max_tokens": 4096, + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "input_cost_per_token": 0.000001, + "output_cost_per_token": 0.000005, + "litellm_provider": "bedrock", + "mode": "chat", + "supports_function_calling": true, + }, + "us.anthropic.claude-3-5-haiku-20241022-v1:0": { + "max_tokens": 4096, + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "input_cost_per_token": 0.000001, + "output_cost_per_token": 0.000005, + "litellm_provider": "bedrock", + "mode": "chat", + "supports_function_calling": true, + }, + "eu.anthropic.claude-3-5-haiku-20241022-v1:0": { + "max_tokens": 4096, + "max_input_tokens": 200000, + "max_output_tokens": 4096, + "input_cost_per_token": 0.000001, + "output_cost_per_token": 0.000005, + "litellm_provider": "bedrock", + "mode": "chat", + "supports_function_calling": true, + }, +}