DozzyWizard Docs

Search docs

Jump to a page

Quickstart

Send your first request in under a minute.

1. Pick a model

bash
curl https://api.dozzywizard.com/api/v1/models

Each entry has a modelId — that's what you'll pass as model below.

2. Send a message

bash
curl -X POST https://api.dozzywizard.com/api/v1/chat/completions \
  -H "Authorization: Bearer dw_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistralai/mistral-nemo",
    "messages": [{ "role": "user", "content": "Say hello in one word." }]
  }'

3. Read the response

json
{
  "id": "cmv1imrry0000w2j4fhko7x0z",
  "model": "mistralai/mistral-nemo",
  "message": { "role": "assistant", "content": "Hello!" },
  "usage": { "promptTokens": 16, "completionTokens": 3 },
  "cost": 0.0000026
}

cost is what was actually deducted from your wallet for this request, in USD — check it any time without a second request via Usage.

That's it — see the API Reference for the full request/response shape, including max_tokens and temperature.