OpenAI API
OpenAI API provides programmatic access to OpenAI models through the Responses API, Realtime API, batch processing, and other model and media endpoints.
Overview
The API uses bearer credentials. OpenAI publishes official SDKs for JavaScript/TypeScript, Python, C#, Java, Go, and Ruby, alongside direct HTTP access.
API details
- Base URL
- https://api.openai.com/v1/
- Authentication
- Bearer Token
- Styles
- Rest, Websocket, Sdk
- Pricing model
- Usage Based
- Official SDKs
- JavaScript, TypeScript, Python, C#, Java, Go, Ruby
Capabilities
Usage pricing depends on the selected model, processing mode, and tool calls.
Models currently mapped to this API
This is the verified iilib subset, not the provider's complete model catalog.
GPT-5.6 Luna
GPT-5.6 Luna is OpenAI's cost-optimized GPT-5.6 model for high-volume workloads, with a 1.05-million-token context window and up to 128K output tokens.
GPT-5.6 Sol
GPT-5.6 Sol is OpenAI's flagship GPT-5.6 model for complex professional work, with a 1.05-million-token context window and up to 128K output tokens.
GPT-5.6 Terra
GPT-5.6 Terra is an OpenAI model designed to balance capability and cost, with a 1.05-million-token context window and up to 128K output tokens.
GPT-6 Astra
GPT-6 Astra is OpenAI's flagship API model for complex reasoning, coding, computer use, research, and other tool-heavy professional workflows.
GPT-6 Luna
GPT-6 Luna is OpenAI's most efficient GPT-6 model for focused, high-volume workloads, with a 1.05M-token context window and up to 128K output tokens.
GPT-6 Sol
GPT-6 Sol is an OpenAI reasoning model for complex coding and agentic workflows, retained as the original Sol release alongside the newer GPT-6.1 Sol.
GPT-6.1 Sol
GPT-6.1 Sol is an OpenAI model positioned below Astra on price while retaining support for complex coding, computer use, reasoning, and tool-based workflows.
Tools and agents integrating this API
Only integrations backed by explicit product or provider documentation are shown.
Aider
Aider is an open-source terminal tool for working with language models on an existing codebase. It builds a repository map, edits files, integrates with Git, and can run linting and tests.
Amp
Amp is a coding agent from Amp Frontier Corporation that runs in the terminal, on the web, in cloud orbs, and through desktop and mobile apps, with integrations for common code editors.
Cline
Cline is an open-source coding agent available as an IDE extension, command-line tool, and SDK. It can read and write files, run terminal commands, and use browser and external tools.
Cursor
Cursor is a code editor from Anysphere with code completion and agents that can inspect repositories, edit files, run terminal commands, and work from desktop, terminal, or web surfaces.
Droid
Droid is Factory's software-development agent for planning, implementing, reviewing, and validating code changes across desktop, terminal, web, and managed execution environments.
Junie
Junie is JetBrains' coding agent for JetBrains IDEs and the command line. It can inspect projects, write and modify code, run development tasks, and use project instructions and agent skills.
OpenCode
OpenCode is an open-source coding agent available through a terminal interface, desktop app, and IDE integrations, with support for multiple model providers and local models.
OpenHands
OpenHands is an open-source platform for running software-development agents locally, in hosted cloud environments, or through self-hosted deployments.
Pi
Pi is an open-source, extensible terminal coding agent from Earendil Works with multi-provider model access, local tools, skills, extensions, prompt templates, and SDK support.
Qwen Code
Qwen Code is an open-source coding agent from the Qwen team with terminal, editor, desktop, browser, and chat surfaces and support for Qwen and third-party model providers.
Zed
Zed is an open-source code editor from Zed Industries with a native coding agent, external agent integrations, terminal-backed agent threads, edit prediction, and multiplayer collaboration.