AI & Machine Learning course

OpenAI, Anthropic, Gemini APIs: Shared Concepts

Build flexible applications using major LLM APIs by mastering shared patterns like streaming, tool calling, and structured outputs.

16 lessonsabout 2 hours in allIntermediateFree

Lessons of 5 to 10 minutes, taught by Milo, your AI tutor. In your browser now; phone apps soon.

By the end you can
  • Compare major language model providers, choose models using quality, speed and cost, and manage prompts, tokens and conversation history. You can design streaming, structured-output and tool-calling flows while handling retries, caching, batching and p
  • Test portability across providers and recognize exposed credentials, prompt injection and other risks in language model applications

What you'll learn, lesson by lesson

  1. 1What an API Call Really IsLabel the parts of a sample request and response.
  2. 2Three Providers, One ShapeMatch the same concept across three providers' terms.
  3. 3Your API Key Is MoneyFind the leaked key in three sample setups.
  4. That's a preview. 13 more lessons follow.

    Take all 16 lessons free in the Milo app, with Milo teaching each one.

    Start this course free
  5. 4Instructions, Users and Roles
  6. 5Tokens and Context Limits
  7. 6Choosing a Model by Testing
  8. 7Who Remembers the Conversation?
  9. 8Streaming Responses
  10. 9Getting Output Your Code Can Use
  11. 10The Tool-Calling Loop
  12. 11When to Let It Loop
  13. 12Caching and Batching
  14. 13Errors and Retries
  15. 14Surviving a Provider Change
  16. 15Testing Before You Switch
  17. 16Wrong Answers, Hostile Input and Your Data
Inside the app

Not a video. A tutor who teaches you.

Milo explains each idea of OpenAI, Anthropic, Gemini APIs: Shared Concepts out loud and on the blackboard, checks you understood, and coaches you when you slip. Lessons take 5 to 10 minutes.

Start free
A Milo lesson: Milo explains an idea and draws it on the blackboard
A quick check in a Milo lesson, answered correctly, with Milo's explanation

More in AI & Machine Learning

Free to learn

This course is free. So is Milo's help planning it.

Every course in Milo's library, your growth plan and Milo's weekly check-ins cost nothing. Members, from $5 a month, also get lessons written just for them.

Can I really start for free?
Yes. No card needed.
Can I cancel a membership any time?
Yes, from your account. You keep it until the end of the month you paid for.
Where does it work?
In any browser on a phone, tablet or computer. Phone apps are on the way.