CreateWithAIHub

API / SDK OpenAI

OpenAI API

OpenAI's developer API for GPT, image, audio and embedding models, with official SDKs in several languages.

Visit website ↗
Save

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
Python SDK
pip install openai
TypeScript/JavaScript SDK
npm install openai
.NET SDK
dotnet add package OpenAI

Commands 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.

Paid

Google's API for Gemini models, with a free tier and the Google GenAI SDKs for Python, JS, Go, Java and C#.

Free plan + paid

xAI's (now SpaceXSI) OpenAI-compatible API for Grok text, image, video and voice models, with Python and TypeScript SDKs.

Paid

Anthropic's REST API for Claude models, with official SDKs in Python, TypeScript, Go, Java, C#, PHP and Ruby.

Paid

See all 5 OpenAI API alternatives →

MCP servers for this

Browserbase's hosted MCP server that lets agents drive cloud browsers with natural-language Stagehand actions.

Free plan + paid

Google Chrome team's MCP server and CLI that let coding agents control, debug and profile a live Chrome browser.

FreeOpen source

Docker Desktop's MCP Toolkit and Catalog that run MCP servers in containers and connect them to clients through one gateway.

Free plan + paidOpen source

Skills for this

Anthropic skill for generative art in p5.js with seeded randomness and an interactive viewer for exploring parameters.

FreeOpen source

Anthropic skill that guides Claude through designing, building and evaluating MCP servers in TypeScript or Python.

FreeOpen source

Related resources

OpenAI's proprietary GPT model family, with frontier, efficient, image and speech variants served through the OpenAI API.

Paid

Cerebras' cloud API for very fast inference on open-weight models, with an OpenAI-compatible endpoint and per-token pricing.

Paid

Serverless GPU inference on Cloudflare's network for open models, callable from Workers or the REST API.

Free plan + paid

Inference cloud serving hundreds of open models through an OpenAI-compatible API, plus private GPU deployments and GPU rental.

Paid

Type to search. Use ↑ ↓ and Enter.