Skip to main content
Lists the models a session can run on, with an allowed flag for the caller’s plan. Ids from this list go in model on POST /message.

Request

Response

The list is longer than shown; the ids above are real.

Free plan

The free plan is limited to an allowlist; everything else is listed with allowed: false. Sending one of those returns 403 from POST /message with the allowed ids:
The allowlist is a server setting and can change; read allowed rather than hard-coding ids.

Gotchas

  • The model is per session and sticks until you pass a different one. You do not need to send model on every message.
  • costTier is relative. Credit charged for a task is shown in the portal.
  • Call this once when you need a specific model, not before every task.