Your first $5 becomes $15Get started
POST/v1/chat/completions

Create a chat completion (streaming or not)

GuardrailsPrompt templatesA/B testingCredit meteringCaching

Authentication

Send your virtual key as Authorization: Bearer sk-nemo-…. One key works across every model and modality.

Request bodyapplication/json

FieldTypeRequired
modelstringrequired
messagesarrayrequired
temperaturenumberoptional
max_tokensintegeroptional
nintegeroptional
streambooleanoptional
response_formatobjectoptional
toolsarrayoptional
tool_choiceobjectoptional

Response200

{
  "id": "chatcmpl-abc123",
  "object": "chat.completion",
  "model": "gpt-4o",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Hello!"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 9,
    "completion_tokens": 2,
    "total_tokens": 11
  }
}

Errors

StatusMeaning
400400 — Guardrail blocked the request
402402 — Not enough credits
429429 — one of: rate_limit_exceeded (RPM limit exceeded); tpm_limit_exceeded (TPM limit exceeded)
503503 — Credit system unavailable