Documentation
LLM endpoints
View .mdOpenAPI

Reserve a hold for a run

PUThttps://weights.fyi/run/v1/endpoints/{endpoint}/reservations/{reservation}scope: submit
text
PUT https://weights.fyi/run/v1/endpoints/<endpoint>/reservations/<reservation>
Authorization: Bearer <token>                    scope: submit
Content-Type: application/json
Available since
Not available yet; built and locally tested on 2026-10-10, awaiting deployment.
Answer time
synchronous: the hold is recorded and its current state returned; preparing the model continues afterward.

Hold your existing endpoint for one scheduled run. Reuse the same run id and body on retries: one immutable reservation survives a lost answer. Your scheduler chooses when to request it; this call does not submit a prompt or a schedule.

Holds and wake-up are free, so zero ceilings are sufficient. Positive credit is required. The ceilings cover the reservation only; inference keeps its own token prices and spend controls. The hold does not reserve a chat concurrency slot. It is also not a ComputePlan: it queues no work and sets no money aside, unlike a plan's budget reservations (plan accounting).

Request

NameWhereRequiredMeaning
AuthorizationheaderyesBearer with submit.
endpointpathyesYour existing active endpoint.
reservationpathyesStable run id, at most 128 letters, digits, dots, underscores, colons or hyphens; start with a letter or digit.
profilebodyyesYour scheduler's profile label, with the same identifier rules.
untilbodyyesFuture ISO 8601 time with timezone, at most eight days ahead.
max_hourly_usd_micros, max_startup_usd_microsbodyyesInteger ceilings from zero through 2⁶³−1. The hold's charges are zero.

Return value

200 OK with the reservation state: run_id, profile, state, valid_until, the two zero charges, endpoint_id and model.

Errors

StatusCodeRemedy
400invalid_reservation, invalid_reservation_windowCorrect fields, types, identifier or time.
401, 403Authentication or scope refusalUse a current token with submit.
402no_creditAdd credit.
404endpoint_not_foundUse your endpoint's id.
409reservation_conflictPreserve an existing request; use a new id for new work. Released or expired ids stay closed.
409endpoint_releasedExplicitly reopen the endpoint before requesting new work.
413, 429Body or request limitReduce the body or wait as directed.

Examples

Set a future time in the body before sending:

sh
curl -s -X PUT https://weights.fyi/run/v1/endpoints/ENDPOINT_ID/reservations/RUN_ID \
  -H "Authorization: Bearer $WEIGHTS_API_KEY" -H "Content-Type: application/json" \
  -d '{"profile":"coding","until":"2026-10-11T04:30:00Z","max_hourly_usd_micros":0,"max_startup_usd_micros":0}'

History

  • 2026-10-10: free run-owned holds; local qualification, deployment pending.
  • 2026-11-16: listed the answer's fields and told a hold apart from a ComputePlan's budget reservations.

See also

Read the hold, release the hold, Prices.