Roar AI
Mulai gratis
All models
Google · Chat

Gemini 3.1 Pro API di Indonesia

Gemini 3.1 Pro costs Rp 37,000 per million input tokens and Rp 222,000 per million output tokens on Roar AI, charged in Indonesian rupiah. Google’s Pro model: reads video, audio, images and PDFs in one million-token window.

InputRp 37,000per 1M tokens
OutputRp 222,000per 1M tokens
Context window1.05Mtokens

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

Gemini 3.1 Pro API pricing in IDR

InputRp 37,000 per 1M tokens
OutputRp 222,000 per 1M tokens
Cached inputRp 3,700 per 1M tokens
Batch inputRp 18,500 per 1M tokens
Batch outputRp 111,000 per 1M tokens
Input, long requestsRp 74,000 per 1M tokens
Output, long requestsRp 333,000 per 1M tokens

Above 200,000 input tokens, the whole request is billed at the long-request rates.

Example: 1,000 requests with 3,000 input and 1,000 output tokens each cost Rp 333,000. Every rate is published. See every model, or estimate a monthly bill with the token calculator, in US dollars.

Rates as of 1 December 2026. The IDR conversion rate is set each month. The published rate for December 2026 also applies when you top up by card.

Specs

Made byGoogle
ReleasedFebruary 2026
TypeChat
Context window1.05M tokens
Longest answer66K tokens
ReadsText, images, audio, video, PDFs
Thinks before answeringAlways on
WeightsClosed
Processed inGlobal
Model idgemini-3.1-pro

About Gemini 3.1 Pro

Gemini 3.1 Pro takes more kinds of input than any other model here: text, images, audio, video and PDFs, in a context of about a million tokens. Hand it an hour of meeting recording or a long scanned report and ask questions across all of it. It also reasons well, with 77.1% on ARC-AGI-2 at launch (more than double Gemini 3 Pro), and scored 80.6% on SWE-Bench Verified.

Google still labels it a preview, eight months on, which means it can change under you. Its knowledge stops in January 2025, the oldest of the frontier models here, and the newer Gemini Flash releases now beat it on some agent tests.

What is Gemini 3.1 Pro good for?

  • Questions across video, audio and long PDFs at once.
  • Abstract reasoning and science problems.
  • Understanding a large codebase in one pass.

Gemini 3.1 Pro limitations

  • Still a preview model, and Google warns it may change.
  • Its knowledge stops at January 2025.
  • Answers are capped at about 65K tokens, half what Claude and GPT-6 can write.

Using the Gemini 3.1 Pro API

Access Gemini 3.1 Pro through the Roar AI gateway with your Roar AI API key, and pay for usage from your IDR-funded credit balance. Requests from Indonesia enter through Roar AI’s Singapore gateway.

Use the OpenAI SDK you already have: point it at Roar AI and set the model name. Read the docs.

from openai import OpenAI

client = OpenAI(base_url="https://api.roar-ai.com/v1", api_key="roar_live_…")

reply = client.chat.completions.create(
    model="gemini-3.1-pro",
    messages=[{"role": "user", "content": "Summarise this contract in plain English."}],
)

Where is Gemini 3.1 Pro processed?

Gemini 3.1 Pro is a frontier model, and requests are processed on international infrastructure, outside Indonesia. The model directory says where each model is processed.

Gemini 3.1 Pro FAQ

Berapa biaya API Gemini 3.1 Pro?

Input is Rp 37,000 per 1M tokens; output is Rp 222,000 per 1M tokens. For example, 1,000 requests with 3,000 input and 1,000 output tokens each cost Rp 333,000. The IDR conversion rate is set each month. The published rate for December 2026 also applies when you top up by card.

Can I pay for Gemini 3.1 Pro in rupiah?

Yes. Roar AI charges card top-ups in IDR at its published monthly rate. Usage draws from the same credit balance as your other models. No separate Google account is needed.

Is Gemini 3.1 Pro open source?

No. Google does not publish the weights, so it is only available through an API like this one.

What is the context window of Gemini 3.1 Pro?

Gemini 3.1 Pro can read up to 1.05M tokens in one request, and write an answer of up to 66K tokens.

Can Gemini 3.1 Pro read images and PDFs?

Yes. Gemini 3.1 Pro reads images and PDFs directly.

Start using Gemini 3.1 Pro

Create a free account, get an API key and call Gemini 3.1 Pro with the OpenAI SDK. Top up your credits in rupiah.