Practical guides
Start with the basics, try a simple example and follow the official documentation.
Start here
API keys: access and privacy
Understand what a key is for, where to place it and what to do if it is exposed.
Read the guide ↗Start hereWhat is an API?
Find out how a software requests a result from a service, what is sent and what it receives in return.
Read the guide ↗Start hereContext windows and application memory
Understand the difference between context, application memory and response length.
Read the guide ↗Start hereYour first API request with Python
Prepare a limited trial, keep the private key and understand the answer before integrating the code into an application.
Read the guide ↗Start hereInference: using a model
Distinguish the execution of a model of its drive and the settings of the service that hosts it.
Read the guide ↗Start hereApplications, models and platforms
Identify what you compare before choosing a tool or API.
Read the guide ↗Start hereWrite a useful prompt
Prepare a clear request and improve it from an observable defect.
Read the guide ↗Start hereTokens: counting, context and costs
A token is not necessarily a word. Learn what is counted and why the length of a conversation can change usage.
Read the guide ↗Build a workflow
AI agents: tools, actions and limits
Understand how an agent chains operations and why his permissions must remain visible.
Read the guide ↗Build a workflowEmbeddings and document search
Discover the vectors and similarities with an example of a documentary search.
Read the guide ↗Build a workflowFine-tuning: when to adapt a model
Distinguish the adaptation of the model, instructions and document search before preparing a project.
Read the guide ↗Build a workflowRAG: answers based on retrieved documents
Understand the steps of research and generation, and the necessary controls on sources.
Read the guide ↗Build a workflowStreaming: progressive responses
Find out about the pieced reception and the necessary controls before you act on the content.
Read the guide ↗Build a workflowTemperature: variation and verification
Understand what a generation parameter can change and why it does not replace the verification.
Read the guide ↗Build a workflowWebhooks: notifications and task tracking
Understand the difference between viewing a state and receiving an event, with an example of a video generation.
Read the guide ↗Costs, errors and data
Batch processing: requests and results
Prepare identifiable entries and check each result rather than the only global status.
Read the guide ↗Costs, errors and dataEstimate an API cost
Learn how to distinguish entry, output, media and frequency, then test an estimate with your own rates.
Read the guide ↗Costs, errors and dataAPI errors and usage limits
Distinguish an incorrect key, a usage limit and a temporary error to avoid unnecessary repeats.
Read the guide ↗Costs, errors and dataData and privacy before an API request
Identify the information transmitted, their recipients and the conditions of the route used.
Read the guide ↗API platforms
Explore twenty API platforms by task: models, routing, cloud, images, video and audio.
A — ZAI glossary
Find a term and open its beginner guide.