An LLM API is a hosted large language model you call over HTTPS. You send a prompt plus settings and get generated text back. The model is stateless, so you resend the conversation or let the API store it.
The first-party APIs to know:
- Anthropic's Messages API,
POST /v1/messages. - OpenAI's Responses API,
POST /v1/responses. Chat Completions still works. - Google's Gemini API, where the Interactions API is now recommended over
generateContent.
Cloud platforms resell the same models: Amazon Bedrock, Microsoft Foundry, and Google's Gemini Enterprise Agent Platform, formerly Vertex AI. They add enterprise billing, regions, and cloud identity and access management (IAM).
Many smaller providers ship an OpenAI-compatible endpoint, so one client library often reaches Mistral, DeepSeek or self-hosted models.
This answer doesn't lend itself to a diagram - it reads best . No credits were charged.
Why there's no diagram: “”
The interactive diagram is below the answer - jump to diagram ↓ · Below it, the related concept . Jump to it ↓
The diagram below the answer is the concept . Jump to it ↓