Reference

Limits and supported fields

Which OpenAI fields work, which are ignored or rejected, and the limits on each request.

View as Markdown

Request fields

FieldSupport
modelRequired. An id or model hash from GET /v1/models.
messagesRequired. Roles system, developer, user, assistant. Text content.
max_tokens1 to 32768, default 256. max_completion_tokens is an alias. It sizes the escrow.
streamText as the miner decodes it, see streaming.
providerMiner choice, see routing.
flopwait_for_settlement (default false), payer (grant or credit) to override the key's payer mode, and fallback_payer: "credit" to fall back to balance mode when the grant cannot serve a request.
temperature, top_p, seed, stop, penaltiesAccepted and ignored. Each model's decode policy is fixed on chain, so every miner answers the same way.
tools, tool_choice, functionsRejected with 400. Tool calls are not supported. Not live yet
n above 1Rejected with 400.
response_format, logprobsIgnored.
other fieldsIgnored, not rejected, so clients that send extra fields keep working.

Per request

  • One payment channel per request. Multi-turn chat sends the history each time.
  • A non-streaming call answers within a response deadline (85 s on this server); past it you get 202 and poll the session. See settlement.
  • The escrow has a maximum per request. Past it the request fails with escrow_limit.
  • The router has a daily spending cap for the sessions it pays. Past it requests fail with daily_cap_reached.

Per key

  • Rate limits apply per key. Past them the API answers 429.
  • In grant mode your grant's caps apply as well: total, per transaction, daily, and its expiry. The chain enforces them.

Not supported

  • Tool and function calling. Not live yet
  • Images, audio, embeddings, the Responses API and the legacy completions API.