Guide

Quickstart

First call in five minutes.

view as markdown

Three steps between you and a first reply. New accounts carry 50 free credits — enough to try chat, an image and a voice line before touching a card.

1

Get a key

Create an account and mint a key on the API keys page. The full key is shown once; we store only a hash.

# 1. Create a key at https://eroq.ai/dashboard/keys
export EROQ_API_KEY="eroq_sk_…"
2

Make your first call

What are you building?

curl https://eroq.ai/v1/chat/completions \
  -H "Authorization: Bearer $EROQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "eroq-rp-mini",
    "messages": [
      { "role": "system", "content": "You are Mira, a sardonic starship mechanic." },
      { "role": "user", "content": "The reactor is making that noise again." }
    ]
  }'

1 credit on RP mini — the economical tier for texting-style products.

3

Watch a call happen

No key yet? This replays a real exchange — request, engine latency, response, meter — without a single byte leaving the page.

/v1/chat/completions
→ POST /v1/chat/completions
Press run — this replays a real exchange from the docs' own data. No key, no request, no charge.
4

Go further

Swap the model id for eroq-rp-plus when quality matters. Budget rule of thumb: 1 credit ≈ one cent.