Definition
An AI API is a programmatic interface to a model hosted by a provider. An application sends input (text, images, audio, files, tool definitions) and receives generated output, without running the model itself. Most AI features in software, from support chat to search assistants and coding tools, are built this way.
As of October 2026, the main first-party APIs and their current flagship models are:
- OpenAI: GPT-6 Astra ($10 per million input tokens, $50 per million output), GPT-6.1 Sol ($2 / $10) and GPT-6 Luna ($0.10 / $0.50), through the Responses and Chat Completions APIs
- Anthropic: Claude Opus 5.5 ($4 / $20), Claude Sonnet 5.5 and Claude Haiku 5.5, plus Claude Fable 5.1 ($10 / $50)
- Google: Gemini 4 Argon, generally available since October 13, 2026 at an introductory $2 / $10 until November 30, 2026 and $4 / $20 after that, alongside Gemini 3.8 Flash
Cloud platforms resell many of these. Amazon Bedrock, Google Cloud and Microsoft Foundry all carry the Claude 5.5 models, and open-weight models such as Qwen, DeepSeek, Gemma and gpt-oss are served by many inference providers or can be self-hosted.
Beyond text generation, the standard feature set now includes function calling and built-in tools such as web search and code execution, structured outputs, image and document input, discounted batch processing, prompt caching and embeddings. Pricing is per token, with output several times more expensive than input and cached input much cheaper. Context windows of about one million tokens are now normal at the top end: GPT-6 Luna, Claude Opus 5.5 and Gemini 4 Argon all list roughly 1M. Running the model is AI inference, and its cost is what these prices reflect.
Models are replaced quickly, so API users plan for change. Anthropic has scheduled Claude Sonnet 4.5's retirement from its API for November 30, 2026, and OpenAI's documentation says it is winding down its fine-tuning platform and no longer accepts new users. Teams that hard-code one model ID, or depend on a feature only one model has, tend to get caught out.
APIs matter for AI visibility in two ways. Every app built on them is another place where a brand can be mentioned, often with web search grounding switched on, so citations can come from tools you have never heard of. And API output is not the same as what users see in consumer apps: the ChatGPT or Gemini app adds its own search layer, system instructions and interface. Tracking visibility through the API alone can miss what real users get, the trade-off covered in UI vs API tracking and in our post on UI vs API for AI search visibility.
Examples of AI API
- A legal tech product routes routine clause extraction to GPT-6 Luna at $0.10 per million input tokens and sends only flagged clauses to Claude Opus 5.5 for a second review.
- A travel startup calls Gemini 4 Argon with Google Search grounding so itinerary answers cite current opening hours instead of relying on training data.
- An enterprise runs Claude Haiku 5.5 through Amazon Bedrock to keep data, access controls and billing inside its existing AWS account.
- A GEO team compares a brand's mentions in raw API responses with captured answers from the ChatGPT app for the same prompts and finds the two cite different sources.
