Skip to content
allitBeta
  • Models
  • UBIA
  • Chat
  • Hub
  • Studio
  • Pricing
  • API
  • Privacy
    • $ALL
    • WIT
    • Auction
    • Staking
Connect walletTry free
allitBeta
  • Models
  • UBIA
  • Chat
  • Hub
  • Studio
  • Pricing
  • API
  • Privacy

Token

  • $ALL
  • WIT
  • Auction
  • Staking
Try freeConnect wallet
Docs / Errors
  • Getting started

    • Allwit docs
    • Wallet sign-in
  • $ALL token

    • $ALL token
    • Launch auction
    • Staking
    • Buyback and burn
  • WIT credits

    • WIT credits
    • The daily allowance
    • Buy WIT credits
    • Pricing and spending
  • Platform

    • Privacy and labels
    • Models
    • Hub
    • Agent Studio
  • API

    • Developer API
    • Authentication
    • Models and pricing
    • Chat completions
    • Images
    • Transcriptions
    • Speech
    • Videos
    • Errors
    • Rate limits
  • Reference

    • Parameters
    • Risks and disclaimer
  • Community

    • X
Docs
  • Getting started

    • Allwit docs
    • Wallet sign-in
  • $ALL token

    • $ALL token
    • Launch auction
    • Staking
    • Buyback and burn
  • WIT credits

    • WIT credits
    • The daily allowance
    • Buy WIT credits
    • Pricing and spending
  • Platform

    • Privacy and labels
    • Models
    • Hub
    • Agent Studio
  • API

    • Developer API
    • Authentication
    • Models and pricing
    • Chat completions
    • Images
    • Transcriptions
    • Speech
    • Videos
    • Errors
    • Rate limits
  • Reference

    • Parameters
    • Risks and disclaimer
  • Community

    • X

API

Errors

The error body every endpoint returns, and what each code means.

The error body

Errors use OpenAI's shape, so SDKs raise their usual exceptions. `param` names the offending field when there is one; `code` is stable and is what to branch on. Messages never echo your request.

json
{
  "error": {
    "message": "Not enough WIT. This request reserves 12 WIT and the wallet has 3 available. …",
    "type": "insufficient_quota",
    "param": null,
    "code": "insufficient_wit"
  }
}

Codes

Status`type``code`Meaning
400`invalid_request_error``invalid_request`The body failed validation; `param` names the field.
400`invalid_request_error``unsupported`A feature Allwit does not offer, such as `response_format: "url"`, non-text content parts, or a model of the wrong modality.
400`invalid_request_error``content_policy_violation`Blocked by Allwit's content moderation before routing. Nothing was charged.
400`invalid_request_error``provider_refused`The model provider refused the request. Nothing was charged.
401`authentication_error``missing_api_key` / `invalid_api_key`No key, an unknown key, or a revoked key.
402`insufficient_quota``insufficient_wit`The wallet cannot cover the estimate. Nothing was reserved. Buy WIT at /app/wit.
404`invalid_request_error``model_not_found`No such model id; see `GET /models`.
413`invalid_request_error``payload_too_large`The body or audio file is over the limit.
429`rate_limit_error``rate_limit_exceeded`Your key's requests per minute are used up. `Retry-After` says when to retry.
429`rate_limit_error``model_busy`The provider is rate-limiting this model. `Retry-After` set. Nothing was charged.
502`server_error``provider_unavailable`The provider could not be reached. Nothing was charged.
503`server_error``ledger_unavailable`WIT accounting is unavailable; retry shortly.
500`server_error``internal_error`Something else failed. Any reservation was returned.

During a stream, a failure after the first byte arrives as a final `data: {"error": …}` event with the same `error` object, followed by `[DONE]`; the reservation is released.

PreviousVideosNext Rate limits

On this page

  1. The error body
  2. Codes
allit

Intelligence, open to everyone. One gateway to every AI model.

  • Allwit on X

© 2026 Allwit

Product

  • Models
  • Chat
  • Hub
  • Agent Studio
  • Pricing
  • UBIA

Developers

  • API
  • Docs
  • Whitepaper

Token

  • $ALL
  • WIT
  • Auction
  • Staking

Legal

  • Privacy
  • Terms
  • Cookies
  • Cookie settings

    Allwit uses no advertising or analytics cookies. Here is what it keeps in this browser.

    Strictly necessary

    The sign-in cookie and your chat history. Needed for Allwit to work.

    Always on

    Remember your light or dark theme on this device.

    Analytics and advertising cookies

    None. Page views are counted without cookies by analytics Allwit hosts itself, which stores nothing in your browser and never sees your wallet address. No advertising.

    No cookies

    Chat history

    Conversations saved in this browser. Deleting them here does not touch any encrypted copies you chose to sync. Manage encrypted history sync

    Read the cookie policy