| 32 | } |
| 33 | |
| 34 | pub fn with_config(config: AnthropicConfig) -> Self { |
| 35 | let models = vec![ |
| 36 | ModelInfo { |
| 37 | id: "claude-opus-4-6".to_string(), |
| 38 | name: "Claude Opus 4.6".to_string(), |
| 39 | provider: "anthropic".to_string(), |
| 40 | context_window: 200_000, |
| 41 | max_output_tokens: 128_000, |
| 42 | supports_vision: true, |
| 43 | supports_tools: true, |
| 44 | cost_per_million_input: 5.0, |
| 45 | cost_per_million_output: 25.0, |
| 46 | }, |
| 47 | ModelInfo { |
| 48 | id: "claude-sonnet-4-20250514".to_string(), |
| 49 | name: "Claude Sonnet 4".to_string(), |
| 50 | provider: "anthropic".to_string(), |
| 51 | context_window: 200000, |
| 52 | max_output_tokens: 16000, |
| 53 | supports_vision: true, |
| 54 | supports_tools: true, |
| 55 | cost_per_million_input: 3.0, |
| 56 | cost_per_million_output: 15.0, |
| 57 | }, |
| 58 | ModelInfo { |
| 59 | id: "claude-3-5-sonnet-20241022".to_string(), |
| 60 | name: "Claude 3.5 Sonnet".to_string(), |
| 61 | provider: "anthropic".to_string(), |
| 62 | context_window: 200000, |
| 63 | max_output_tokens: 8192, |
| 64 | supports_vision: true, |
| 65 | supports_tools: true, |
| 66 | cost_per_million_input: 3.0, |
| 67 | cost_per_million_output: 15.0, |
| 68 | }, |
| 69 | ModelInfo { |
| 70 | id: "claude-3-5-haiku-20241022".to_string(), |
| 71 | name: "Claude 3.5 Haiku".to_string(), |
| 72 | provider: "anthropic".to_string(), |
| 73 | context_window: 200000, |
| 74 | max_output_tokens: 8192, |
| 75 | supports_vision: true, |
| 76 | supports_tools: true, |
| 77 | cost_per_million_input: 1.0, |
| 78 | cost_per_million_output: 5.0, |
| 79 | }, |
| 80 | ModelInfo { |
| 81 | id: "claude-3-opus-20240229".to_string(), |
| 82 | name: "Claude 3 Opus".to_string(), |
| 83 | provider: "anthropic".to_string(), |
| 84 | context_window: 200000, |
| 85 | max_output_tokens: 4096, |
| 86 | supports_vision: true, |
| 87 | supports_tools: true, |
| 88 | cost_per_million_input: 15.0, |
| 89 | cost_per_million_output: 75.0, |
| 90 | }, |
| 91 | ]; |