Build Fast with AI logo
RoadmapProjectsCareer PathsCheckpoints
Start Level 0
Learning path
★Roadmap overview0Environment & Foundations1LLM Fundamentals & APIs2Building Simple GenAI Applications3RAG Systems & Intelligent Agents4Production Systems & Deployment5Advanced GenAI Techniques6Choose Your Specialization Path
Resources
Projects & notebooksCareer pathsCheckpoint tasks
  1. Home
  2. GenAI Roadmap
  3. Level 1
1Level 1 of 6 · Beginner

Level 1: LLM Basics, Prompting and APIs

Level 1 teaches how large language models actually behave: tokens, context windows, temperature, and why the same prompt can give different answers. You call OpenAI, Anthropic and Google models from Python, compare them on cost and quality, and set up a first eval loop with Promptfoo. Budget about 15 hours over 1 to 2 weeks.

By the Build Fast with AI team·Published April 10, 2026·Updated November 19, 2026

Duration
1-2 weeks
Difficulty
Beginner
Study time
~15 hours
Checkpoints
5 tasks
On this page
  1. What you will learn
  2. Topics and tools
  3. Checkpoint tasks
  4. Notebooks and projects
  5. FAQ
  6. Related guides

Outcomes

What you will learn in Level 1

  • Understand transformer architecture basics
  • Master prompt engineering patterns
  • Build scripts that call LLM APIs
  • Compare frontier model behavior across vendors
  • Manage API costs and tokens effectively
  • Handle errors gracefully

Syllabus

Topics and tools in Level 1

  1. 01How LLMs work internally
  2. 02Tokenization and context windows
  3. 03Prompt engineering techniques
  4. 04Temperature and sampling parameters
  5. 05Using GPT-5.5 and GPT-5.5 Pro
  6. 06Using Claude Opus 4.7
  7. 07Promptfoo eval and red-team loops
  8. 08Cost optimization and rate limits
Tools:OpenAI APIAnthropic Claude APIGemini APItiktokenPromptfoo

Practice

Level 1 checkpoint tasks

Finish these 5 tasks before moving on. Open a task to see its steps.

  1. 1

    Make your first API call

    1 hour
    • Pick a provider: OpenAI, Anthropic or Google
    • Send a prompt from a Python script and print the reply
    • Print the tokens used and the estimated cost
    • Commit to Git with the key in .env, never in code

    Time: 1 hour

  2. 2

    Prompt engineering experiments

    1.5 hours
    • Write five different prompts for the same task
    • Compare the outputs side by side
    • Note which technique helped most: specific instructions, examples, a role or an output format

    Time: 1.5 hours

  3. 3

    Token counting

    1 hour
    • Count tokens for three texts with tiktoken
    • Work out what each would cost to send
    • Look up the context window of three different models

    Time: 1 hour

  4. 4

    Streaming

    1 hour
    • Stream a response token by token
    • Compare how fast it feels against a non-streaming call

    Time: 1 hour

  5. 5

    Model comparison

    1.5 hours
    • Send the same prompt to two or three models
    • Compare quality, speed and cost in a table
    • Write down which model fits which job

    Time: 1.5 hours

Build

Notebooks and projects for Level 1

4 runnable notebooks, all free to open in Google Colab.

GPT-5.4 Mini/Nano Cookbook

Notebook

Learn the latest OpenAI mini and nano model setup, structured outputs, and fast prompt patterns.

BeginnerLevel 0–1#openai#gpt-5.4-mini

GPT-5.5 Cookbook

Notebook

Work with GPT-5.5 and GPT-5.5 Pro for long-context reasoning, coding, and agentic workflows.

IntermediateLevel 1–5#openai#gpt-5.5

Claude Opus 4.7 Cookbook

Notebook

Use adaptive thinking, effort controls, and long-horizon coding patterns with Claude Opus 4.7.

IntermediateLevel 1–5#anthropic#claude-opus-4.7

Promptfoo GPT-5.4 Evaluation Cookbook

Notebook

Compare frontier models with cost, latency, and red-team checks using Promptfoo.

IntermediateLevel 1–4#promptfoo#evals
3 more project ideas to build yourself

Prompt Engineering Fundamentals

Brief

Learn prompt engineering techniques and create effective prompts for different tasks.

BeginnerLevel 1#prompting#llm

Build an LLM CLI Application

Brief

Create a command-line application that interacts with ChatGPT or Claude APIs.

BeginnerLevel 1#api#cli

LLM API Wrapper Library

Brief

Build a library that simplifies interactions with multiple LLM APIs.

IntermediateLevel 1#library#api

FAQ

Level 1 questions, answered

What is an LLM roadmap?

An LLM roadmap is the order in which to learn building with large language models: how they work, prompting, APIs, then apps, RAG, agents and production. On this roadmap, LLM fundamentals are Level 1 and take about 15 hours.

Which LLM should a beginner start with?

Start with a small, cheap model from any major provider (OpenAI, Anthropic or Google) and switch only when it fails your task. Comparing two or three models on the same prompt, as in checkpoint 5, teaches more than reading benchmark tables.

Do I need to understand transformers to use LLMs?

Not to start. You need a working mental model of tokens, context windows and sampling, which Level 1 covers. Transformer and attention details matter later if you fine-tune models or move into research.

How do I get better at prompt engineering?

Write several prompts for one real task, compare the outputs side by side, and keep a small test set you re-run whenever the prompt changes. That habit becomes the eval workflow you formalise with Promptfoo.

How much do LLM API calls cost?

Providers charge per million input and output tokens, and prices differ by more than 10x between small models and frontier models. Count tokens with tiktoken before running a batch job, and set a monthly spending cap on every API key.

Read next

Related guides

  • What is an LLM?
  • What are tokens in AI?
  • What is a context window?
  • What is prompt engineering?
  • Temperature, explained
  • LLM interview questions
← PreviousLevel 0: Environment & FoundationsNext →Level 2: Building Simple GenAI Applications

On this page

  • What you will learn
  • Topics and tools
  • Checkpoint tasks
  • Notebooks and projects
  • FAQ
  • Related guides
Build Fast with AI logoBuild Fast with AI

A free, project-based roadmap for learning generative AI, from your first API call to production systems.

Levels

  • Level 0: Environment & Foundations
  • Level 1: LLM Fundamentals & APIs
  • Level 2: Building Simple GenAI Applications
  • Level 3: RAG Systems & Intelligent Agents
  • Level 4: Production Systems & Deployment
  • Level 5: Advanced GenAI Techniques
  • Level 6: Choose Your Specialization Path

Career paths

  • AI App Developer Roadmap
  • AI Engineer Roadmap
  • ML Researcher Roadmap
  • AI Product Manager Roadmap
  • All projects and notebooks
  • Checkpoint tasks

Keep learning

  • AI concepts explained
  • AI glossary
  • AI project ideas
  • AI interview prep
  • Blog
  • Notebooks on GitHub

© 2026 Build Fast with AI. All rights reserved.

Privacy PolicyTerms