Module model_recommendation

Module model_recommendation 

Source
Expand description

Model selection recommendations for token optimization

This module provides utilities to help choose the most cost-effective Claude model based on task complexity and requirements.

Structs§

ModelRecommendation
Model recommendation helper

Functions§

balanced_model
Get the balanced model (Sonnet)
best_model
Get the most capable model (Opus)
cheapest_model
Quick helper functions for common use cases Get the cheapest/fastest model (Haiku)
estimate_cost_multiplier
Estimate relative cost multiplier for different models