Roar AI
Mulai gratis
Google

Gemini API in Indonesia

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

Compare model pricing, manage usage and reach over 200 AI models from one account.

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

Gemini API models and pricing in Indonesian rupiah

Compare every Gemini model’s input and output rates, context window, and its cached, batch and priority rates where it has them.

ModelInput / 1MOutput / 1MContextBest forProcessed in
Rp 74,000Rp 370,0001.05MHard reasoning, agents and scienceGlobal
Cached inputRp 3,700—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.
PriorityRp 133,200Rp 666,000Faster service, for something a person is sitting in front of.
Everything about Gemini 4 Carbon
Rp 74,000Rp 370,0001.05MFinance, legal and research workGlobal
Cached inputRp 3,700—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.
PriorityRp 133,200Rp 666,000Faster service, for something a person is sitting in front of.
Everything about Gemini 4 Argon
Rp 55,500Rp 277,5001.05MFinance, legal and long documentsGlobal
Cached inputRp 2,775—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 27,750Rp 138,750Results within 24 hours, for work nobody is waiting on.
PriorityRp 99,900Rp 499,500Faster service, for something a person is sitting in front of.
Everything about Gemini 4 Neon
Rp 37,000Rp 222,0001.05MVideo, audio and long PDFsGlobal
Cached inputRp 3,700—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 18,500Rp 111,000Results within 24 hours, for work nobody is waiting on.
Long requestsRp 74,000Rp 333,000Above 200,000 input tokens, the whole request is billed at these rates.
Everything about Gemini 3.1 Pro
Rp 27,750Rp 138,7501.05MFast agents and high-volume workGlobal
BatchRp 13,875Rp 69,375Results within 24 hours, for work nobody is waiting on.
Everything about Gemini 4 Hydrogen
Rp 13,875Rp 69,3751.05MCoding agents at a mid-range priceGlobal
Cached inputRp 1,388—Repeat a long prompt prefix and those tokens bill at this rate. Automatic.
BatchRp 6,938Rp 34,688Results within 24 hours, for work nobody is waiting on.
Everything about Gemini 3.8 Flash

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 consumer Gemini subscriptions. Compare them for your own usage with the token calculator, in US dollars.

Which Gemini model should you use?

Gemini models differ in reasoning, speed, context length and cost. Choose by what your application reads and how hard the task is.

The hardest reasoning, agent and science work, where Argon falls short.

Finance, legal and long-document work, where the answer can wait for the thinking.

Long finance, legal and research work, where a wrong answer costs more than no answer.

Fast agents that take many steps, or carry out a plan a larger Gemini wrote.

Near-flagship coding at Flash speed, and large volumes of video, audio and PDFs.

Questions across video, audio, images and long PDFs at once, and abstract reasoning and science problems.

Why access Gemini through Roar AI?

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

OpenAI-compatible API

Call Gemini with the OpenAI SDK or plain HTTP, through the same address and key as every other model on Roar AI.

One account across AI labs

Use Gemini alongside Claude, GPT, DeepSeek and others without setting up an 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.

The right model for each job

Use a faster Gemini model for routine work and a stronger one where accuracy matters, and compare other labs’ models where they fit better.

How to use the Gemini 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 Gemini model and make your first request.

Roar AI serves Gemini through its OpenAI-compatible API, so you can use the OpenAI SDK or send requests over HTTP. It does not serve Google’s own Gen AI SDK format.

import os
from openai import OpenAI

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

reply = client.chat.completions.create(
    model="gemini-3.8-flash",
    messages=[{"role": "user", "content": "Summarise this contract in plain English."}],
)
print(reply.choices[0].message.content)

Read the API documentation.

How Gemini API pricing works

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

Gemini models are billed by the tokens they process. Images, audio and video are counted in tokens differently from text, so analysing a video does not cost the same as a text prompt of similar length.

Prompt caching lowers the cost of instructions or reference material you send repeatedly, and batch processing costs less for work that can wait. Some models also offer a priority tier, listed in the table.

For long documents, measure the tokens real documents use rather than assuming every request needs the largest context window, and send only the parts that matter where you can.

Gemini API vs the Gemini app

The Gemini app is for people talking to Google’s AI assistant. The Gemini API is for using the models inside your own software, workflows and services.

A paid Gemini subscription is not needed to use Gemini models through Roar AI, and API usage is billed separately.

Where are Gemini API requests processed?

Gemini 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 Gemini API from Indonesia?

Yes. Every Gemini 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 Gemini 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 Google?

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

Is the Gemini API hosted in Indonesia?

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

How do I get a Gemini 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 and a Gemini model ID. The key is issued by Roar AI, not Google.

How much does the Gemini API cost?

It depends on the model, the tokens you use and any pricing tier. The table on this page shows Roar AI’s current rates for every Gemini model.

What is the cheapest Gemini model?

The Flash models are the ones to compare for high-volume work. Check the table against your own mix of input and output rather than assuming one model is cheapest for every task.

Can I use the Google Gen AI SDK?

Not today. Roar AI serves Gemini through its OpenAI-compatible API, so use the OpenAI SDK or plain HTTP requests with a Gemini model ID.

Does Gemini read images, audio, video and PDFs?

Many Gemini models accept these inputs, but formats and limits depend on the model. Check the model’s own page and the API documentation before sending files.

Is the Gemini API free?

Gemini usage through Roar AI is billed at the published rates. A free tier Google offers directly does not apply to Roar AI usage.

Can I switch between Gemini and other labs’ models?

Yes. The same Roar AI key reaches every model, so switching is a change to the model name, allowing for differences in parameters and capabilities.

Gemini from Indonesia,
charged in Indonesian rupiah

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