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

Create a text completion (legacy prompt format)

Credit meteringCaching

Authentication

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

Request bodyapplication/json

FieldTypeRequired
modelstringrequired
promptstringrequired
max_tokensintegeroptional
temperaturenumberoptional

Response200

{
  "id": "cmpl-abc123",
  "object": "text_completion",
  "model": "gpt-4o-mini",
  "choices": [
    {
      "text": " there!",
      "index": 0,
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 2,
    "completion_tokens": 2,
    "total_tokens": 4
  }
}

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