Skip to content

Building with LLM APIs

Call language models from your own code: requests, streaming, tools and costs.

30tutors

3free to start

$3 to $12per paid lesson

Building with LLM APIs tutors

30 tutors

Reliable Document Summarisation Pipelines

Reliable Document Summarisation Pipelines

Build summarisation that handles long documents, keeps facts straight and can be checked against the source.IntermediateBuilding with LLM APIsNew
Skill Lab$7
Async Python for Many API Calls

Async Python for Many API Calls

Run hundreds of model or web API calls concurrently with asyncio, limits, retries and clean results.AdvancedBuilding with LLM APIsNew
Skill Lab$9
Batch Jobs for Large LLM Workloads

Batch Jobs for Large LLM Workloads

Run thousands of model requests as batch jobs that are cheaper, resumable and easy to check.IntermediateBuilding with LLM APIsNew
Skill Lab$7
Tool Calling: Let the Model Use Your Code

Tool Calling: Let the Model Use Your Code

Define tools, run the call and result loop safely, and get a model to use your functions correctly.IntermediateBuilding with LLM APIsNew
Skill Lab$8
Images and Documents as Model Input

Images and Documents as Model Input

Send photos, screenshots, charts and PDFs to a model and get answers you can check and trust.BeginnerBuilding with LLM APIsNew
Skill Lab$5
Prompt Caching for Lower Cost and Latency

Prompt Caching for Lower Cost and Latency

Structure prompts so repeated prefixes are cached, then measure the savings in cost and response time.IntermediateBuilding with LLM APIsNew
Skill Lab$7
Choosing the Right Model for a Task

Choosing the Right Model for a Task

Pick a model by testing it on your own task, weighing quality, speed, cost, context and data handling.All levelsBuilding with LLM APIsNew
Skill Lab$5
Moderation, Refusals and Safe Responses

Moderation, Refusals and Safe Responses

Design how your LLM app handles harmful requests, refusals and sensitive topics, without blocking normal users.All levelsBuilding with LLM APIsNew
Skill Lab$5
LLM APIs on a Solo Developer Budget

LLM APIs on a Solo Developer Budget

Build and launch a side project on model APIs without a surprise bill, abuse or an overbuilt setup.All levelsBuilding with LLM APIsNew
Skill Lab$4
Messages, Roles and Conversation State

Messages, Roles and Conversation State

Understand system, user and assistant messages and store conversations correctly in your own app.BeginnerBuilding with LLM APIsNew
Skill Lab$4
Getting Reliable JSON Out of a Model

Getting Reliable JSON Out of a Model

Get model output your code can parse: schemas, validation, truncation handling and safe retries.BeginnerBuilding with LLM APIsNew
Skill Lab$5
API Key Safety and Secrets Handling

API Key Safety and Secrets Handling

Keep model API keys out of code, repos, browsers and logs, and know exactly what to do if one leaks.BeginnerBuilding with LLM APIsNew
Skill LabFree

More in Building with AI

All topics