The OpenAI API provides programmatic access to cutting-edge large language models (LLMs) including GPT-5.5, GPT-5.4, and specialized models for text generation, embeddings, image creation, speech, moderation, and video generation via the Sora API. Launched as a RESTful API with official SDKs for Python, Node.js, .NET, and other languages, it enables developers to integrate AI capabilities via simple HTTP requests or the Agents SDK for multi-agent workflows. Unlike the ChatGPT web interface, the API offers token-based pricing, fine-grained control over model parameters, and access to the Responses API β the recommended interface for all new applications since March 2025, offering built-in tools for web search, computer use, hosted shell, and MCP. Key to effective API usage in 2026 is understanding reasoning effort (the reasoning.effort parameter controlling the intelligence/cost tradeoff), extended prompt caching (up to 24 hours for eligible models, reducing costs by up to 90%), and the Assistants API sunset scheduled for August 26, 2026.