Skip to content

Dedicated endpoints

How to call a dedicated endpoint, what it returns when it can't serve you, and how its maintenance and model versions work.

A dedicated endpoint is one model running on GPUs reserved for your account under a signed Order Form. Each Order Form reserves GPUs in one region for a term and lists the models to run; each listed model gets its own endpoint. A model can be one we serve from our catalog, or a model you bring ("Bring your own model").

How it differs from serverless

  • A fixed monthly fee, never credit. The Order Form sets the fee. Calls to a dedicated endpoint never draw from your balance, never get a 402, and are never stopped by a spend limit.
  • No tier rate limits. The rate limits of your key and account (requests per minute, tokens per minute, concurrency) don't apply to a dedicated model ID, and dedicated calls don't count toward them. Only the endpoint's own request queue does.
  • A fixed model version. The endpoint runs the version you got it with until you ask for another. See Versions and rollbacks.
  • Usage is still reported. The console's Analytics lists dedicated requests under the endpoint's model ID, like any model. Billing's spend figures leave them out.

To ask for one, open Dedicated in the console and click Request a dedicated endpoint (admins of the account only). Our team follows up by email with a quote and the Order Form. Once the endpoint is ready, we email you, and it shows as Active in the console.

Model ID

Every endpoint has its own model ID:

dedicated/<account slug>/<endpoint name>

For example, dedicated/acme/deepseek-v3-2.

  • The account slug is set with your account's first endpoint and never changes, even if you rename the account.
  • The endpoint name is unique in your account, and a name is never reused, even after its endpoint ends.
  • Both are 3 to 40 lowercase letters, digits, and hyphens, starting with a letter and not ending with a hyphen.

Copy the model ID from the endpoint's How to call card in the console (Dedicated, then the endpoint). GET /v1/models also lists your account's dedicated model IDs while their endpoints are running. They don't appear on the Models page or in the Playground.

Call an endpoint

Send a Chat Completions request with the endpoint's model ID as model. Everything else is the same as for any model.

curl https://api.mangoboost.io/v1/chat/completions \
  -H "Authorization: Bearer $MANGOINFERENCE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dedicated/<account slug>/<endpoint name>",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mangoboost.io/v1",
    api_key="<your-api-key>",
)

resp = client.chat.completions.create(
    model="dedicated/<account slug>/<endpoint name>",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
  • Any API key of the account works. A key of another account gets 404, as if the model didn't exist.
  • Requests go only to your endpoint. They never fall back to serverless, even when the endpoint is full or paused.
  • The Anthropic-compatible /v1/messages isn't available on dedicated endpoints yet. Use /v1/chat/completions.

Errors

A call to a dedicated model ID is checked in this order, and the first check that fails is the answer you get:

Status Code When Message
403 (the key's usual code) The account is suspended or under legal hold See Account suspension
404 model_not_found The model ID isn't an endpoint of your key's account, or the endpoint has ended The model {model} does not exist or you do not have access to it.
403 model_not_allowed The key isn't allowed to use this model ID This key can't use {model}.
403 endpoint_paused We paused the endpoint This endpoint is paused: {reason}. Contact [email protected].
503 endpoint_not_ready The endpoint is still being set up This endpoint isn't ready yet.
429 rate_limited The endpoint's request queue is full This endpoint is at capacity. Try again shortly.

The body is the OpenAI-compatible error envelope described in Reliability and error handling, with the code in error.code; the error types are in its Dedicated endpoint errors and Model authorization errors tables. Every other error (an invalid key, a malformed request, a body over the size limit, an engine error) is the same as for any model; see that page's Error types and codes.

What to do:

  • 404 and 403: don't retry. Check the model ID and the key's account; for endpoint_paused, the message carries the reason, and the endpoint page in the console shows it too.
  • 503 endpoint_not_ready: the endpoint answers once we tell you it's ready. Retrying sooner won't help.
  • 429: retry with backoff. See Request queue and 429.

Request queue and 429

Each endpoint has a request queue size: the most requests it holds at once. A request counts from when it's sent to the endpoint until its response finishes (for a stream, until the stream ends), across all of our gateways. We set the size when we set the endpoint up; to change it, contact support.

When the queue is full, a new request gets 429 at once. Nothing waits in line on our side, and nothing overflows to serverless. The 429 carries these headers:

Header Value
Retry-After 1 (seconds). There is no window to wait out, only another request to finish.
X-RateLimit-Limit The endpoint's request queue size.
X-RateLimit-Remaining 0
X-RateLimit-Resource streams
X-RateLimit-Scope endpoint

To stay under it:

  • Cap your own concurrency below the queue size, and queue on your side.
  • Retry a 429 with exponential backoff and jitter, starting at Retry-After.
  • If you reach the limit regularly at the load you expect, the endpoint needs more GPUs. More GPUs are a new Order Form; contact support or your account manager.

Maintenance

Scheduled maintenance. When work on an order will interrupt its endpoints, we email every admin of your account and the Order Form's notices email at least 24 hours before it starts. Until the window ends, the order and its endpoints in the console show:

Scheduled maintenance on {date} at {time} UTC, about {duration}.

Calls can fail while the window lasts. Hold traffic for the window, or retry with backoff. If we cancel the maintenance, the notice goes away.

Emergency maintenance. When something can't wait 24 hours, we pause the endpoint without notice. Calls then get 403 endpoint_paused with the reason, and the endpoint page shows "This endpoint is paused: {reason}." Calls succeed again once we resume it.

Security fixes. For a catalog model, we apply a security fix during scheduled maintenance whose note says it is a security update, or, when it can't wait, at once (pausing the endpoint if it interrupts it). The fix shows in the endpoint's Version history as "Security fix".

Versions and rollbacks

An endpoint runs a fixed version: for a catalog model, the model's revision; for your own model, the version you sent us. It never changes unless you ask for it, apart from security fixes. The endpoint page in the console shows the current Version and, once the endpoint has served one, a Version history: one row per first deployment, update, rollback, and security fix, with the dates it served from and to.

Admins of the account can ask for a change on the endpoint page:

To How
Update a catalog model When our catalog has a newer revision, the endpoint shows "Latest version: {revision}". Click Request update.
Send a new version of your own model Click Send a new version, give it a version label new for the endpoint, and say where we can get the files (a Hugging Face repo and revision, or a download link). Leave that empty and we email you an upload link. The new version keeps the model's name, type, base model, and license; any other change is a different model on your Order Form.
Roll back In Version history, click Request this version on any row other than the current one.

How a request works:

  1. You can add a preferred time. It's a preference only: our team confirms the time by email.
  2. Until we deploy it, the endpoint keeps serving the current version, and the page shows the open request with Cancel. An endpoint has one open request at a time.
  3. We deploy the change and record it. The endpoint page then shows the new version, and Version history gets a row from that day. If the change interrupts the endpoint, we schedule maintenance for it first.
  4. If we can't make the change, we decline the request and the endpoint page shows our note.

You can cancel a request until we deploy or decline it.

For your own models: more than 2 new versions or rollbacks in a calendar month may be charged. First deployments don't count. Every version that isn't declined or cancelled stays stored while the endpoint runs, so you can roll back to it.

When an endpoint ends

An endpoint ends with its Order Form, or on its own when its model is taken off the Order Form. From then on its model ID returns 404 model_not_found. The console keeps showing it, read-only, for 90 days after it ends. For your own model, every copy of its files is deleted within 30 days of the end.