Roar AI
Mulai gratis
OpenAI

OpenAI API in Indonesia

Use OpenAI models through Roar AI without a separate OpenAI account. Prices are shown in rupiah, and API usage draws from the same credit balance as your other models.

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 in Indonesian rupiah

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
Rp 185,000Rp 925,0001.05MHard maths, science and agent tasksGlobal
Cached inputRp 18,500Rp 231,250 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 92,500Rp 462,500Results within 24 hours, for work nobody is waiting on.
Long requestsRp 370,000Rp 1,387,500Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6 Astra
Rp 148,000Rp 740,0001.05MHard science and mathsGlobal
Cached inputRp 7,400Rp 185,000 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 74,000Rp 370,000Results within 24 hours, for work nobody is waiting on.
Long requestsRp 296,000Rp 1,110,000Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6.2 Astra
Rp 74,000Rp 370,0001.05MLong coding tasksGlobal
Cached inputRp 7,400Rp 92,500 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 37,000Rp 185,000Results within 24 hours, for work nobody is waiting on.
Long requestsRp 148,000Rp 555,000Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-5.6 Sol
Rp 37,000Rp 185,0001.05MEveryday work and agentsGlobal
Cached inputRp 1,850Rp 46,250 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 18,500Rp 92,500Results within 24 hours, for work nobody is waiting on.
Long requestsRp 74,000Rp 277,500Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6.2 Sol
Rp 37,000Rp 185,0001.05MProduction coding agentsGlobal
Cached inputRp 1,850Rp 46,250 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 18,500Rp 92,500Results within 24 hours, for work nobody is waiting on.
Long requestsRp 74,000Rp 277,500Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6.1 Sol
Rp 37,000Rp 185,0001.05MProducts already built on GPT-6 SolGlobal
Cached inputRp 3,700Rp 46,250 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 18,500Rp 92,500Results within 24 hours, for work nobody is waiting on.
Long requestsRp 74,000Rp 277,500Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6 Sol
Rp 32,375Rp 259,000400KTerminal coding agentsGlobal
Cached inputRp 3,238—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Everything about GPT-5.3-Codex
Rp 18,500Rp 92,5001.05MComputer use and writing at scaleGlobal
Cached inputRp 925Rp 23,125 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 9,250Rp 46,250Results within 24 hours, for work nobody is waiting on.
Long requestsRp 37,000Rp 138,750Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6.1 Terra
Rp 3,700Rp 22,2001.05MHigh-volume extractionGlobal
Cached inputRp 370Rp 4,625 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 1,850Rp 11,100Results within 24 hours, for work nobody is waiting on.
Long requestsRp 7,400Rp 33,300Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-5.6 Luna
Rp 3,700Rp 23,125400KClassification and tagging at scaleGlobal
Cached inputRp 370—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 1,850Rp 11,563Results within 24 hours, for work nobody is waiting on.
Everything about GPT-5.4 nano
Rp 3,608Rp 14,430131KMaths, science and logicGlobal
Cached inputRp 1,804—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
Everything about gpt-oss-120b
Rp 1,850Rp 9,2501.05MHigh-volume extraction and routingGlobal
Cached inputRp 185Rp 2,313 to write—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 925Rp 4,625Results within 24 hours, for work nobody is waiting on.
Long requestsRp 3,700Rp 13,875Above 272,000 input tokens, the whole request is billed at these rates.
Everything about GPT-6 Luna
Rp 1,684Rp 6,013131KQuick reasoning stepsGlobal
Standard rates only. Everything about gpt-oss-20b
Rp 277,500
characters
——Real-time voice repliesGlobal
Standard rates only. Everything about TTS-1
Rp 267,222
audio seconds
——Transcripts and captionsGlobal
Standard rates only. Everything about Whisper large-v3-turbo
Rp 92,500Rp 555,000—Fast images at volumeGlobal
Standard rates only. Everything about GPT Image 2.6 Flare
Rp 92,500Rp 555,000—Detailed images and precise editsGlobal
Standard rates only. Everything about GPT Image 2.6 Sunburst
Rp 92,500Rp 555,000—Large images and edits, until FebruaryGlobal
Standard rates only. Everything about GPT Image 2
Rp 92,500Rp 555,000—Everyday images at volumeGlobal
Standard rates only. Everything about GPT Image 2.5 Flare
Rp 92,500Rp 555,000—Precise edits and premium visualsGlobal
Standard rates only. Everything about GPT Image 2.5 Sunburst
Rp 2,405—8KMultilingual search and retrievalGlobal
BatchRp 1,203FreeResults within 24 hours, for work nobody is waiting on.
Everything about text-embedding-3-large
Rp 370—8KLow-cost search and retrievalGlobal
BatchRp 185FreeResults within 24 hours, for work nobody is waiting on.
Everything about text-embedding-3-small

The IDR conversion rate is set each month. The published rate for December 2026 also applies when you top up by card. API usage is separate from ChatGPT subscriptions. Compare them for your own usage with the token calculator, in US dollars.

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.

Prices in Indonesian rupiah

Every model has a published rate in Indonesian rupiah, including cached and batch rates where they exist.

Usage and billing in one place

Follow usage across models, apps and teams, paid from one credit balance topped up in IDR.

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 from Indonesia

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

Every rate is published in Indonesian rupiah, and the table above shows this month’s.

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, outside Indonesia. Requests from Indonesia enter through Roar AI’s Singapore gateway. The rest of the way, the route is the one we chose for each model, and it stays the same from call to call.

Pertanyaan umum

Can I use the OpenAI API from Indonesia?

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

Can I pay for the OpenAI API in rupiah?

Yes. Roar AI charges card top-ups in IDR at its published monthly rate, and usage draws from the same credit balance as your other models.

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.

Is the OpenAI API hosted in Indonesia?

No. OpenAI models are processed on international infrastructure, outside Indonesia. Requests from Indonesia enter through Roar AI’s Singapore gateway.

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.

OpenAI from Indonesia,
charged in Indonesian rupiah

Use one API key for OpenAI and other supported models, with usage paid from your IDR-funded credit balance.