pub fn get_default_model() -> Result<Arc<dyn LanguageModel>, Error>
Expand description
Returns the default language model configured Uses OpenAI GPT-4o-mini for cost-effective operation. This model provides excellent performance at a fraction of the cost compared to larger models.
Cost comparison:
-
GPT-4o-mini: $0.15/1M input tokens, $0.60/1M output tokens
-
Claude Sonnet 4: $3.00/1M input tokens, $15.00/1M output tokens
= ~95% cost savings!