You can learn AI for free from beginner to research level with courses published by the people who build it: Elements of AI and AI For Everyone to understand what AI is, Generative AI for Beginners and Anthropic’s courses to start building, Hugging Face’s LLM and Agents courses and DeepLearning.AI’s short courses at intermediate level, Karpathy’s Zero to Hero to build a GPT yourself, and Stanford CS336 for the full language-model stack. Filter by level below; every link is checked weekly.
| Name | What it does | Level | Price |
|---|---|---|---|
| Elements of AI foundations | Free online course on what AI is and is not, no maths or code | Beginner | Free |
| AI For Everyone (Andrew Ng) foundations | Non-technical course on AI for business | Beginner | Free to audit |
| Generative AI for Beginners (Microsoft) generative ai | 21 lessons to build generative AI apps | Beginner | Free |
| Anthropic courses prompting, api | Prompt engineering and API courses from Anthropic | Beginner Intermediate | Free |
| Prompt Engineering Guide prompting | Techniques, examples and papers on prompting | Beginner Intermediate | Free |
| Google Machine Learning Crash Course machine learning | Google's fast-paced introduction to machine learning | Intermediate | Free |
| Kaggle Learn machine learning, python | Short hands-on courses in Python, ML and data | Beginner Intermediate | Free |
| DeepLearning.AI short courses generative ai, agents | One-hour courses on agents, RAG and LLM apps with their makers | Intermediate | Free |
| Hugging Face LLM Course llm | Transformers, fine-tuning and LLMs with open models | Intermediate | Free |
| Hugging Face Agents Course agents | Build agents with smolagents, LangGraph and LlamaIndex | Intermediate | Free |
| OpenAI Cookbook api | Examples and guides for the OpenAI API | Intermediate Advanced | Free |
| Practical Deep Learning for Coders (fast.ai) deep learning | Top-down deep learning course for programmers | Intermediate | Free |
| Neural Networks: Zero to Hero (Andrej Karpathy) deep learning, llm | Build neural networks and a GPT from scratch, in code | Advanced | Free |
| Build a Large Language Model From Scratch (code) llm | Code for Sebastian Raschka's book on building an LLM | Advanced | Free |
| LLM Course (Maxime Labonne) llm, fine tuning | Roadmaps and notebooks for LLM scientists and engineers | Advanced | Free |
| MIT 6.S191 Introduction to Deep Learning deep learning | MIT's introductory deep learning course | Advanced | Free |
| Stanford CS336: Language Modeling from Scratch llm | Build every part of a language model, from tokenizer to training | Advanced++ | Free |
Links checked every week (last check Nov 26, 2026). Levels are our editorial call.
A free learning path, level by level
- Beginner, 2 to 4 weeks: Elements of AI, then a prompt engineering guide while using one chatbot every day.
- Intermediate, 1 to 2 months: Generative AI for Beginners or Anthropic’s API course, then the Hugging Face Agents course; build one small agent that does a real task for you.
- Advanced, 2 to 3 months: fast.ai, then Karpathy’s Zero to Hero, and the LLM course roadmap for fine-tuning.
- Advanced++: Stanford CS336, and run what you learn on the open-source stack in our open-source AI tools directory.
Next to the courses, practice on real tools: our AI agent frameworks directory and AI tool finder point to what to try at each level, and AI security covers what to check before you ship.
Questions about free AI courses
What is the best free AI course for beginners? Elements of AI if you want to understand AI without code; Microsoft’s Generative AI for Beginners if you want to build with it.
Can I learn AI without maths? Up to intermediate level, yes: the beginner and most intermediate courses here need no maths beyond arithmetic. Advanced courses use linear algebra and calculus.
Update log
Nov 26, 2026: page published; links checked weekly.