Managed models

Generate a nonstreaming managed model message

Changed on

Requires a Nodus API key or console session and an account-qualified catalog model. No customer model-provider key is required. Send JSON without query parameters or Content-Encoding. New requests reserve prepaid Nodus credits under account spending limits before dispatch. The reservation covers the full qualified input window and requested output limit, so it can exceed the final charge. Unused credit is released after settlement. Model usage is billed separately from compute and saved storage. Every logical call requires a stable Idempotency-Key. Preserve the key and body after an uncertain response. An accepted replay returns 409 with the existing billing receipt and never executes again or replays the answer. A different body using the same key returns an idempotency conflict. Persist received answers in your application. Unknown outcomes retain reserved funds and do not authorize a new-key retry. This endpoint does not install agent harnesses or inject credentials into hosted workers.

post/v1/managed-models/messages

Request

  • Base URL
    / (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Headers

Idempotency-Keystring required

Stable identifier for one logical model call. Reuse the same key and exact body after an uncertain response. A retry never authorizes another paid model call.

Request body

modelstring required

Model ID returned by this account’s managed model catalog.

max_tokensinteger

Must not exceed max_output_tokens from the model catalog. Omission uses that catalog limit.

streamfalse

Only nonstreaming requests are admitted.

temperaturenumber

Native model sampling setting. Model-specific validation still applies.

top_pnumber
stop_sequencesstring[]
thinkingobject

Native reasoning configuration within the catalog output limit. Reasoning tokens count toward billed output.

metadataobject

Response

Model response received and its verified usage charge committed.

modelstring required

Model ID returned by this account’s managed model catalog.

usageobject required

Verified usage in the selected model’s native response format. Read the billing receipt for normalized counters and the settled charge.

Changes