Building with AILesson 8 of 80

Module 1 · The call underneath everything

Choosing a model, and designing so you can change your mind

In this lesson

  • 9 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 8 of 10 in this chapter

This chapter’s goalSend the same request to a hosted model and to a model running on your own machine, read every field of the response including token counts and stop reason, and predict within a factor of two what a proposed feature will cost per thousand users before you write it.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
A hypothetical 60-fold price gapSmall model on everything1Cheap first, 20% escalates13Frontier model oneverything60dollars per 1,000 requestsOne thousand requests, each with 2,000 input and 400 output tokens. Illustrative small-model rates are$0.25 input and $1.25 output per million tokens, versus $15 and $75 for the frontier model. Thecascade runs all 1,000 small-model calls and escalates 200, totaling $13. No extra router charge isassumed.
One thousand requests, each with 2,000 input and 400 output tokens. Illustrative small-model rates are $0.25 input and $1.25 output per million tokens, versus $15 and $75 for the frontier model. The cascade runs all 1,000 small-model calls and escalates 200, totaling $13. No extra router charge is assumed.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

The tiers, and the price gap between them

Providers offer models with different capabilities, prices and latency. Compare candidates on the task you need to perform, using current rates for input, output, cached input and any separately billed features.

A small model may be suitable for a bounded classification task. A more capable model may justify its extra cost on a difficult reasoning or coding task. Those are hypotheses to test on your own inputs, rather than guarantees associated with a model tier. Model selection.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Python, from Zero, for AI exam.

Stuck on something?Ask Sayali, your AI tutor

How to cite: Addaly (2026) ‘Choosing a model, and designing so you can change your mind’, in Building with AI. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/building-with-ai/choosing-a-model (Accessed: 29 November 2026).