Playground

Build a request.

Compose a chat completion and copy the snippet — curl, Python or JavaScript. Nothing is sent from here.

curl https://api.baserouter.dev/v1/chat/completions \
  -H "Authorization: Bearer $BASEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "claude-opus-4-8",
  "messages": [
    {
      "role": "user",
      "content": "Hello from BaseRouter"
    }
  ]
}'