Lesson 1381 of 1455
AI and What an API Actually Is (And Why It Matters)
Every AI app you've ever used talks to the model through an API — knowing what that means lets you build your own.
Builders · AI Foundations · ~4 min read
The big idea
An API (Application Programming Interface) is the way one program talks to another. ChatGPT-the-app talks to GPT-4-the-model through an API. That same API is open to you — for cents per request, you can build your own homework helper, story generator, or chat character. The barrier to building your own AI app is lower than ever.
Some examples
- OpenAI API: 1M tokens of GPT-4o for ~$2.50.
- Anthropic, Google, Mistral all sell similar API access.
- No coding required for tools like Make.com, n8n, Zapier.
- Free tiers exist for learning.
Try it!
Visit platform.openai.com. Look at the API pricing page. Just seeing the numbers — that's already an unlock for what's possible.
Key terms in this lesson
Practice this safely
Try this with a school, hobby, or family example where the stakes are low. Use the AI output as a draft you can question, not as the final answer.
- 1Ask AI to explain API in plain language, then underline anything that sounds uncertain or too broad.
- 2Give it one detail from "AI and What an API Actually Is (And Why It Matters)" and ask for two possible next steps plus one reason each step might be wrong.
- 3Check integration against a trusted source, teacher, adult, expert, or original document before you use it.
End-of-lesson quiz
Check what stuck
8 questions · Score saves to your progress.
Lesson help
Questions are best handled with a grown-up here.
For this age range, Tendril keeps freeform AI chat paused until parent/guardian consent and child-safe moderation are fully verified. Use the quiz, notes, and related lessons below, or ask a parent, guardian, teacher, or librarian to work through the question with you.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Builders · 7 min
API vs Chat App: When You Should Stop Using ChatGPT.com
Once you're prompting the same thing daily, the API is cheaper and more powerful than the chat app.
Builders · 30 min
The Supervised Learning Loop
Most modern AI is trained on a loop of guess, check, and adjust. Understand the loop and you understand the heart of machine learning.
Builders · 30 min
Tokens and Embeddings: How AI Reads Words
AI does not read letters. It reads tokens, which live as vectors in a space of meaning. Learn how text becomes numbers you can do math on.
