Quickstart

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

1

Create your account

Sign up, then top up credit from your dashboard — pricing is usage-based, so you only pay for what you send.

2

Generate a key

From your keys page, create a token. Treat it like a password — anyone with it can spend your balance.

3

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.

ProtocolBase URLUsed by
OpenAI-compatiblehttps://sjetz.com/v1OpenAI SDK, most chat clients, Codex-style tools
Anthropic Messageshttps://sjetz.com/v1/messagesClaude Code, Anthropic SDK
Gemini-compatiblehttps://sjetz.com/v1betaGemini CLI, Google GenAI SDK
Trailing slashes matter. Some clients expect the bare base URL with no path suffix — if a graphical client asks only for a "server address," give it 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.

header
Authorization: Bearer sk-your-key-here

04Your first request

Three protocols, three shapes. Pick the one that matches your client.

OpenAI-compatible

curl
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
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
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

ClientProtocolTypical path
OpenAI SDK / most chat appsOpenAI-compatible/v1/chat/completions
Claude Code / Anthropic SDKAnthropic Messages/v1/messages
Gemini CLI / Google GenAI SDKGemini-compatible/v1beta/models/{model}:generateContent
Image / video generationOpenAI-compatible/v1/images/generations

06Common errors

StatusMeaningFix
401Missing or invalid keyCheck the Authorization header is a bearer token from your keys page
404Wrong base URL or path for the protocolMatch the table in section 2 to your client
429Rate limited or out of creditTop 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.