Skill 4.1.2

Create cost-effective model selection frameworks (for example, by using cost-capability tradeoff evaluation, tiered FM usage based on query complexity, inference cost balancing against response quality, price-to-performance ratio measurement, efficient inference patterns)

Key Concepts

The framework evaluates candidate models on a task's evaluation set and records quality, latency and cost per request. The price-to-performance ratio, such as cost per correct answer, shows when a cheaper model is good enough. Tiered usage classifies queries by complexity and sends simple ones to small models and complex ones to large models.

Efficient inference patterns include batch inference for offline work at a lower price, the Flex service tier for latency-tolerant traffic, prompt caching for repeated context, Intelligent Prompt Routing within a model family, and distilled models that bring a large model's quality on a narrow task to a smaller model. The framework is re-run as new models and prices appear.