Get your API key and make your first request
sjetZ speaks the same protocols your tools already use. Pick the one your client expects, swap in a base URL, and you're routing through every model we support.
01Get an API key
Create your account
Sign up, then top up credit from your dashboard — pricing is usage-based, so you only pay for what you send.
Generate a key
From your keys page, create a token. Treat it like a password — anyone with it can spend your balance.
Pick a model
Browse what's available and its per-model rate on the live model list before you send your first real request.
02Base URLs
sjetZ exposes three protocol-compatible surfaces from the same account and the same balance. Use whichever matches the client or SDK you're already running.
| Protocol | Base URL | Used by |
|---|---|---|
| OpenAI-compatible | https://sjetz.com/v1 | OpenAI SDK, most chat clients, Codex-style tools |
| Anthropic Messages | https://sjetz.com/v1/messages | Claude Code, Anthropic SDK |
| Gemini-compatible | https://sjetz.com/v1beta | Gemini CLI, Google GenAI SDK |
https://sjetz.com and let it append the rest.03Authentication
Every request needs your key in the Authorization header as a bearer token. There's no separate signing step.
Authorization: Bearer sk-your-key-here
04Your first request
Three protocols, three shapes. Pick the one that matches your client.
OpenAI-compatible
curl https://sjetz.com/v1/chat/completions \ -H "Authorization: Bearer $SJETZ_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "gpt-4o", "messages": [{"role":"user","content":"Hello"}] }'
Anthropic Messages
curl https://sjetz.com/v1/messages \ -H "Authorization: Bearer $SJETZ_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "claude-opus", "max_tokens": 256, "messages": [{"role":"user","content":"Hello"}] }'
Gemini-compatible
curl "https://sjetz.com/v1beta/models/gemini-pro:generateContent" \ -H "Authorization: Bearer $SJETZ_API_KEY" \ -H "Content-Type: application/json" \ -d '{"contents":[{"parts":[{"text":"Hello"}]}]}'
05Which protocol for which tool
| Client | Protocol | Typical path |
|---|---|---|
| OpenAI SDK / most chat apps | OpenAI-compatible | /v1/chat/completions |
| Claude Code / Anthropic SDK | Anthropic Messages | /v1/messages |
| Gemini CLI / Google GenAI SDK | Gemini-compatible | /v1beta/models/{model}:generateContent |
| Image / video generation | OpenAI-compatible | /v1/images/generations |
06Common errors
| Status | Meaning | Fix |
|---|---|---|
| 401 | Missing or invalid key | Check the Authorization header is a bearer token from your keys page |
| 404 | Wrong base URL or path for the protocol | Match the table in section 2 to your client |
| 429 | Rate limited or out of credit | Top up, or check your per-key rate limit in the dashboard |
Still stuck? Full model list, live pricing, and rate limits per model are on the Model Square.