← Learn

efficiency frontier

The set of AI models that offer the best price-to-performance ratio for typical software engineering tasks.

Learn

When to use it

Use the efficiency frontier when selecting AI models for software engineering tasks where cost and performance are both critical factors. It helps identify models that provide the best balance, such as choosing between models for tasks like code completion or bug detection.

Quick example

In a project using Amazon Bedrock, a team needs to choose an AI model for automated code review that balances cost and performance. By evaluating models on the efficiency frontier, they identify a model that offers optimal performance for their budget constraints. Here, the efficiency frontier acts as a guide to select the best model for the task.

models → efficiency frontier → select model → execute task → review outcome

Ecosystem

The efficiency frontier is part of the model selection process, which includes cost analysis and performance benchmarking.

        ┌─ cost analysis ─┐
models →│ efficiency frontier │→ selection
        └─ benchmarking ──┘

Misconceptions

MisconceptionRebuttal
It's a fixed list of modelsThe frontier changes with new models and data
Only considers model speedIt evaluates both cost and performance

Trade-offs

  • Optimal performance — may require frequent re-evaluation
  • Cost savings — potential for reduced feature set

Seen in