Skip to content

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.

Sign up at app.sintaks.dev and verify your email. An organization is created for you automatically.

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.

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.

Terminal window
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"}],
)

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)) # 1024

Use the Responses API for Responses-only models and web-search tools:

Terminal window
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"}]
}'