
API / SDK OpenAI
OpenAI API
OpenAI's developer API for GPT, image, audio and embedding models, with official SDKs in several languages.
What it is
The OpenAI API gives programmatic access to OpenAI's models through the Responses and Chat Completions APIs, plus endpoints for realtime voice, image generation and editing, text-to-speech, transcription and embeddings. It supports function calling and structured outputs constrained by JSON Schema, and the Agents SDK builds on it. Official SDKs cover Python, TypeScript/JavaScript, .NET, Java, Go and Ruby.
What it's useful for
Building chat or agent features, generating images, adding voice or transcription, or creating embeddings for search in an application.
Key features
- Responses API and Chat Completions API
- Realtime API for voice agents
- Image generation and editing
- Text-to-speech, transcription and embeddings
- Function calling and JSON Schema structured outputs
- Official SDKs: Python, TypeScript/JS, .NET, Java, Go, Ruby
How to use it
Before you start
- OpenAI platform account
- API key
pip install openainpm install openaidotnet add package OpenAICommands are copied from the official documentation. Check the docs for the latest version before running them.
Website tech stack
- Hosting & CDN
- Cloudflare, Vercel
- Framework
- Next.js
- Analytics
- Cloudflare Web Analytics
Detected on openai.com on 25 Nov 2026. This describes the public website only; the product itself may use different technology.
Alternatives
Mistral AI's pay-as-you-go API for chat, code completion, OCR, embeddings, audio and agents, with Python and TypeScript SDKs.
Google's API for Gemini models, with a free tier and the Google GenAI SDKs for Python, JS, Go, Java and C#.
xAI's (now SpaceXSI) OpenAI-compatible API for Grok text, image, video and voice models, with Python and TypeScript SDKs.
Anthropic's REST API for Claude models, with official SDKs in Python, TypeScript, Go, Java, C#, PHP and Ruby.
MCP servers for this
Browserbase's hosted MCP server that lets agents drive cloud browsers with natural-language Stagehand actions.
Google Chrome team's MCP server and CLI that let coding agents control, debug and profile a live Chrome browser.
Docker Desktop's MCP Toolkit and Catalog that run MCP servers in containers and connect them to clients through one gateway.
Skills for this
Anthropic skill for generative art in p5.js with seeded randomness and an interactive viewer for exploring parameters.
Anthropic skill that guides Claude through designing, building and evaluating MCP servers in TypeScript or Python.
Related resources
OpenAI's proprietary GPT model family, with frontier, efficient, image and speech variants served through the OpenAI API.
Cerebras' cloud API for very fast inference on open-weight models, with an OpenAI-compatible endpoint and per-token pricing.
Serverless GPU inference on Cloudflare's network for open models, callable from Workers or the REST API.
Inference cloud serving hundreds of open models through an OpenAI-compatible API, plus private GPU deployments and GPU rental.