§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": "deepseek-v4.1-flash", "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="deepseek-v4.1-flash",
messages=[{"role": "user", "content": "Hi! Who are you?"}],
)
print(r.choices[0].message.content)
Model name: deepseek-v4.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 out | Rp 12 |
| 100 chats200.000 in + 80.000 out | Rp 1.200 |
| Read 1 million tokens (≈ 1,500 pages of text)1.000.000 in | Rp 2.389 |
| A minimum Rp 50.000 top-up coversestimated per chat | ≈ 4.166 chats |
§03
Other DeepSeek models
- DS-V4-ProRp 12.541 / Rp 25.081
- DS-V4-FlashRp 2.986 / Rp 5.972
- DS-V4-Flash-Vision-ExpRp 8.958 / Rp 26.873
- DS-V4-Pro-0813Rp 26.873 / Rp 80.618
- DS-V4-Flash-0731Rp 5.673 / Rp 16.124
§04
FAQ
Q1How much does the DS-V4.1-Flash API cost?
Input Rp 2.389 and output Rp 9.555 per 1 million tokens. A typical chat costs about Rp 12.
Q2How do I use DS-V4.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 deepseek-v4.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.