AI ChatModelsPriceDocsGuides
MaCloud AI/Models/GEM 3.1 Flash
Google · gem-3.1-flash

GEM 3.1 Flash API, paid in Rupiah

Use GEM 3.1 Flash with one API key, charged per token from your balance. Top up by QRIS or bank transfer, no foreign credit card.

InputRp 776/ 1M tokens
OutputRp 4.658/ 1M tokens
≈ 1 chat*Rp 52.000 in + 800 out
Sign up free →
§01

Code sample

Replace sk-... with the API key from your console.

curl https://api.macloudai.com/v1/chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "gem-3.1-flash", "messages": [{"role": "user", "content": "Halo"}]}'
Model name: gem-3.1-flashFull docs →
§02

What it costs, roughly

Estimated from the prices above. Actual charges follow each call's tokens.

1 chat2.000 in + 800 outRp 5
100 chats200.000 in + 80.000 outRp 500
Read 1 million tokens (≈ 1,500 pages of text)1.000.000 inRp 776
A minimum Rp 50.000 top-up coversestimated per chat≈ 10.000 chats
§03

Other Google models

§04

FAQ

Q1How much does the GEM 3.1 Flash API cost?
Input Rp 776 and output Rp 4.658 per 1 million tokens. A typical chat costs about Rp 5.
Q2How do I use GEM 3.1 Flash in Indonesia?
Sign up, top up in Rupiah by QRIS or bank transfer, create an API key, set the base URL to https://api.macloudai.com/v1 and model to gem-3.1-flash.
Q3Do I need a credit card?
No. You pay in Rupiah by QRIS or bank transfer. That is the whole point of this service.