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

How Do You Estimate What Something Will Cost?

The arithmetic is straightforward once you know which numbers to multiply, and doing it before building prevents the common discovery that a design was never viable.

By AI Tutorials Team 15 Mar 2026

How Does the Billing Actually Work?

Charges are per token with different rates for input and output, and the model you choose changes the figure by an order of magnitude.

By AI Tutorials Team 6 Mar 2026

What Are Tokens and How Are They Counted?

Everything is billed and limited in tokens, and the unit is neither words nor characters, which makes estimating slightly awkward.

By AI Tutorials Team 25 Feb 2026

What Does a Request Actually Contain?

Understanding the parts of a request explains most of what confuses people later, particularly why conversations work the way they do.

By AI Tutorials Team 7 Feb 2026

How Do You Make Your First API Call?

The first call is a single web request with some text in it, and getting it working takes about ten minutes once you know what the pieces are.

By AI Tutorials Team 20 Jan 2026

How Is the API Different From the Chat Interface?

The model is the same and almost everything around it is not, which explains why output through an API frequently disappoints people used to the chat product.

By AI Tutorials Team 11 Jan 2026

What Is an AI API and Why Would You Use One?

Calling a model from your own code is a different proposition from using a chat interface, and the reasons to do it are narrower than they first appear.

By AI Tutorials Team 2 Jan 2026