OpenAI API
Hosted API for OpenAI's text, image, audio and embedding models, billed per token; also builds agents that use your context and tools.
Find alternatives to OpenAI API
What it does
- Text generation
- Code generation
- Image generation
- Speech to text
- Text to speech
Used for
- Guardrails and safety
- Computer use
- Voice agent
Features 27
- Agents SDK and Responses APICreate agent workflows with the Agents SDK and the Responses API.
- Data residency and regional processingRegional processing and data residency options for API traffic.
- ChatKitToolkit for building agentic chat experiences.
- Web SearchLets models retrieve up-to-date information from the internet and answer with sourced citations.
- File SearchTool that lets models search over files supplied to the API.
- Code InterpreterLets models write and run Python code as a tool.
- Computer UseLets a model operate a browser or desktop interface.
- Shell ToolLets models work inside a complete terminal environment.
- Apply PatchTool that lets a model create, update and delete files via patches.
- Agent SkillsGives an agent reusable instructions and supporting files for a task.
- Function CallingConnects a model to external systems and data through defined function or custom tools.
- MCP ToolTool type that lets the model use remote MCP servers and connectors.
- Secure MCP TunnelConnects private MCP servers to supported OpenAI products.
- Tool SearchLoads deferred tool definitions at runtime instead of upfront.
- Programmatic Tool CallingLets the model compose tool calls in JavaScript.
- WebhooksSends real-time notifications about events in the API.
- WebSocket ModeRuns parallel conversations over one persistent connection to the Responses endpoint.
- Multi-AgentLets an agent delegate tasks to subagents.
- Structured OutputsConstrains model responses to a supplied JSON Schema.
- EmbeddingsText embeddings that measure how related text strings are.
- Retrieval APIPerforms retrieval over content stored with OpenAI.
- ModerationDetects harmful content in text and images with moderation models.
- Image GenerationGenerates and edits images from text prompts.
- File TranscriptionTranscribes completed recordings or bounded audio requests.
- Custom VoicesLets you create a voice for your agent or application.
- OpenAI CLICommand-line tool for repeatable terminal workflows.
- Terraform ProviderOfficial provider for managing OpenAI organization resources as code.
How it compares
-
Claude API
Rivals on three sourced fronts — consumer assistants, enterprise model APIs and coding agents; in mid-2025 enterprise LLM usage, Anthropic's 32% led OpenAI's 25%.
Anthropic now holds 32% of the enterprise large language model market share by usage, according to a report from Menlo Ventures released on Thursday. OpenAI holds the second-largest market share by usage among enterprises, with 25%.
News reporting · 25 Aug 2026 -
Gemini Enterprise Agent Platform (formerly Vertex AI)
One measured enterprise-LLM market: OpenAI's usage share fell from 50% in 2023 to 27% at end-2025 while Google's grew to 21% — a former leader losing ground to a hyperscaler platform.
Anthropic holds a dominant lead over its AI rivals when it comes to enterprise large language model usage. The AI research lab holds a 40% market share, according to a December report from VC firm Menlo Ventures (which, it should be noted, has invested aggressively in Anthropic). In July, the startup’s market share was estimated to be 32%. Google’s Gemini adoption has been steadier, according to Menlo Ventures. The company released its enterprise product last fall and has seen its enterprise LLM usage market share largely stay the same, per Menlo’s findings, growing from 20% in July to 21% at the end of the year. OpenAI on the other hand has seen its usage market share drop from 50% in 2023 to 27% at the end of 2025 — a trend that appears to concern the company.
News reporting · 25 Aug 2026 -
Cohere Platform
Both enterprise LLM APIs in Menlo's measured market; OpenAI holds 27% of spend — down from 50% in 2023 — while Cohere shares the 12% tail with Mistral and Meta's Llama.
We estimate Anthropic now earns 40% of enterprise LLM spend, up from 24% last year and 12% in 2023. Over the same period, OpenAI lost nearly half of its enterprise share, falling to 27% from 50% in 2023. Google also saw significant gains, increasing its enterprise share from 7% in 2023 to 21% in 2025. Together, these three companies account for 88% of enterprise LLM API usage, with the remaining 12% spread across Meta’s Llama, Cohere, Mistral, and a long tail of smaller providers.
Research report · 25 Aug 2026 -
Mistral Studio
Both enterprise LLM APIs in Menlo's measured market; OpenAI holds 27% of spend — down from 50% in 2023 — while Mistral shares the 12% tail with Cohere and Meta's Llama.
We estimate Anthropic now earns 40% of enterprise LLM spend, up from 24% last year and 12% in 2023. Over the same period, OpenAI lost nearly half of its enterprise share, falling to 27% from 50% in 2023. Google also saw significant gains, increasing its enterprise share from 7% in 2023 to 21% in 2025. Together, these three companies account for 88% of enterprise LLM API usage, with the remaining 12% spread across Meta’s Llama, Cohere, Mistral, and a long tail of smaller providers.
Research report · 25 Aug 2026 -
LightOn Enterprise
soit parce qu'elles sont adossées à des groupes importants telles que OpenAI, soutenue par Microsoft et Anthropic soutenue par Google et Amazon, ou parce qu'elles ont procédé à des levées de fonds importantes comme Cohere, H ou Mistral
Regulatory filing · 7 Nov 2024 -
AI21 Studio
If we lose deals, it's to OpenAI, mostly.
News reporting · 5 Sep 2023 -
Pharia-1-LLM
As companies that develop large language models, Aleph Alpha and Cohere have been hometown stars, while still lagging far behind OpenAI and the likes globally.
News reporting · 19 Sep 2026 -
Fireworks AI
Fireworks is the inference and adaptation platform engineering teams move to when they've validated their product on OpenAI or Anthropic and need production-grade open-source inference, model customization, and reliability at scale.
Official documentation · 20 Sep 2026 -
Inference Providers
OpenAI competes with Hugging Face for enterprise inference and fine-tuning budgets, although its model stack is fully proprietary and vertically integrated
Research report · 19 Sep 2026 -
StepFun Open Platform
We introduce a state-of-the-art image editing model, Step1X-Edit, which aims to provide comparable performance against the closed-source models like GPT-4o and Gemini2 Flash.
Official documentation · 19 Sep 2026 -
xAI API
Can I use the OpenAI or Anthropic SDK with Grok? Yes. Point your existing SDK at base URL https://api.x.ai/v1 with your SpaceXAI API key.
Official documentation · 19 Sep 2026 -
Solar LLMs
Solar Pro 2 delivered results comparable to leading frontier-scale models including OpenAI's GPT-4o, DeepSeek's R1, Mistral's Small 3.2, and Alibaba's Qwen 3—despite being less than half their size.
Official documentation · 19 Sep 2026 -
Sonic / Ink
Listeners prefer Sonic 3.6 over GPT-Realtime-2
Official documentation · 13 Oct 2026 -
Deepgram Speech-to-Text
Deepgram is 36% more accurate, up to 5x faster, and has lower TCO than OpenAI Whisper.
Official documentation · 13 Oct 2026 -
DeepL API
Compared to DeepL, OpenAI GPT-5.2 is 4x slower, Claude Opus 4.6 is 6x slower and Google Gemini 3.1 Pro is 29x slower.
Official documentation · 13 Oct 2026 -
Jasper API
Why choose Jasper over OpenAI & ChatGPT?
Company disclosure · 13 Oct 2026 -
Speech to Text API
Speechmatics delivers production-ready speech-to-text with real-time streaming, built-in speaker diarisation, and enterprise deployment — on-premises, on-device, and air-gapped — that OpenAI's transcription API cannot match.
Official documentation · 13 Oct 2026
Sources
- Pricing
-
Official documentation · 2 Sep 2026
Verified 2026-09-02: URL 200, product unchanged; pricing lives at /api/pricing/.
- Used for
-
Official documentation · 18 Oct 2026
'Use the results to enforce your application's policy, such as filtering content, routing a request for review' (https://developers.openai.com/api/docs/guides/moderation.md) / 'Use it to fill out forms, test user flows, or complete tasks in an application.' (https://developers.openai.com/api/docs/guides/tools-computer-use.md) / 'Build a speech-to-speech voice agent with the Realtime API.' (https://developers.openai.com/api/docs/guides/realtime.md)
- Constraints
-
Derived from the security facts on this page, from the same source.
- Security
-
Portal scope names the API Platform. BAA, DPA, ZDR (eligible endpoints, on approval) and encryption from openai.com/enterprise-privacy; training, residency and BYOK from the API's your-data guide; RBAC, SCIM, IP allowlist and audit logs from the API docs. FedRAMP Moderate is the fedramp.gov marketplace's listing of a separately provisioned ChatGPT Enterprise and API Platform configuration.
- Sold within
-
OpenAI's own model pricing page, read 2026-09-06: per-token rates for gpt-6-astra and the rest. Bought on its own, with no ChatGPT plan involved.
- Interfaces
-
Official documentation · 12 Oct 2026
Page: 'To use the OpenAI API in Python, you can use the official OpenAI SDK for Python / or your own preferred HTTP client'.
- Modalities
-
Official documentation · 1 Oct 2026
Page: 'Read and generate text / Allow models to see and analyze images in your application / Create images with GPT Image 2 / Analyze, transcribe, and generate audio with API endpoints / Get structured data from models'.
- Intended for
-
"Developer gateway to OpenAI's frontier AI models" for integrating into applications, billed per token, alongside a separate openai.com/business/pricing enterprise offering.
Also from OpenAI
-
ChatGPT Application
Assistant for chat, web search, file analysis and image generation, used in the browser and in desktop and mobile apps; developers can build custom in-chat apps for it via the Apps SDK, built on the Model Context Protocol; also runs multi-step research and saves cited reports.
-
ChatGPT for Word Application
ChatGPT in a Microsoft Word sidebar: drafts, revises and reorganizes the open document from notes or pasted source text, pulling in context from connected apps like Outlook, SharePoint, Google Workspace and Dropbox.
-
ChatGPT for Excel Application
ChatGPT in the Excel ribbon: builds and edits spreadsheets, formulas and formatting from plain-language requests, answers questions about what is in the workbook, and asks permission before changing it. OpenAI's own page bundles this with a separate ChatGPT for Google Sheets add-in; this record covers the Excel add-in only.
-
ChatGPT for PowerPoint Application
ChatGPT in the PowerPoint ribbon: creates new slides, rewrites and restructures an existing deck, and turns notes, documents or spreadsheets into presentation-ready content while keeping the output editable in PowerPoint.
-
ChatGPT Atlas Application
OpenAI's agentic web browser. Deprecated on 9 August 2026, with its browser-based agentic capabilities moved into ChatGPT and Codex.
-
ChatGPT Gov Application
A version of ChatGPT that US government agencies deploy in their own Microsoft Azure commercial or Azure Government cloud, so the agency manages its own security, privacy and compliance.
-
Codex AI agent
Coding agent that reads, edits and runs a codebase from the terminal, an IDE extension and the ChatGPT web app.
-
OpenAI Daybreak Agent platform
OpenAI's cybersecurity offering, bringing together frontier cyber models, Codex Security and partner workflows to find, validate and fix vulnerabilities, with an access-gated Daybreak Red tier for authorised vulnerability research and red teaming.
-
OpenAI Frontier Agent platform
Enterprise platform for connecting AI agents to systems of record and running them under enterprise identity, access and observability controls.
-
Sora Application
OpenAI's text-to-video product. The web and app experiences were discontinued on 26 April 2026; OpenAI's deprecations page lists the Sora 2 models and Videos API for removal from the API on 24 September 2026, a date now passed.
-
dots AI agent
Always-on personal agents inside ChatGPT, each with its own cloud computer, that learn from feedback and work toward a user's goals around the clock; one is included with Pro and Business Premium.
-
ChatGPT Space Application
Shared workspace in ChatGPT for pages and uploaded files that a user edits together with teammates, ChatGPT and their dot; replaced Library on Pro, Business and Enterprise plans.
-
Codex Security AI agent
Codex Security is an application security agent that helps teams find, confirm, and fix vulnerabilities.
-
ChatGPT Work AI agent
Mode of ChatGPT for delegating substantial tasks such as briefs, decks, analyses, recurring updates and workflows: it works from the user's files, plugins and approved tools, can use local files, apps and the browser in the desktop app, and returns finished files for review.
-
Agents API API service
Managed API that gives an application the Codex harness: OpenAI runs sessions, orchestration, context compaction and recovery while the application supplies tools and picks a sandbox where agents execute code, edit files, connect to MCP servers and produce artifacts.
-
ChatGPT for Financial Services AI agent
Tailored ChatGPT Work experience for investment banking and equity research teams, with premium financial data built in, firm templates for Excel, Word and PowerPoint, and ChatGPT Enterprise access controls.
Something wrong here? Send a correction — quote this product id: openai-api.