Automation

Using AI APIs

Your first API call, keys and how to keep them safe, and what the token bill will look like.

21 articles Last updated 01 Jul 2026

Using AI APIs Articles

What Should You Not Build on an API?

Some problems are a poor fit regardless of how capable the model is, and recognising them early saves building something that cannot work.

By AI Tutorials Team 1 Jul 2026

How Do You Deploy Something Safely?

Moving from a working prototype to something other people use introduces a set of concerns that have nothing to do with the model.

By AI Tutorials Team 22 Jun 2026

How Do You Handle Conversations?

The model remembers nothing, so a conversation is something you construct with every call, and the cost of that grows faster than people expect.

By AI Tutorials Team 4 Jun 2026

What Is Caching and When Does It Help?

Reusing processed input across calls saves real money on applications that send the same material repeatedly, which is most of them.

By AI Tutorials Team 26 May 2026

How Do You Send Images and Files?

Attaching anything other than text has its own rules, and the cost of images in particular is higher than most people expect.

By AI Tutorials Team 17 May 2026

What Is Tool Use and How Does It Work?

Letting a model call your own functions is what turns it from something that writes text into something that does things, and the loop is simpler than it sounds.

By AI Tutorials Team 8 May 2026

How Do You Handle Errors and Rate Limits?

Calls fail routinely, and the difference between an application that works and one that does not is entirely in how the failures are handled.

By AI Tutorials Team 29 Apr 2026

What Is Streaming and When Do You Need It?

Receiving the response as it generates changes how long the wait feels rather than how long it is, which matters only when somebody is waiting.

By AI Tutorials Team 20 Apr 2026

How Do You Get Structured Output?

Anything a program consumes needs a predictable shape, and there are three approaches with quite different reliability.

By AI Tutorials Team 11 Apr 2026

How Do You Reduce Your Token Bill?

A handful of changes account for nearly all the available savings, and they are ordered by how much difference each actually makes.

By AI Tutorials Team 24 Mar 2026