Quickstart
sintaks.dev is an OpenAI-compatible AI API. You top up an IDR balance, create an API key, and call chat or image endpoints through one gateway.
sintaks.dev is developed by PT Trakk Digital Indonesia, the company behind trakk.id.
1. Create an account
Section titled “1. Create an account”Sign up at app.sintaks.dev and verify your email. An organization is created for you automatically.
2. Top up your balance
Section titled “2. Top up your balance”From the portal, create a top-up order in IDR (minimum Rp10.000) and pay it through iPaymu. QRIS, virtual accounts, and e-wallets are supported. A verified payment adds to your organization balance exactly once.
3. Create an API key
Section titled “3. Create an API key”In the portal under API keys, create a key. The raw key is shown once, store it somewhere safe. Only its SHA-256 hash is kept server-side.
4. Call the API
Section titled “4. Call the API”curl https://api.sintaks.dev/v1/chat/completions \ -H "Authorization: Bearer sk-..." \ -H "Content-Type: application/json" \ -d '{ "model": "claude-sonnet-5-5", "messages": [{"role": "user", "content": "Halo"}] }'Or point an OpenAI-compatible client at the gateway:
from openai import OpenAI
client = OpenAI( base_url="https://api.sintaks.dev/v1", api_key="sk-...",)resp = client.chat.completions.create( model="claude-sonnet-5-5", messages=[{"role": "user", "content": "Halo"}],)Embeddings
Section titled “Embeddings”Create vectors for semantic search with the OpenAI-compatible embeddings endpoint:
embedding = client.embeddings.create( model="qwen3-embedding-0-6b", input=["Serverless Postgres with sintaks.dev"], encoding_format="float",)print(len(embedding.data[0].embedding)) # 1024Responses and web search
Section titled “Responses and web search”Use the Responses API for Responses-only models and web-search tools:
curl https://api.sintaks.dev/v1/responses \ -H "Authorization: Bearer sk-..." \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-5-5-pro", "input": "What changed in PostgreSQL recently?", "tools": [{"type": "web_search_preview"}] }'Next steps
Section titled “Next steps”- Authentication: how API keys and sessions work.
- Pricing and balance: how reservation and settlement affect your balance.
- Errors: status codes and error shapes.