Quickstart

Make your first Merki request in under five minutes.

Quick path

  1. Create an account and top up credits. See Credits.
  2. Issue an API key and export it: export MERKI_API_KEY=<key>.
  3. Send a chat completion:
curl https://api.merki.dev/v1/chat/completions \
  -H "Authorization: Bearer $MERKI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "Qwen3-32B",
    "messages": [{"role": "user", "content": "Hello from Merki"}]
  }'

Expected result: a 200 response with a completion, and your credit balance drawn down at the model catalog rate. See Usage and metering.

Details

TopicDecision
Base URLhttps://api.merki.dev/v1 (OpenAI compatible). Anthropic shape: https://api.merki.dev/v1/messages.
AuthAuthorization: Bearer <key>. See Authentication.
Model namesUse the Model column of the catalog, for example Qwen3-32B, Kimi-K2, Llama-4-Scout.
Anthropic clientsPoint the SDK at https://api.merki.dev/v1/messages with a Merki key.

Checklist

  • [ ] Key is in an environment variable, not in source.
  • [ ] You can read your balance and this request in usage. See Usage.
  • [ ] Errors return a JSON shape you can handle. See Errors.

Next step

Pick a model for your workload: Models.