Quickstart

1. Create an account

Open /signup. You get a 24-character ID — that is the account. Save it.

2. Create a key

In API keys → Create key. Set a name, an optional cap in dollars, and the limits you want. Copy the key — it is shown once.

3. Call the API

curl http://167.254.242.38:3010/v1/chat/completions \
  -H "Authorization: Bearer $MAFIALLM_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.2","messages":[{"role":"user","content":"Ship it."}]}'

4. Read the stream

The response is text/event-stream: lines starting with data: carrying OpenAI chunks, terminated by data: [DONE].