Skip to main content
unknown_model means a decision run set the optional model field to a value OpenType does not serve. Read this page if you pin a model id in your requests.

What happened

Route: POST /v1/runs with "kind": "decision". Decision runs accept an optional model field. OpenType serves one model, Neon 1.1, under two ids: The request named something else, such as a misspelled id or another vendor’s model name. The run was refused before it existed. Nothing was stored and nothing was charged.

How to fix

  • Set model to neon-1.1 or neon-latest, or leave it out.
  • Copy the id exactly as written here: neon-1.1 or neon-latest.
  • Send the corrected request. It was refused before a run existed, so you may keep the same Idempotency-Key.
A live decision response reports the model that answered in decision.model, which reads neon-1.1.

Example

The message text is not fixed. Branch on code.
A decision run that pins the model: