Checking… OpenAI-compatible gateway
Daftar, dapat API key, pantau kuota per model.
User tidak perlu tahu key 9router. Setiap akun punya API key portal sendiri, kuota bulanan, dan dashboard pemakaian di profil.
Per-user keyPrefix at-… di portal
KuotaToken + request / bulan
OpenAI SDKDrop-in base_url
Cara pakai
1. Daftar di /register
2. Salin API key portal (at-...)
3. Panggil API:
from openai import OpenAI
client = OpenAI(
base_url="https://aitomatis.my.id/v1",
api_key="at-...",
)
r = client.chat.completions.create(
model="gcli/grok-4.5-high",
messages=[{"role":"user","content":"halo"}],
)
print(r.choices[0].message.content)
Kenapa AI Tomatis
Portal multi-user: register, API key sendiri, limit per akun, usage per model.
Key terisolasi
Key upstream 9router hanya di server. User hanya memegang key portal mereka sendiri.
Kuota per user
Default limit bulanan token & request. Habis → HTTP 429. Bisa diatur admin per akun.
Profil usage
Lihat model yang dipakai, token terpakai, sisa kuota, dan request terakhir.
Endpoint & model
Gunakan API key dari profil setelah daftar/login.
| Item | Value |
|---|---|
| Base URL | https://aitomatis.my.id/v1 |
| Chat | POST /v1/chat/completions |
| Models | GET /v1/models |
| Default model | gcli/grok-4.5-high |
| Auth | Authorization: Bearer at-… |
| Daftar | /register |
| Profil / kuota | /profile |