§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": "kimi/kimi-k2.7-code-highspeed", "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="kimi/kimi-k2.7-code-highspeed",
messages=[{"role": "user", "content": "Hi! Who are you?"}],
)
print(r.choices[0].message.content)
Model name: kimi/kimi-k2.7-code-highspeedFull 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 413 |
| 100 chats200.000 in + 80.000 out | Rp 41.300 |
| Read 1 million tokens (≈ 1,500 pages of text)1.000.000 in | Rp 77.632 |
| A minimum Rp 50.000 top-up coversestimated per chat | ≈ 121 chats |
§03
Other Kimi models
- Kimi K3.1 ProRp 69.869 / Rp 365.467
- Kimi K3Rp 49.923 / Rp 249.616
- Kimi K2.6Rp 18.512 / Rp 66.883
- Kimi K2.7 CodeRp 18.512 / Rp 66.883
§04
FAQ
Q1How much does the Kimi K2.7 Code High-Speed API cost?
Input Rp 77.632 and output Rp 322.471 per 1 million tokens. A typical chat costs about Rp 413.
Q2How do I use Kimi K2.7 Code High-Speed 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 kimi/kimi-k2.7-code-highspeed.
Q3Do I need a credit card?
No. You pay in Rupiah by QRIS or bank transfer. That is the whole point of this service.