Roar AI
Get started
OpenAI

OpenAI API

Access OpenAI’s GPT, image, audio and embedding models through Roar AI, with published rates, usage controls and one bill for every model.

Build with the OpenAI SDK or the REST API, and reach OpenAI and over 200 other AI models from one account.

These are API prices for building with OpenAI models, billed by what you use. They are not the price of a ChatGPT plan.

OpenAI API models and pricing

Compare every OpenAI model’s rates, context window, and cached, batch and long-context rates where it has them. Image, audio and embedding models are priced in their own units.

ModelInput / 1MOutput / 1MContextBest forProcessed in
$10$501.05MHard maths, science and agent tasksGlobal
Cached input$1$12.50 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$5$25Results within 24 hours, for work nobody is waiting on.
Long requests$20$75Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6 Astra
$8$401.05MHard science and mathsGlobal
Cached input$0.40$10 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$4$20Results within 24 hours, for work nobody is waiting on.
Long requests$16$60Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6.2 Astra
$4$201.05MLong coding tasksGlobal
Cached input$0.40$5 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$2$10Results within 24 hours, for work nobody is waiting on.
Long requests$8$30Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-5.6 Sol
$2$101.05MEveryday work and agentsGlobal
Cached input$0.10$2.50 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$1$5Results within 24 hours, for work nobody is waiting on.
Long requests$4$15Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6.2 Sol
$2$101.05MProduction coding agentsGlobal
Cached input$0.10$2.50 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$1$5Results within 24 hours, for work nobody is waiting on.
Long requests$4$15Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6.1 Sol
$2$101.05MProducts already built on GPT-6 SolGlobal
Cached input$0.20$2.50 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$1$5Results within 24 hours, for work nobody is waiting on.
Long requests$4$15Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6 Sol
$1.75$14400KTerminal coding agentsGlobal
Cached input$0.175—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Everything about GPT-5.3-Codex
$1$51.05MComputer use and writing at scaleGlobal
Cached input$0.05$1.25 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$0.50$2.50Results within 24 hours, for work nobody is waiting on.
Long requests$2$7.50Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6.1 Terra
$0.20$1.201.05MHigh-volume extractionGlobal
Cached input$0.02$0.25 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$0.10$0.60Results within 24 hours, for work nobody is waiting on.
Long requests$0.40$1.80Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-5.6 Luna
$0.20$1.25400KClassification and tagging at scaleGlobal
Cached input$0.02—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$0.10$0.625Results within 24 hours, for work nobody is waiting on.
Everything about GPT-5.4 nano
$0.195$0.78131KMaths, science and logicGlobal
Cached input$0.0975—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Everything about gpt-oss-120b
$0.10$0.501.05MHigh-volume extraction and routingGlobal
Cached input$0.01$0.125 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Batch$0.05$0.25Results within 24 hours, for work nobody is waiting on.
Long requests$0.20$0.75Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6 Luna
$0.091$0.325131KQuick reasoning stepsGlobal
Standard rates only. Everything about gpt-oss-20b
$15
characters
——Real-time voice repliesGlobal
Standard rates only. Everything about TTS-1
$14.4444
audio seconds
——Transcripts and captionsGlobal
Standard rates only. Everything about Whisper large-v3-turbo
$5$30—Fast images at volumeGlobal
Standard rates only. Everything about GPT Image 2.6 Flare
$5$30—Detailed images and precise editsGlobal
Standard rates only. Everything about GPT Image 2.6 Sunburst
$5$30—Large images and edits, until FebruaryGlobal
Standard rates only. Everything about GPT Image 2
$5$30—Everyday images at volumeGlobal
Standard rates only. Everything about GPT Image 2.5 Flare
$5$30—Precise edits and premium visualsGlobal
Standard rates only. Everything about GPT Image 2.5 Sunburst
$0.13—8KMultilingual search and retrievalGlobal
Batch$0.065FreeResults within 24 hours, for work nobody is waiting on.
Everything about text-embedding-3-large
$0.02—8KLow-cost search and retrievalGlobal
Batch$0.01FreeResults within 24 hours, for work nobody is waiting on.
Everything about text-embedding-3-small

Per million tokens, in US dollars, unless a row names another unit. API usage is separate from ChatGPT subscriptions. Compare them for your own usage with the token calculator.

Which OpenAI model should you use?

OpenAI’s models cover a wide range of work, from low-cost text processing to advanced reasoning, image generation and speech. Start from the job, then compare two or three candidates on your own requests.

A general-purpose choice for coding, writing, analysis and assistants that need a balance of capability and cost.

Advanced maths, science and the hardest problems, where capability matters more than speed or price.

Production coding agents, professional documents and spreadsheet work.

Agents that operate software, and writing at volume, for less than Sol.

A lower-cost option for sorting, extracting and routing at volume, with a million-token context.

Classifying, tagging and ranking large volumes of text.

Vectors for semantic search and retrieval over your own documents, including languages other than English.

Transcripts and captions from speech in 99 languages, Sinhala and Tamil among them.

Images, GIFs and SVGs from a text prompt, and edits to your own, at volume.

Why access OpenAI through Roar AI?

Roar AI is one platform for calling and managing AI models from OpenAI, Anthropic, Google, DeepSeek and other labs.

OpenAI SDK compatibility

Use the OpenAI SDKs with the Responses and Chat Completions APIs, and the image, audio and embedding endpoints, by pointing them at Roar AI.

One account across AI labs

Reach OpenAI, Anthropic, Google, DeepSeek and others without keeping a separate account with each.

Published rates

Compare standard, cached, batch and long-context rates before you choose a model.

Usage and billing in one place

Follow usage across models, apps and teams, on one monthly invoice.

Spending controls

Give each app or team its own key, with a spend limit, so no single key can run up a bill.

How to use the OpenAI API

Getting started takes three steps:

  1. Create a Roar AI account and generate an API key.
  2. Point your SDK at the Roar AI API address.
  3. Choose a OpenAI model and make your first request.

Roar AI serves both the Responses API and Chat Completions for chat models, plus the image, audio and embedding endpoints for the models that use them.

Some features differ from calling OpenAI directly. Web search works and is charged per search on top of tokens; other built-in tools, such as file search and code interpreter, are refused with a clear error rather than ignored, so check the documentation before you move an existing integration.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.roar-ai.com/v1",
    api_key=os.environ["ROAR_API_KEY"],
)

response = client.responses.create(
    model="gpt-6.2-sol",
    input="Summarise this contract in plain English.",
)
print(response.output_text)

Read the API documentation.

How OpenAI API pricing works

GPT models are billed by the tokens they process. Input is your instructions, conversation history and any other context; output is what the model writes back, including any reasoning it does first.

Repeated input can be billed at a lower cached rate, and batch processing costs less for work that can wait. Some models charge a higher rate once a request passes a set length. Image, speech and embedding models have their own units, shown in the table above.

To estimate a monthly bill, start from your request volume, the average input and output length and how much reasoning the model does. A rate alone does not tell you what a finished task costs.

OpenAI API vs ChatGPT subscriptions

A ChatGPT subscription is for people using the ChatGPT app. The OpenAI API is for building OpenAI’s models into your own applications and automated workflows, billed by what you use.

A ChatGPT Plus, Pro or business subscription is not needed to use OpenAI models through Roar AI, and API usage is billed separately.

Where are OpenAI API requests processed?

OpenAI models are processed on international infrastructure. Your requests enter through the Roar AI gateway nearest you; the rest of the way, the route is the one we chose for each model, and it stays the same from call to call.

Frequently asked questions

Can I use the OpenAI API through Roar AI?

Yes. Every OpenAI model listed on this page is available through Roar AI’s API, on the same key as every other model on the platform.

How is OpenAI usage billed?

At the published rate per model, on one monthly invoice together with any other models your team uses. The rate does not move with what a provider charges us.

Do I need a separate account with OpenAI?

No. One Roar AI key reaches every OpenAI model listed here, so there is no separate OpenAI account to set up.

Where are OpenAI requests processed?

OpenAI models are processed on international infrastructure. Your requests enter through the Roar AI gateway nearest you.

How do I get an OpenAI API key through Roar AI?

Create a Roar AI account and generate an API key from your dashboard, then use it with the Roar AI address. It is a Roar AI key, not one issued by OpenAI, and it reaches every other model on Roar AI too.

How much does the OpenAI API cost?

It depends on the model, its billing unit and how much you use. The table on this page shows Roar AI’s current rates, including cached, batch and long-context rates where they apply.

What is the cheapest OpenAI model?

For straightforward text work, compare the smaller GPT models such as GPT-6 Luna and GPT-5.4 nano. Which costs least depends on your input and output volume, how much reasoning it does and how often it gets the task right.

Do I need a ChatGPT subscription?

No. API access and ChatGPT subscriptions are separate products, and a Roar AI account and key are all you need to call OpenAI’s models.

Does Roar AI support the OpenAI Responses API?

Yes, alongside Chat Completions. Which tools, stored state and parameters work depends on the model; web search is charged per search, and the other built-in tools are refused with a clear error. The API reference has the details.

Can I move an existing OpenAI SDK integration?

Yes, for the endpoints and models Roar AI serves. Change the base URL, the key and, if needed, the model ID, then test the parameters and features your application relies on.

Can I use OpenAI’s image, audio and embedding models?

Yes. They are listed in the table with their own billing units. Call each through its own endpoint: images, audio or embeddings.

Is Roar AI cheaper than calling OpenAI directly?

Roar AI publishes its own rate for every model. Compare it with OpenAI’s current rate for the model and units you use; there is no single answer for every model.

Can I set spending limits?

Yes. Each Roar AI key can carry a spend limit, and usage is shown per key, model and app.

Start building with OpenAI

Use OpenAI’s models alongside every other lab’s, with published rates and usage in one place.