Overview
The OpenAI API gives developers programmatic access to OpenAI's models, so they can add text generation, image and document understanding, speech and other AI features to their own software. It is a separate, usage-billed product from the ChatGPT app.
To use it you create an API key in the OpenAI dashboard and send it with each request, either as a bearer token over plain HTTP or through one of the official libraries for JavaScript and TypeScript, Python, .NET, Java, Go and Ruby. The current general-purpose endpoint is the Responses API, which takes text, images and files (including PDFs) as input and can stream its output as it is produced. Models can call built-in tools such as web search, file search and a code interpreter, call functions in your own code, or connect to remote MCP servers. A Realtime API covers voice applications, and an Agents SDK helps with multi-step workflows.
Billing is per token, with separate rates for input, cached input and output, and separate price lists for image, audio and embedding models and for the built-in tools. A cheaper batch mode exists for work that does not need an immediate answer. The documentation mentions a free test request, but building anything real means adding credits, so in practice this is a paid service.
Categories
Features
- Responses API for text generation with text, image and file inputs
- Built-in tools for web search, file search and code execution
- Function calling and connections to remote MCP servers
- Streaming of output as it is generated
- Realtime API for voice applications
- Image generation, speech, transcription and embedding models
- Official libraries for JavaScript, Python, .NET, Java, Go and Ruby
- Batch processing at a lower rate for non-urgent work
Privacy
See the official privacy policy. Requests, including any text, images or files you include, are sent to OpenAI's servers and are tied to your account through the API key.
Pros & Cons
Pros
- Official libraries for six languages plus a plain HTTP interface
- One API covers text, images, audio and embeddings
- Batch mode and cached input lower the cost of suitable workloads
- A moderation model is listed as free to use
Cons
- Needs an account and an API key before anything works
- No general free tier; real use requires adding credits
- Per-token billing makes costs hard to predict for busy applications
- The price list has many models and processing tiers to compare
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
AI APIs · Cohere
Provides large language models via API, with a free trial tier.
Freemium API -
Runs LLM inference at very high speed via API, with a free tier.
Freemium Web API -
AI APIs · Together AI
Provides API access to open-source AI models.
Paid Web API -
AI APIs · OpenRouter
Provides one API endpoint for many different AI models, including free ones.
Freemium Web API