OPENROUTER 60S QUICKSTART

Make your first `/v1/chat/completions` call in 60 seconds

Use your renter key with the OpenRouter-compatible endpoint, verify a successful JSON response, then move to production templates.

First call

Replace `YOUR_RENTER_KEY` then run this exact request.

curl https://api.dcp.sa/v1/chat/completions \
  -H "Authorization: Bearer YOUR_RENTER_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta-llama/Llama-3-8B-Instruct",
    "messages": [
      {"role": "user", "content": "Return a one-line hello from DCP."}
    ],
    "temperature": 0.2,
    "max_tokens": 64
  }'

Troubleshooting

Next step

Open full quickstart