Topping up by QRIS
- Sign up and open the console.
- Choose Top-up, enter an amount from Rp 50,000 and pick QRIS.
- Scan the QRIS code with your bank or e-wallet app and pay.
- The balance is added automatically once paid; the console page updates on its own.
QRIS is Bank Indonesia's national QR code standard, so it can be paid from any bank or e-wallet app that supports QRIS. For large amounts (above Rp 10 million per transaction), use bank transfer by virtual account.
Code example: Python
from openai import OpenAI
client = OpenAI(base_url="https://api.macloudai.com/v1", api_key="sk-...")
r = client.chat.completions.create(
model="gem-3.8-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(r.choices[0].message.content)
Code example: Node.js
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.macloudai.com/v1", apiKey: process.env.API_KEY });
const r = await client.chat.completions.create({
model: "gem-3.8-flash",
messages: [{ role: "user", content: "Hello" }],
});
console.log(r.choices[0].message.content);
Example: curl with streaming
curl https://api.macloudai.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gem-3.8-flash", "messages": [{"role": "user", "content": "Hello"}], "stream": true}'
Setup in tools that use the OpenAI format
| Tool | What to fill in |
|---|---|
| Cursor | Settings → Models: enter the OpenAI API Key, turn on Override OpenAI Base URL with https://api.macloudai.com/v1, then add the model name. |
| LobeChat | Settings → Language model → OpenAI: API key and API proxy URL https://api.macloudai.com/v1. |
| Cherry Studio | Model service → add, type OpenAI, API Host https://api.macloudai.com, then add the model name. |
One key for many models
One API key can call GPT, Claude, Gemini, DeepSeek and other models. Just change model in the request; there is no separate account or key per AI company. Every model's name and price is on the models page.
Frequently asked questions
Q1Can I pay for the OpenAI API by QRIS?
Yes, through MaCloud AI. Top up a Rupiah balance by QRIS, then use the OpenAI-format API as usual with the base URL https://api.macloudai.com/v1.
Q2Can every bank app scan the QRIS code?
QRIS is Bank Indonesia's national standard, so any bank or e-wallet app that supports QRIS can pay it.
Q3Does the balance expire?
No. The balance does not expire while the account is active and only goes down with token usage.
Q4Is streaming supported?
Yes. Add stream: true to the request, as with the OpenAI API.