Quick start
Key, top-up, first request — about two minutes.
- Sign up on the sign-up page, and verify your email address.
- Create an API key on the Keys page. The key starts with zs_live_ and you only see it in full once, so save it.
- Top up on the Credit page. With zero balance, requests fail with 402.
- Send a request: you only need to swap the base URL and the key.
First request
cURL
curl https://api.zsetonai.hu/v1/chat/completions \
-H "Authorization: Bearer $ZSETON_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "claude-haiku-4.5", "messages": [{"role": "user", "content": "Hi!"}]}'Python
from openai import OpenAI
client = OpenAI(base_url="https://api.zsetonai.hu/v1", api_key="zs_live_...")
res = client.chat.completions.create(
model="claude-haiku-4.5",
messages=[{"role": "user", "content": "Hi!"}],
)
print(res.choices[0].message.content)Keep the key in an environment variable (ZSETON_API_KEY) and never in version-controlled files. If it leaks, revoke it on the Keys page.
Models
Model list: GET https://api.zsetonai.hu/v1/models, or the Models page. Put exactly the ID shown there into the model field (e.g. claude-opus-4.6, gpt-5.4, glm-4.7, deepseek-v4-flash).
Savings protection
With the X-Min-Discount: 30 header you can require at least 30% off the list price. If none is available, you get an error instead of a more expensive run. You can also set a permanent minimum on the key on the Keys page.
Next
Agent quickstart →