All models
Decisions
openai/decisions
OpenAI
Quick start
# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
-H "content-type: application/json" \
-d '{
"model": "openai/decisions",
"input": "<value>",
"questions": ["https://example.com/input.jpg"]
}'
# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
-J '{"model": "openai/decisions", "input": "<value>", "questions": ["https://example.com/input.jpg"]}'Parameters
Input
input required
The evidence to judge: a string, or [{ role: "user", content: [{ type: "input_text", text } | { type: "input_image", image_url: "data:image/…" }] }]. Billed per input token; each image counts as 10k tokens.
questions array required
Up to 200 questions: [{ name, type: "predicate", instructions } | { name, type: "choice", instructions, choices: [{ value, description }] } | { name, type: "score", instructions, levels: [{ label, description }] }]. Answers come back as probabilities, a choice, or a level.
prompt_cache_key string optional
prompt_cache_options object optional
safety_identifier string optional
Output