Skip to content

What is…

API

The programmatic way to use a model from your own code or app, usually paid per token.

Chat apps are for people; APIs are for software. Through an API, developers send prompts and receive responses in code, choose the exact model, set temperature, enforce structured output and pay per million tokens used.

Every AI-powered app you use that isn't made by a lab is almost certainly calling one of these APIs under the hood.

🧠 Test yourself

Which of these describes API?

Related terms

🎮 Learn AI by playing

40 bite-size missions, boss battles and a certificate. Free.

Start the bootcamp →

☀️ One AI term every morning

Plus the day's top stories, in your inbox by 8am.