Check my levelCoursesProgramsFor teamsPricing
UKSign inSign up
Check my levelCoursesProgramsFor teamsPricingClaude quizPromptsBlogFAQSearchSign upUK
AcademlCoursesClaude API from A to Z
Get started free

Online course, Engineering, Claude

Claude API from A to Z: A Course for Developers Building Claude into a Product

16 lessons of 20–25 minutes, about 6 hours in total: TypeScript code, a task and a quiz in each.

Start: 7 days freePreview the first lesson, no sign-in

No card needed. The first two lessons are free after sign-up, all lessons come with Pro at $9 a month.

A user message with two content blocks, text and image, and the model’s replyLesson 1, 20 minYour first API call
  • Intermediatelevel
  • 6 h 28 min16 lessons, 4 modules
  • At your own paceupdated Dec 2, 2026
  • Certificatewith a check code
What you will learnLessonsCertificateQuestionsStart the course

What you will learn

  • Make a first call through the SDK and read the response: content blocks, stop_reason, usage
  • Build multi-turn conversations and summarize old history once it passes a threshold
  • Pick a model by quality and cost: run your task on Opus, Sonnet and Haiku over 20 of your own examples, try a lower effort and see where a cheaper option holds up
  • Write system prompts with a 5-block structure, mark up input with XML tags and pick few-shot examples
  • Work with long documents: where to place the document in the prompt and when chunking pays off
  • Define tools in JSON Schema and run the tool_use → tool_result loop, steering it with tool_choice
  • Run computer use with computer_toolset_20260801 in an isolated Docker container with a screenshot → action loop, then repeat the task with browser use
  • Stream responses and handle content_block_delta events
  • Send request batches through the Message Batches API and match results by custom_id
  • Cache a large system prompt with cache_control and compute the saving from usage
  • Extract JSON from an invoice scan and compare charts with vision
  • Retry with exponential backoff and full jitter on 429/500/529 and compute daily cost

What the Claude API course covers

The course teaches you to build Claude into a product through the API in TypeScript: the Messages API and model choice, system prompts, XML tags and few-shot, tool use, computer use and browser use, streaming, the Message Batches API, prompt caching, vision and production patterns: retries, rate limits, cost tracking. 16 lessons, about 6 hours in total.

Pricing and what's free →
01
Free lesson

Your first API call

Installing @anthropic-ai/sdk, the key in ANTHROPIC_API_KEY, a minimal call in TypeScript and the same in Python, and the response: content blocks, stop_reason and usage. In the task you set max_tokens: 10 and watch stop_reason change. The lesson code uses claude-sonnet-4-5: swap in claude-sonnet-5-5.

Open the lesson →

Lessons

Getting started → prompt engineering for Claude → tool use → production: streaming, batches, caching, vision. The first two lessons are free.

Module 1 · 3 lessons · 1 h 7 min

Getting Started

Your first API call, the Messages API structure, and choosing a model for the task and budget.

1Your first API callfree20 minInstall @anthropic-ai/sdk, create a client, send a message, and parse the response. Real TypeScript code.2The Messages API structurefree22 minsystem/user/assistant roles, content blocks (text, image), and how a multi-turn conversation works.3Choosing a model25 minFable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5: which model to pick, cost math at current prices, effort as the second lever, model IDs and the retirement schedule.
Module 2 · 4 lessons · 1 h 27 min

Prompt Engineering for Claude

System prompts, the 200K context window, XML tags, and few-shot — what actually works with Claude.

4Designing system prompts22 minPersona, constraints, output format, tone. What works, what doesn't. 3 real examples.5The 200K context window25 minHow to structure large documents and when chunking beats putting everything in one prompt. The lesson describes the earlier 200K limit; current models have a 1M-token window.6XML tags in prompts20 min<document>, <example>, <instructions>, <thinking>. Why Claude responds better to structured input.

Who it is for

  • Developers building Claude into their product or an internal service
  • Backend and full-stack engineers on Node.js and TypeScript
  • Teams whose API bill is growing and who need caching, batches and model choice to cut it
  • Anyone moving to Claude from another provider who wants to learn its specifics

How the lessons work

  1. A 20–25-minute lessonAn explanation with working code: 13 of 16 lessons use TypeScript, and the first lesson repeats the example in Python.
  2. A hands-on task in every lessonFor example, build a batch of 50 classification requests and compute the saving, or send 5 requests with a cached system prompt and compare cache_creation_input_tokens with cache_read_input_tokens. AI checks your solution and explains the result (after sign-up).
  3. Ready-made prompt and common mistakesA prompt for the lesson task and the mistakes that cost money or stability: retrying 400 and 401 errors, backoff without jitter, changes at the start of a cached prefix, a thin tool description.
  4. 2-question quiz and AI tutorThe quiz checks the lesson; the AI tutor answers questions on the topic.
  5. CertificateAfter all lessons you get a certificate with a unique verification code.

Certificate of completion

You get it when you finish every lesson. Each certificate has its own code, so an employer can check it on our site. You can add it to LinkedIn.

See how a certificate is checked
Sample

Sources behind the course

The course was published in May 2026, and most lesson examples use claude-sonnet-4-5 and claude-haiku-4-5. Since then Anthropic has deprecated Sonnet 4.5 (Sep 30, 2026) with retirement on Nov 30, 2026 and claude-sonnet-5-5 as the replacement; Haiku 4.5 is still active. On Nov 9, 2026 the models lesson and the computer use lesson were rewritten for the current models and tools.

The current lineup as of Nov 9, 2026: Claude Fable 5.2 ($8 / $40 per 1M input / output tokens), Opus 5.5 ($4 / $20), Sonnet 5.5 ($2 / $10), Haiku 5.5 (from $0.10 / $0.50). All have a 1M-token context window and up to 128K output tokens, so the lesson “The 200K Context Window” describes the earlier limit; its advice on structuring long documents still holds.

The Message Batches API is 50% off, most batches finish in under an hour, and results are available on completion or after 24 hours. Prompt caching: a 5-minute cache write costs 1.25× the base input price, a 1-hour write 2×, a read 0.1× (0.05× on Opus 5.5 and Sonnet 5.5, 0.025× on Fable 5.1 and 5.2); 5.5 models cache prompts from 512 tokens.

Computer use on the Claude API is out of beta: the computer_toolset_20260801 tool needs no beta header, and current models (Fable 5.2 and the 5.5 models) accept only it. The browser_toolset_20260801 tool for tasks inside webpages launched the same day, Aug 19, 2026. The Console and docs have moved to platform.claude.com.

  • Claude API — models overview and pricing
  • Claude API — model deprecations
  • Claude API — context windows
  • Claude API — Message Batches
  • Claude API — prompt caching
  • Claude API — computer use
  • Claude API — browser use

What's free and what it costs

  • The first two lessons, your first call and the Messages API structure, are free after a free sign-up.
  • After sign-up you get 7 days of full access to all 16 lessons and the whole catalog, no card needed.
  • After that, Pro costs $9 a month or $79 a year. Online card payment is not connected yet: write to info@academl.com and we open access manually.
  • Claude API calls run on your own key and are billed by Anthropic.

Claude API course: questions

How much does the Claude API cost?+

You pay per token. Prices as of Nov 9, 2026, per 1M input and output tokens: Opus 5.5 $4 and $20, Sonnet 5.5 $2 and $10, Haiku 5.5 from $0.10 and $0.50, Fable 5.2 $8 and $40. The Message Batches API cuts the price by 50%, and cache reads cost 10% of the input price or less. The models lesson shows how to price your own task.

Which Claude model should I choose?+

The lesson compares Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5, shows effort as a second lever and has you run your task on 20 examples. Anthropic's docs suggest starting with Opus 5.5 for most workloads, using Haiku 5.5 for high-volume, latency-sensitive tasks such as classification, extraction and routing, and Fable 5.2 for demanding reasoning and long-horizon agentic work.

How do I make my first Claude API request?+

Install the SDK (npm install @anthropic-ai/sdk or pip install anthropic), put your Console key in ANTHROPIC_API_KEY and call messages.create with a model, max_tokens and a messages array. max_tokens is required. The response is an array of content blocks, and usage holds token counts for cost. The first free lesson walks through all of it.

What is prompt caching and how much does it save?+

You mark the stable part of the prompt (a large system prompt, tools, a document) with cache_control, and repeat requests read it from the cache. A read costs 0.1× the input price, 0.05× on Opus 5.5 and Sonnet 5.5, 0.025× on Fable 5.1 and 5.2; a 5-minute write costs 1.25×. The cache lives 5 minutes and refreshes each time it is used.

How is this different from the courses based on Anthropic materials in the catalog?+

Anthropic API Fundamentals is 6 beginner lessons based on Anthropic's materials, and Tool Use in Claude is 6 lessons on tools only. Claude API from A to Z is broader: 16 TypeScript lessons from the first call to batches, caching, vision and production patterns.

The course in short

level
Intermediate
For whom
For developers
Task
Code and products
Tool
Claude
Format
Lessons, quizzes and tasks checked by AI
Lesson language
English

Is this course right for you?

Check your level in 3 minutes. We will show which course to start with.

Check my level

More courses on this topic

Full catalog
Intermediate, Claude

Design with Claude: from idea to design system

7 lessons: how to give Claude design tasks, build a DESIGN.md with tokens and components, generate screens in Stitch and code from Figma over MCP.

3 h 12 min, 7 lessonsCertificate
Intermediate, Claude

Claude Code & Agentic Development

10 lessons on Claude Code in real projects: CLAUDE.md, slash commands, task plans, git and PRs, test-first debugging, MCP servers, VS Code, JetBrains and CI.

4 h 10 min, 10 lessonsCertificate
Intermediate

AI Coding: Claude Code, Codex, Cursor, Windsurf

A one-hour course on choosing and using AI coding tools: Claude Code, Codex, Cursor, Windsurf, TDD with AI, plan-based refactoring and a team AI policy.

1 h 5 min, 4 lessonsCertificate
Intermediate, GPT

OpenAI API from A to Z

16 OpenAI API lessons with TypeScript code: tokens and cost, Structured Outputs, function calling, streaming, embeddings, vision and audio, production.

6 h 55 min, 16 lessonsCertificate

Keep going

Lesson: First steps, pip install anthropic and your first request →Tool Use in Claude: Based on Anthropic Materials →Prompt Evaluations: Based on Anthropic Materials →Claude Code & Agentic Development →OpenAI API from A to Z →Claude Opus 5.5: API pricing and what changed →

Make your first Claude API call

The first two lessons are open after a free sign-up. Sign up with email or Google to get 7 days of full access to the whole course and catalog.

Sign up
CoursesLLM coursesFor teamsPricingFAQBlogAboutPrivacy
© 2026 AcademlDevelopment & promotion —MMIX — Marketing Mix
7Few-shot prompting20 minWhen it helps vs hurts. How many examples, format consistency, contrast examples.
Module 3 · 4 lessons · 1 h 51 min

Tool Use

Function calling: defining tools, parsing tool_use, patterns, multi-turn chains, and computer use.

8Tool Use basics30 minDefining tools with JSON Schema, tool_choice, parsing tool_use blocks, sending tool_result back.9Tool patterns25 minWeb search, database query, code execution, calculator. The full request/response cycle.10Multi-turn conversations32 minBuilding history, when to summarize, token management across turns.11Computer Use (beta)24 minWhat it is, the current computer_toolset_20260801 and its action loop, browser use for web tasks, SDK classes, cost, limitations, when it makes sense.
Module 4 · 5 lessons · 2 h 3 min

Production

Streaming, the Batch API, prompt caching, vision, and resilient production patterns.

12Streaming22 minstream: true, MessageStreamEvent types, handling text deltas in TypeScript, progressive rendering.13Message Batches API24 minWhen to use it (bulk classification, evals, async jobs), 50% cost saving, how to submit and poll.14Prompt Caching30 mincache_control breakpoints, ephemeral, when cache hits happen, cost math. A real example with a large system prompt.15Vision22 minSending images (base64 vs URL), supported formats, document analysis, multimodal prompts.16Production patterns25 minRate limits, exponential backoff with jitter, error types, cost monitoring, logging.
Certificate
Your name
for the course
Claude API from A to Z
ACADEML · VERIFIED · ACADEML · VERIFIED · SAMPLE
What experience do I need?
+

Solid JavaScript or TypeScript and Node.js: 13 of 16 lessons use TypeScript, and the first lesson repeats the example in Python. You need an API key from the Anthropic Console. If you only write Python, start with Anthropic API Fundamentals.

How long is the course and what does it cost?+

16 lessons of 20–25 minutes, about 6 hours in total, with a certificate with a verification code after all lessons. The first two lessons are always free, sign-up gives 7 days of full access with no card, then Pro is $9 a month or $79 a year. API calls are billed by Anthropic separately.