Docs / API

Errors & limits

Errors use the standard OpenAI JSON shape, so existing SDK error handling works unchanged. This page lists what the API actually returns and what the serverless API serves today.

The error shape

{
  "error": {
    "message": "a human-readable description",
    "type": "...",
    "param": null,
    "code": "..."
  }
}

Status codes

StatusMeaningWhat to do
400Validation error — malformed JSON, unknown field, or a bad parameter valueFix the request; error.message names the problem
401Unauthorized — missing or invalid keyCheck the Authorization: Bearer header and your key
402insufficient_quota — the account's token allowance and balance are used upTop up in Usage & Billing, then retry the same request
403scope_denied — the key exists but is not allowed this model or endpointCheck the key's scope under API keys, or create one for this use
413context_length_exceeded — the input is larger than the model's contextShorten the prompt or the history; the limit is in the table below
429rate_limited / too_busy — your key's rate or the model's concurrency was hitWait briefly and retry; spread bursts out over time
503model_not_hot — the model is not loaded right nowRetry with backoff

503 model_not_hot

The model is not loaded right now — retry with backoff. The condition is temporary; your request itself is fine.

HTTP/2 503
{
  "error": {
    "message": "The model for this role is not loaded. Retry with backoff.",
    "code": "model_not_hot"
  }
}
Python
import time

for wait in (1, 2, 4, 8, 16):
    try:
        r = client.chat.completions.create(model="qwen3.8-27b-nvfp4", messages=messages)
        break
    except openai.InternalServerError as e:   # SDK surfaces 503 here
        time.sleep(wait)

Limits

The serverless API serves:

Context window262,144 tokens (chat model)
ConcurrencyUp to 4 concurrent sequences on the chat model

Under concurrent load requests queue; latency grows before anything fails. There are no hidden quotas — this table is the whole list.

If you need committed throughput — reserved concurrency, your own dedicated system, a specific model held hot — rent a dedicated DGX Spark from €0.55/hour, or Request deployment for a system AxForge operates for you.

Anything unclear on this page?

Ask on the forum — the answer helps the next person too.

Ask about this page
© 2026 AxForge · EU-hosted AI infrastructure Docs Models For AI axforge.ai Pricing Trust Acceptable use Community guidelines