From 52842e21a77931a84635fd79300c4690470f709a Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Wed, 25 Feb 2026 14:21:58 -0500 Subject: [PATCH] Add Claude Haiku 4.5 to model catalog Makes Haiku discoverable via list_models and get_model_info with aliases "haiku" and "claude-haiku". Co-Authored-By: Claude Opus 4.6 (1M context) Entire-Checkpoint: ed7df801c2a4 --- crates/llm/src/catalog.json | 13 +++++++++++++ crates/llm/src/catalog.rs | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/crates/llm/src/catalog.json b/crates/llm/src/catalog.json index 7c8b3cc9f..7158668a4 100644 --- a/crates/llm/src/catalog.json +++ b/crates/llm/src/catalog.json @@ -25,6 +25,19 @@ "output_cost_per_million": 15.0, "aliases": ["sonnet", "claude-sonnet"] }, + { + "id": "claude-haiku-4-5-20251001", + "provider": "anthropic", + "display_name": "Claude Haiku 4.5", + "context_window": 200000, + "max_output": 8192, + "supports_tools": true, + "supports_vision": true, + "supports_reasoning": false, + "input_cost_per_million": 0.8, + "output_cost_per_million": 4.0, + "aliases": ["haiku", "claude-haiku"] + }, { "id": "gpt-5.2", "provider": "openai", diff --git a/crates/llm/src/catalog.rs b/crates/llm/src/catalog.rs index 912b7477b..f1b08a9be 100644 --- a/crates/llm/src/catalog.rs +++ b/crates/llm/src/catalog.rs @@ -75,13 +75,13 @@ mod tests { #[test] fn list_models_all() { let models = list_models(None); - assert_eq!(models.len(), 7); + assert_eq!(models.len(), 8); } #[test] fn list_models_by_provider() { let anthropic = list_models(Some("anthropic")); - assert_eq!(anthropic.len(), 2); + assert_eq!(anthropic.len(), 3); assert!(anthropic.iter().all(|m| m.provider == "anthropic")); let openai = list_models(Some("openai"));