Free vs paid vs local: a decision framework
Notebook· 00.07· 60–75 min· Lesson 8 of 129
The notebook opens in your lab, in a new tab. If your server is stopped, it starts first (a few seconds).
By the end you can
- Compare Groq (free tier), a paid benchmark (OpenAI by default, Gemini as a low-cost option), Hugging Face Inference Providers, and local models with Ollama on cost, speed, limits, privacy, and features.
- Convert "$ per 1M tokens" into "$ per notebook run" with a small cost calculator.
- Calculate how many calls per minute and per day a free tier really allows, and which limit binds first.
- Explain production vs preview models and free-tier data-use terms, and why each needs a ⚠️ Production note.
- Write your first entry in the model & provider decision log.
Before you start
Lessons 00.01–00.06.
Python in this lesson
Python guideNew hereDecorators (@…)ClassesDataclasses (@dataclass)Keyword-only parameters (after *)dataclassesFloor division (//)Power (**)
