§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": "tt-5.6-luna", "messages": [{"role": "user", "content": "Halo"}]}'
from openai import OpenAI
client = OpenAI(
base_url="https://api.macloudai.com/v1",
api_key="sk-...",
)
r = client.chat.completions.create(
model="tt-5.6-luna",
messages=[{"role": "user", "content": "Hi! Who are you?"}],
)
print(r.choices[0].message.content)
Model name: tt-5.6-lunaFull docs →
§02
What it costs, roughly
Estimated from the prices above. Actual charges follow each call's tokens.
| 1 chat2.000 in + 800 out | Rp 13 |
| 100 chats200.000 in + 80.000 out | Rp 1.300 |
| Read 1 million tokens (≈ 1,500 pages of text)1.000.000 in | Rp 1.851 |
| A minimum Rp 50.000 top-up coversestimated per chat | ≈ 3.846 chats |
§03
Other OpenAI models
- TT-6 LunaRp 2.365 / Rp 11.824
- TT-6.1 TerraRp 1.614 / Rp 8.070
- TT-6.1 SolRp 3.228 / Rp 16.139
- TT-6 AstraRp 16.751 / Rp 83.753
- TT-5.6 SolRp 11.943 / Rp 71.660
- TT-5.5Rp 14.929 / Rp 83.604
- TT-5.4Rp 24.185 / Rp 144.873
- TT-6 SolRp 3.350 / Rp 16.751
§04
FAQ
Q1How much does the TT-5.6 Luna API cost?
Input Rp 1.851 and output Rp 11.704 per 1 million tokens. A typical chat costs about Rp 13.
Q2How do I use TT-5.6 Luna 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 tt-5.6-luna.
Q3Do I need a credit card?
No. You pay in Rupiah by QRIS or bank transfer. That is the whole point of this service.