By the end of this lesson you will know what a model, an API and an API key are, how AI is billed in tokens, the difference between open and closed models, and what to keep private.
You need: nothing installed · Time: 8 minutes
Three words you'll see in every setup guide:
- Model: the AI brain that reads text and writes text (and code). DeepSeek, GLM, Kimi, Qwen and MiniMax make models.
- API (application programming interface): a counter where programs, not people, place orders. Your tool sends a request ("here is the text, answer it") and gets a reply back. No chat window involved.
- API key: a long secret code that says who is ordering and who pays. Like a prepaid card: whoever holds it can spend your balance.
Chat assistants hide all this behind a friendly screen. Coding agents, automation tools and your own apps talk to models through an API, with your key.
Why?When a guide says "paste your base URL and API key", it is telling the tool which counter to order from and which card to pay with. That's all.
Log in free to read the rest of this lesson
Every lesson is free. A free account unlocks all of them and saves your progress.
Still to come in this lesson:
- How one request travels
- Open and closed models
- What it costs: tokens
- Privacy: what leaves your laptop
- Where you'll use an API
- Recap