OpenAI
OpenAI is available on the Spanway gateway through the openai/ model prefix. You register an OpenAI model once in the gateway's config.yaml (or through the Admin UI), and every application then calls it through the gateway's OpenAI-compatible API with a Spanway virtual key. The provider credential stays on the gateway, and every request is authenticated, rate limited, logged and costed in the same way as any other provider.
The gateway translates requests and responses for OpenAI natively, so provider specific parameters and errors are mapped to the OpenAI format for you.
Supported endpoints
The gateway's endpoint support matrix lists the following endpoints for OpenAI. Each link explains the request shape and the gateway features that apply to that endpoint.
- OpenAI Chat Completions API (
/chat/completions) - Anthropic Messages API (
/messages) - OpenAI Responses API (
/responses) - OpenAI Embeddings API (
/embeddings) - OpenAI Images Generations API (
/images/generations) - OpenAI Audio Transcription API (
/audio/transcriptions) - OpenAI Text-to-Speech API (
/audio/speech) - OpenAI Moderations API (
/moderations) - OpenAI Batches API (
/batches) - OpenAI Containers API (
/container) - OpenAI Responses API (
/responses) - A2A (Agent-to-Agent) protocol for agent communication (
/a2a) - Google Interactions API (
/interactions) - OpenAI Vector Store Files API (
/vector_stores/files) - OpenAI Vector Stores Create API (
/vector_stores/create) - OpenAI Vector Stores Search API (
/vector_stores/search) - OpenAI Assistants API (
/assistants) - OpenAI Container Files API (
/create/container/files) - OpenAI Fine-Tuning API (
/fine_tuning) - OpenAI Images Variations API (
/images/variations) - RAG Ingest API (
/rag/ingest) - RAG Query API (
/rag/query) - OpenAI Realtime API (
/realtime) - OpenAI Completions API (
/completions)
Model types
The bundled price map lists 216 OpenAI models across these modes: Transcription, Chat, Realtime, Text to speech, Image generation, Responses, Moderation, Embedding, Video. The mode decides which gateway endpoint a model is meant for, and it is also used by the gateway's health checks to send the right kind of test request.
Environment variables
The OpenAI integration reads the following environment variables. Variables marked as required are the ones the gateway's environment validation checks for this provider. You can also pass any of these values directly in spanway_params (for example api_key or api_base), and the per-model value wins over the environment.
| Variable | Required | Purpose |
|---|---|---|
OPENAI_API_KEY | Yes | Credential the gateway sends to the provider |
OPENAI_BASE_URL | No | Overrides the provider base URL |
OPENAI_API_BASE | No | Overrides the provider base URL |
OPENAI_ORGANIZATION | No | Organization header sent with each request |
OPENAI_PROJECT | No | Project the requests are billed to |
Reference a variable from config.yaml with the os.environ/ prefix so that the secret never appears in the file itself. Secrets can also come from a secret manager, see secret managers.
Register a model on the gateway
Add an entry to model_list in config.yaml. The model_name is the public name your applications send, and spanway_params.model tells the gateway which provider and upstream model to call.
model_list:
- model_name: gpt-6.1-sol
spanway_params:
model: openai/gpt-6.1-sol
api_key: os.environ/OPENAI_API_KEY
Start the gateway with this file:
export OPENAI_API_KEY="..."
spanway --config config.yaml
Spanway is in private preview. The container images and Helm charts will be published soon. To request access, write to sales@spanway.ai, and preview customers receive download instructions in their onboarding pack.
To add the model without a restart, call POST /model/new with the same model_name and spanway_params, or use the Models + Endpoints page in the Admin UI. See model management for details.
Call the model through the gateway
Send requests to the gateway's /v1/chat/completions endpoint with a virtual key. The gateway maps the public model name to the OpenAI deployment, translates the request, and returns the response in the OpenAI format.
curl -X POST http://localhost:4000/v1/chat/completions \
-H "Authorization: Bearer $SPANWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-6.1-sol",
"messages": [{"role": "user", "content": "Summarize what an AI gateway does in two sentences."}]
}'
The same request works from any OpenAI SDK by setting the base URL to http://localhost:4000 and the API key to a Spanway virtual key. Create keys with POST /key/generate as described in virtual keys.
Models and pricing
The table lists every OpenAI model in the gateway's bundled price map. Prices are shown in US dollars per 1 million tokens, computed from the per-token values the gateway uses for spend tracking. Context window sizes are the provider limits recorded in the same file. Capabilities are the supports_* flags set for each model.
Prices come from the price map bundled with this Spanway build. They are used to calculate the spend recorded for each request, key, team and user. Your negotiated rates may differ, and you can override them per deployment with custom pricing.
Model (model value) | Mode | Max input tokens | Max output tokens | Input per 1M tokens | Output per 1M tokens | Other pricing | Capabilities |
|---|---|---|---|---|---|---|---|
openai/1024-x-1024/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/1024-x-1024/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/1024-x-1536/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/1024-x-1536/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/1536-x-1024/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/1536-x-1024/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/chat-latest | Chat | 400,000 | 128,000 | $5.00 | $30.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/chatgpt-image-latest | Image generation | $5.00 | $10.00 | ||||
openai/computer-use-preview | Chat | 8,192 | 1,024 | $3.00 | $12.00 | tools, vision, reasoning, PDF input | |
openai/computer-use-preview-2025-03-11 | Chat | 8,192 | 1,024 | $3.00 | $12.00 | tools, vision, reasoning, PDF input | |
openai/daybreak-blue-latest | Chat | 922,000 | 128,000 | $4.00 | $20.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, computer use | |
openai/daybreak-red-latest | Chat | 400,000 | 128,000 | $12.50 | $75.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, computer use | |
openai/ft:gpt-3.5-turbo | Chat | 16,385 | 4,096 | $3.00 | $6.00 | ||
openai/ft:gpt-3.5-turbo-0125 | Chat | 16,385 | 4,096 | $3.00 | $6.00 | ||
openai/ft:gpt-3.5-turbo-0613 | Chat | 4,096 | 4,096 | $3.00 | $6.00 | ||
openai/ft:gpt-3.5-turbo-1106 | Chat | 16,385 | 4,096 | $3.00 | $6.00 | ||
openai/ft:gpt-4-0613 | Chat | 8,192 | 4,096 | $30.00 | $60.00 | tools | |
openai/ft:gpt-4.1-2025-04-14 | Chat | 1,047,576 | 32,768 | $3.00 | $12.00 | tools, prompt caching, structured output | |
openai/ft:gpt-4.1-mini-2025-04-14 | Chat | 1,047,576 | 32,768 | $0.8 | $3.20 | tools, prompt caching, structured output | |
openai/ft:gpt-4.1-nano-2025-04-14 | Chat | 1,047,576 | 32,768 | $0.2 | $0.8 | tools, prompt caching, structured output | |
openai/ft:gpt-4o-2024-08-06 | Chat | 128,000 | 16,384 | $3.75 | $15.00 | tools, vision, prompt caching, structured output, PDF input | |
openai/ft:gpt-4o-2024-11-20 | Chat | 128,000 | 16,384 | $3.75 | $15.00 | tools, prompt caching, structured output, PDF input | |
openai/ft:gpt-4o-mini-2024-07-18 | Chat | 128,000 | 16,384 | $0.3 | $1.20 | tools, prompt caching, structured output, PDF input | |
openai/ft:o4-mini-2025-04-16 | Chat | 200,000 | 100,000 | $4.00 | $16.00 | tools, reasoning, prompt caching, structured output | |
openai/gpt-3.5-turbo | Chat | 16,385 | 4,096 | $0.5 | $1.50 | tools, prompt caching | |
openai/gpt-3.5-turbo-16k | Chat | 16,385 | 4,096 | $3.00 | $4.00 | prompt caching | |
openai/gpt-3.5-turbo-0125 | Chat | 16,385 | 4,096 | $0.5 | $1.50 | tools, prompt caching | |
openai/gpt-3.5-turbo-1106 | Chat | 16,385 | 4,096 | $1.00 | $2.00 | tools, prompt caching | |
openai/gpt-4 | Chat | 8,192 | 4,096 | $30.00 | $60.00 | tools, prompt caching | |
openai/gpt-4-0613 | Chat | 8,192 | 4,096 | $30.00 | $60.00 | tools, prompt caching | |
openai/gpt-4-1106-preview | Chat | 128,000 | 4,096 | $10.00 | $30.00 | tools, prompt caching | |
openai/gpt-4-turbo | Chat | 128,000 | 4,096 | $10.00 | $30.00 | tools, vision, prompt caching, PDF input | |
openai/gpt-4-turbo-2024-04-09 | Chat | 128,000 | 4,096 | $10.00 | $30.00 | tools, vision, prompt caching, PDF input | |
openai/gpt-4.1 | Chat | 1,047,576 | 32,768 | $2.00 | $8.00 | tools, vision, prompt caching, structured output, web search, PDF input | |
openai/gpt-4.1-2025-04-14 | Chat | 1,047,576 | 32,768 | $2.00 | $8.00 | tools, vision, prompt caching, structured output, web search, PDF input | |
openai/gpt-4.1-mini | Chat | 1,047,576 | 32,768 | $0.4 | $1.60 | tools, vision, prompt caching, structured output, web search, PDF input | |
openai/gpt-4.1-mini-2025-04-14 | Chat | 1,047,576 | 32,768 | $0.4 | $1.60 | tools, vision, prompt caching, structured output, web search, PDF input | |
openai/gpt-4.1-nano | Chat | 1,047,576 | 32,768 | $0.1 | $0.4 | tools, vision, prompt caching, structured output, PDF input | |
openai/gpt-4.1-nano-2025-04-14 | Chat | 1,047,576 | 32,768 | $0.1 | $0.4 | tools, vision, prompt caching, structured output, PDF input | |
openai/gpt-4o | Chat | 128,000 | 16,384 | $2.50 | $10.00 | tools, vision, prompt caching, structured output, PDF input | |
openai/gpt-4o-2024-05-13 | Chat | 128,000 | 4,096 | $5.00 | $15.00 | tools, vision, prompt caching, PDF input | |
openai/gpt-4o-2024-08-06 | Chat | 128,000 | 16,384 | $2.50 | $10.00 | tools, vision, prompt caching, structured output, PDF input | |
openai/gpt-4o-2024-11-20 | Chat | 128,000 | 16,384 | $2.50 | $10.00 | tools, vision, prompt caching, structured output, PDF input | |
openai/gpt-4o-audio-preview-2024-12-17 | Chat | 128,000 | 16,384 | $2.50 | $10.00 | tools, audio in, audio out | |
openai/gpt-4o-audio-preview-2025-06-03 | Chat | 128,000 | 16,384 | $2.50 | $10.00 | tools, audio in, audio out | |
openai/gpt-4o-mini | Chat | 128,000 | 16,384 | $0.15 | $0.6 | tools, vision, prompt caching, structured output, PDF input | |
openai/gpt-4o-mini-2024-07-18 | Chat | 128,000 | 16,384 | $0.15 | $0.6 | tools, vision, prompt caching, structured output, PDF input | |
openai/gpt-4o-mini-audio-preview-2024-12-17 | Chat | 128,000 | 16,384 | $0.15 | $0.6 | tools, audio in, audio out | |
openai/gpt-4o-mini-realtime-preview-2024-12-17 | Realtime | 128,000 | 4,096 | $0.6 | $2.40 | tools, audio in, audio out | |
openai/gpt-4o-mini-search-preview | Chat | 128,000 | 16,384 | $0.15 | $0.6 | tools, vision, prompt caching, structured output, web search, PDF input | |
openai/gpt-4o-mini-search-preview-2025-03-11 | Chat | 128,000 | 16,384 | $0.15 | $0.6 | tools, vision, prompt caching, structured output, web search, PDF input | |
openai/gpt-4o-mini-transcribe | Transcription | 16,000 | 2,000 | $1.25 | $5.00 | $0.00005 per input second | |
openai/gpt-4o-mini-transcribe-2025-03-20 | Transcription | 16,000 | 2,000 | $1.25 | $5.00 | $0.00005 per input second | |
openai/gpt-4o-mini-transcribe-2025-12-15 | Transcription | 16,000 | 2,000 | $1.25 | $5.00 | $0.00005 per input second | |
openai/gpt-4o-mini-tts | Text to speech | $0.6 | $10.00 | $0.00025 per output second | |||
openai/gpt-4o-mini-tts-2025-03-20 | Text to speech | $0.6 | $10.00 | $0.00025 per output second | |||
openai/gpt-4o-mini-tts-2025-12-15 | Text to speech | $0.6 | $10.00 | $0.00025 per output second | |||
openai/gpt-4o-search-preview | Chat | 128,000 | 16,384 | $2.50 | $10.00 | tools, vision, prompt caching, structured output, web search, PDF input | |
openai/gpt-4o-search-preview-2025-03-11 | Chat | 128,000 | 16,384 | $2.50 | $10.00 | tools, vision, prompt caching, structured output, web search, PDF input | |
openai/gpt-4o-transcribe | Transcription | 16,000 | 2,000 | $2.50 | $10.00 | $0.0001 per input second | |
openai/gpt-4o-transcribe-diarize | Transcription | 16,000 | 2,000 | $2.50 | $10.00 | $0.0001 per input second | |
openai/gpt-5 | Chat | 272,000 | 128,000 | $1.25 | $10.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5-2025-08-07 | Chat | 272,000 | 128,000 | $1.25 | $10.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5-chat | Chat | 128,000 | 16,384 | $1.25 | $10.00 | vision, reasoning, prompt caching, structured output, PDF input | |
openai/gpt-5-chat-latest | Chat | 128,000 | 16,384 | $1.25 | $10.00 | tools, vision, reasoning, structured output, PDF input | |
openai/gpt-5-codex | Responses | 272,000 | 128,000 | $1.25 | $10.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5-mini | Chat | 272,000 | 128,000 | $0.25 | $2.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5-mini-2025-08-07 | Chat | 272,000 | 128,000 | $0.25 | $2.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5-nano | Chat | 272,000 | 128,000 | $0.05 | $0.4 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5-nano-2025-08-07 | Chat | 272,000 | 128,000 | $0.05 | $0.4 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5-pro | Responses | 400,000 | 272,000 | $15.00 | $120.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5-pro-2025-10-06 | Responses | 400,000 | 272,000 | $15.00 | $120.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5-search-api | Chat | 272,000 | 128,000 | $1.25 | $10.00 | tools, vision, prompt caching, structured output, web search, PDF input | |
openai/gpt-5-search-api-2025-10-14 | Chat | 272,000 | 128,000 | $1.25 | $10.00 | tools, vision, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.1 | Chat | 272,000 | 128,000 | $1.25 | $10.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.1-2025-11-13 | Chat | 272,000 | 128,000 | $1.25 | $10.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.1-chat-latest | Chat | 128,000 | 16,384 | $1.25 | $10.00 | tools, vision, reasoning, structured output, PDF input | |
openai/gpt-5.1-codex | Responses | 400,000 | 128,000 | $1.25 | $10.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.1-codex-max | Responses | 400,000 | 128,000 | $1.25 | $10.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.1-codex-mini | Responses | 400,000 | 128,000 | $0.25 | $2.00 | tools, vision, reasoning, prompt caching, structured output, PDF input | |
openai/gpt-5.2 | Chat | 272,000 | 128,000 | $1.75 | $14.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.2-2025-12-11 | Chat | 272,000 | 128,000 | $1.75 | $14.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.2-chat-latest | Chat | 128,000 | 16,384 | $1.75 | $14.00 | tools, vision, reasoning, structured output, PDF input | |
openai/gpt-5.2-codex | Responses | 272,000 | 128,000 | $1.75 | $14.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.2-pro | Responses | 272,000 | 128,000 | $21.00 | $168.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.2-pro-2025-12-11 | Responses | 272,000 | 128,000 | $21.00 | $168.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.3-chat-latest | Chat | 128,000 | 16,384 | $1.75 | $14.00 | tools, vision, reasoning, structured output, PDF input | |
openai/gpt-5.3-codex | Responses | 272,000 | 128,000 | $1.75 | $14.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.4 | Chat | 1,050,000 | 128,000 | $2.50 | $15.00 | tools, vision, reasoning, prompt caching, structured output, PDF input | |
openai/gpt-5.4-2026-03-05 | Chat | 1,050,000 | 128,000 | $2.50 | $15.00 | tools, vision, reasoning, prompt caching, structured output, PDF input | |
openai/gpt-5.4-mini | Chat | 272,000 | 128,000 | $0.75 | $4.50 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.4-mini-2026-03-17 | Chat | 272,000 | 128,000 | $0.75 | $4.50 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.4-nano | Chat | 272,000 | 128,000 | $0.2 | $1.25 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.4-nano-2026-03-17 | Chat | 272,000 | 128,000 | $0.2 | $1.25 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.4-pro | Responses | 1,050,000 | 128,000 | $30.00 | $180.00 | tools, vision, reasoning, prompt caching, web search, PDF input | |
openai/gpt-5.4-pro-2026-03-05 | Responses | 1,050,000 | 128,000 | $30.00 | $180.00 | tools, vision, reasoning, prompt caching, web search, PDF input | |
openai/gpt-5.5 | Chat | 1,050,000 | 128,000 | $5.00 | $30.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.5-2026-04-23 | Chat | 1,050,000 | 128,000 | $5.00 | $30.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.5-cyber | Chat | $12.50 | $75.00 | reasoning | |||
openai/gpt-5.5-pro | Responses | 1,050,000 | 128,000 | $30.00 | $180.00 | tools, vision, reasoning, prompt caching, web search, PDF input | |
openai/gpt-5.5-pro-2026-04-23 | Responses | 1,050,000 | 128,000 | $30.00 | $180.00 | tools, vision, reasoning, prompt caching, web search, PDF input | |
openai/gpt-5.6 | Chat | 922,000 | 128,000 | $4.00 | $20.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.6-cyber | Chat | 400,000 | 128,000 | $12.50 | $75.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, computer use | |
openai/gpt-5.6-luna | Chat | 922,000 | 128,000 | $0.2 | $1.20 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-5.6-sol | Chat | 922,000 | 128,000 | $4.00 | $20.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, computer use | |
openai/gpt-5.6-terra | Chat | 922,000 | 128,000 | $2.00 | $12.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/gpt-6-astra | Chat | 922,000 | 128,000 | $10.00 | $50.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, computer use | |
openai/gpt-6-luna | Chat | 922,000 | 128,000 | $0.1 | $0.5 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, computer use | |
openai/gpt-6-sol | Chat | 922,000 | 128,000 | $2.00 | $10.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, computer use | |
openai/gpt-6.1-sol | Chat | 922,000 | 128,000 | $2.00 | $10.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, computer use | |
openai/gpt-audio | Chat | 128,000 | 16,384 | $2.50 | $10.00 | tools, audio in, audio out | |
openai/gpt-audio-1.5 | Chat | 128,000 | 16,384 | $2.50 | $10.00 | tools, audio in, audio out | |
openai/gpt-audio-2025-08-28 | Chat | 128,000 | 16,384 | $2.50 | $10.00 | tools, audio in, audio out | |
openai/gpt-audio-mini | Chat | 128,000 | 16,384 | $0.6 | $2.40 | tools, audio in, audio out | |
openai/gpt-audio-mini-2025-10-06 | Chat | 128,000 | 16,384 | $0.6 | $2.40 | tools, audio in, audio out | |
openai/gpt-audio-mini-2025-12-15 | Chat | 128,000 | 16,384 | $0.6 | $2.40 | tools, audio in, audio out | |
openai/gpt-daybreak-blue-latest | Responses | 922,000 | 128,000 | $4.00 | $20.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, computer use | |
openai/gpt-daybreak-red-latest | Responses | 400,000 | 128,000 | $12.50 | $75.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input, computer use | |
openai/gpt-image-1 | Image generation | $5.00 | |||||
openai/gpt-image-1-mini | Image generation | $2.00 | |||||
openai/gpt-image-1.5 | Image generation | $5.00 | $10.00 | vision, PDF input | |||
openai/gpt-image-1.5-2025-12-16 | Image generation | $5.00 | $10.00 | vision, PDF input | |||
openai/gpt-image-2 | Image generation | $5.00 | vision, PDF input | ||||
openai/gpt-image-2-2026-04-21 | Image generation | $5.00 | vision, PDF input | ||||
openai/gpt-image-2.5-flare | Image generation | $5.00 | vision, PDF input | ||||
openai/gpt-image-2.5-flare-2026-09-08 | Image generation | $5.00 | vision, PDF input | ||||
openai/gpt-image-2.5-sunburst | Image generation | $5.00 | vision, PDF input | ||||
openai/gpt-image-2.5-sunburst-2026-09-08 | Image generation | $5.00 | vision, PDF input | ||||
openai/gpt-live-1 | Realtime | $0.000833333333333 per input second | tools, audio in, audio out | ||||
openai/gpt-live-transcribe | Transcription | $0.000283333333333 per input second | audio in | ||||
openai/gpt-realtime | Realtime | 32,000 | 4,096 | $4.00 | $16.00 | tools, audio in, audio out | |
openai/gpt-realtime-1.5 | Realtime | 32,000 | 4,096 | $4.00 | $16.00 | tools, audio in, audio out | |
openai/gpt-realtime-2 | Realtime | 128,000 | 32,000 | $4.00 | $24.00 | tools, audio in, audio out | |
openai/gpt-realtime-2.1 | Realtime | 128,000 | 32,000 | $4.00 | $24.00 | tools, audio in, audio out | |
openai/gpt-realtime-2.1-mini | Realtime | 128,000 | 32,000 | $0.6 | $2.40 | tools, audio in, audio out | |
openai/gpt-realtime-2025-08-28 | Realtime | 32,000 | 4,096 | $4.00 | $16.00 | tools, audio in, audio out | |
openai/gpt-realtime-mini | Realtime | 32,000 | 4,096 | $0.6 | $2.40 | tools, audio in, audio out | |
openai/gpt-realtime-mini-2025-12-15 | Realtime | 128,000 | 4,096 | $0.6 | $2.40 | tools, audio in, audio out | |
openai/gpt-realtime-translate | Realtime | 16,000 | 2,000 | $0.000566666666667 per input second | audio in, audio out | ||
openai/gpt-realtime-whisper | Transcription | $0.000283333333333 per input second | audio in | ||||
openai/gpt-rosalind-discovery | Chat | $5.00 | $25.00 | ||||
openai/gpt-rosalind-research | Chat | $5.00 | $25.00 | ||||
openai/gpt-transcribe | Transcription | $0.000075 per input second | audio in | ||||
openai/high/1024-x-1024/gpt-image-1 | Image generation | ||||||
openai/high/1024-x-1024/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/high/1024-x-1024/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/high/1024-x-1536/gpt-image-1 | Image generation | ||||||
openai/high/1024-x-1536/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/high/1024-x-1536/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/high/1536-x-1024/gpt-image-1 | Image generation | ||||||
openai/high/1536-x-1024/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/high/1536-x-1024/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/low/1024-x-1024/gpt-image-1 | Image generation | ||||||
openai/low/1024-x-1024/gpt-image-1-mini | Image generation | ||||||
openai/low/1024-x-1024/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/low/1024-x-1024/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/low/1024-x-1536/gpt-image-1 | Image generation | ||||||
openai/low/1024-x-1536/gpt-image-1-mini | Image generation | ||||||
openai/low/1024-x-1536/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/low/1024-x-1536/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/low/1536-x-1024/gpt-image-1 | Image generation | ||||||
openai/low/1536-x-1024/gpt-image-1-mini | Image generation | ||||||
openai/low/1536-x-1024/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/low/1536-x-1024/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/medium/1024-x-1024/gpt-image-1 | Image generation | ||||||
openai/medium/1024-x-1024/gpt-image-1-mini | Image generation | ||||||
openai/medium/1024-x-1024/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/medium/1024-x-1024/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/medium/1024-x-1536/gpt-image-1 | Image generation | ||||||
openai/medium/1024-x-1536/gpt-image-1-mini | Image generation | ||||||
openai/medium/1024-x-1536/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/medium/1024-x-1536/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/medium/1536-x-1024/gpt-image-1 | Image generation | ||||||
openai/medium/1536-x-1024/gpt-image-1-mini | Image generation | ||||||
openai/medium/1536-x-1024/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/medium/1536-x-1024/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/o1 | Chat | 200,000 | 100,000 | $15.00 | $60.00 | tools, vision, reasoning, prompt caching, structured output, PDF input | |
openai/o1-2024-12-17 | Chat | 200,000 | 100,000 | $15.00 | $60.00 | tools, vision, reasoning, prompt caching, structured output, PDF input | |
openai/o1-pro | Responses | 200,000 | 100,000 | $150.00 | $600.00 | tools, vision, reasoning, prompt caching, structured output, PDF input | |
openai/o1-pro-2025-03-19 | Responses | 200,000 | 100,000 | $150.00 | $600.00 | tools, vision, reasoning, prompt caching, structured output, PDF input | |
openai/o3 | Chat | 200,000 | 100,000 | $2.00 | $8.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/o3-2025-04-16 | Chat | 200,000 | 100,000 | $2.00 | $8.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/o3-deep-research | Responses | 200,000 | 100,000 | $10.00 | $40.00 | vision, reasoning, prompt caching, PDF input | |
openai/o3-deep-research-2025-06-26 | Responses | 200,000 | 100,000 | $10.00 | $40.00 | vision, reasoning, prompt caching, PDF input | |
openai/o3-mini | Chat | 200,000 | 100,000 | $1.10 | $4.40 | tools, reasoning, prompt caching, structured output | |
openai/o3-mini-2025-01-31 | Chat | 200,000 | 100,000 | $1.10 | $4.40 | tools, reasoning, prompt caching, structured output | |
openai/o3-pro | Responses | 200,000 | 100,000 | $20.00 | $80.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/o3-pro-2025-06-10 | Responses | 200,000 | 100,000 | $20.00 | $80.00 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/o4-mini | Chat | 200,000 | 100,000 | $1.10 | $4.40 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/o4-mini-2025-04-16 | Chat | 200,000 | 100,000 | $1.10 | $4.40 | tools, vision, reasoning, prompt caching, structured output, web search, PDF input | |
openai/o4-mini-deep-research | Responses | 200,000 | 100,000 | $2.00 | $8.00 | vision, reasoning, prompt caching, PDF input | |
openai/o4-mini-deep-research-2025-06-26 | Responses | 200,000 | 100,000 | $2.00 | $8.00 | vision, reasoning, prompt caching, PDF input | |
openai/omni-moderation-2024-09-26 | Moderation | 32,768 | 0 | $0 | $0 | ||
openai/omni-moderation-latest | Moderation | 32,768 | 0 | $0 | $0 | ||
openai/container | Chat | ||||||
openai/sora-2 | Video | ||||||
openai/sora-2-pro | Video | ||||||
openai/sora-2-pro-high-res | Video | ||||||
openai/sora-2 | Video | ||||||
openai/sora-2-pro | Video | ||||||
openai/sora-2-pro-high-res | Video | ||||||
openai/standard/1024-x-1024/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/standard/1024-x-1024/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/standard/1024-x-1536/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/standard/1024-x-1536/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/standard/1536-x-1024/gpt-image-1.5 | Image generation | vision, PDF input | |||||
openai/standard/1536-x-1024/gpt-image-1.5-2025-12-16 | Image generation | vision, PDF input | |||||
openai/text-embedding-3-large | Embedding | 8,191 | $0.13 | $0 | |||
openai/text-embedding-3-small | Embedding | 8,191 | $0.02 | $0 | |||
openai/text-embedding-ada-002 | Embedding | 8,191 | $0.1 | $0 | |||
openai/text-embedding-ada-002-v2 | Embedding | 8,191 | $0.1 | $0 | |||
openai/tts-1 | Text to speech | $15 per 1M characters | |||||
openai/tts-1-1106 | Text to speech | $15 per 1M characters | |||||
openai/tts-1-hd | Text to speech | $30 per 1M characters | |||||
openai/tts-1-hd-1106 | Text to speech | $30 per 1M characters | |||||
openai/whisper-1 | Transcription | $0.0001 per input second, $0.0001 per output second |