Introduction
Submit policy documents, multi-clause listings, and support threads in state and define up to 64 independent questions for GPT-6 Luna Decisions using noul, choice, or score to receive structured answers keyed by your names.
| Field | Value |
|---|---|
| Input | Text |
| Output | Structured data |
| Publisher and model | OpenAI — GPT-6 Luna Decisions |
| Public API name | openai/gpt-6-luna-decisions/decision |
| State format | String, JSON object, or array |
| Answer types | noul, choice, score |
| Question cap | Up to 64 parallel |
| Token ceiling | 64k input tokens |
| Choice options | 1–255 named options |
| Score levels | 2–10 ordered levels |
| Measured probe | 1.66 s, 279 input tokens |
| Billing | Input tokens only |
Key features & highlights
High-accuracy multi-criteria judgment
Built for demanding classification, policy enforcement, and nuanced customer triage where calibrated probabilities reduce false escalations across complex documents.
Probabilities, choices, and rubrics from GPT-6 Luna Decisions
Ask GPT-6 Luna Decisions using noul for 0–1 yes probabilities, choice for 1–255 described options with confidence, or score for 2–10 weighted rubric levels with a returned legend.
Score policy documents in one pass
Send policy documents, multi-clause listings, and support threads once inside state and let GPT-6 Luna Decisions evaluate up to 64 independent questions in parallel so your application can branch without chaining prompts.
Calibrate GPT-6 Luna Decisions thresholds in code
Use GPT-6 Luna Decisions confidence and probability distributions to automate high-certainty decisions over policy documents, multi-clause listings, and support threads while escalating ambiguous items to a reviewer or generative model.
Request parameters
| Parameter | Required | Description |
|---|---|---|
questions | Yes | Map of 1–64 named questions for GPT-6 Luna Decisions, each specifying type (noul, choice, or score), instructions, and criteria (1–255 choice options or 2–10 score levels). |
state | Yes | Text, JSON object, or array holding policy documents, multi-clause listings, and support threads for GPT-6 Luna Decisions; every question reads this state independently. at least 1 characters |
Pricing
$0.000085 / 1,000 tokens
GPT-6 Luna Decisions bills per measured input token with free output tokens; the acceptance hold uses the 64k-token cap and releases the difference at settlement.
Use cases
Triage billing and refund tickets
Classify incoming customer messages by refund intent and tone so billing specialists receive clear priority queues without reading every thread.
Enforce marketplace and policy gates
Check product descriptions, claims, and structured metadata against multi-clause publishing rules in a single pass before content goes live.
Score support quality on a rubric
Grade closed conversations across ordered rubric levels for resolution completeness, tone, and policy adherence while flagging low-confidence items for audit.
Route multi-intent enterprise requests
Separate overlapping requests inside long emails or JSON payloads into independent routing signals your backend can combine deterministically.
Prompt guide & pro tips
Assemble the state payload
Place policy documents, multi-clause listings, and support threads in state as plain text, a JSON object, or an array containing every fact GPT-6 Luna Decisions needs.
Author typed questions
Add 1–64 named entries under questions for GPT-6 Luna Decisions, choosing noul, choice, or score with explicit instructions and criteria.
Invoke GPT-6 Luna Decisions
Send POST /api/v1/jobs/createTask?wait=30 with model set to openai/gpt-6-luna-decisions/decision and read output.decision, or poll recordInfo for completion.
Validate and route outputs
Benchmark GPT-6 Luna Decisions probabilities on labelled samples of policy documents, multi-clause listings, and support threads, route uncertain answers to review, and log inputTokens.
GPT-6 Luna Decisions API for typed decisions
GPT-6 Luna Decisions is OpenAI’s flagship structured decision model for high-accuracy multi-criteria classification, policy gating, and rubric scoring. Submit policy documents, multi-clause listings, and support threads in state with up to 64 named questions to receive noul probabilities, choice labels, and score rubrics.
Call GPT-6 Luna Decisions
Send POST /api/v1/jobs/createTask?wait=30 with model set to openai/gpt-6-luna-decisions/decision.
{
"model": "openai/gpt-6-luna-decisions/decision",
"input": {
"state": {
"listing_title": "Ceramic pour-over kettle",
"claim": "Keeps water warm for 4 hours, includes 2-year warranty."
},
"questions": {
"warranty_clear": {
"type": "noul",
"instructions": "Does the listing state an explicit warranty period?"
},
"compliance_tier": {
"type": "choice",
"instructions": "Assign listing review tier",
"criteria": {
"auto_approve": "Meets all catalog rules",
"manual_audit": "Needs specialist review"
}
}
}
}
}
Inspect GPT-6 Luna Decisions output
Completed GPT-6 Luna Decisions tasks populate output.decision.answers and output.decision.inputTokens (or poll recordInfo).
{
"output": {
"decision": {
"answers": {
"warranty_clear": {
"type": "noul",
"noul": 0.99
},
"compliance_tier": {
"type": "choice",
"choice": "auto_approve",
"confidence": 0.96
}
},
"inputTokens": 279
}
}
}
Input schema for GPT-6 Luna Decisions
state: String, JSON object, or array carrying policy documents, multi-clause listings, and support threads for GPT-6 Luna Decisions.questions: 1–64 keyed entries that GPT-6 Luna Decisions evaluates independently in parallel.type: Picknoul,choice, orscoredepending on the typed value your GPT-6 Luna Decisions caller expects.instructionsandcriteria: Clear wording plus optionaltrue/false, 1–255 options, or 2–10 ordered levels for GPT-6 Luna Decisions.
Billing and limits
GPT-6 Luna Decisions bills strictly on measured inputTokens (our 2-question probe took 1.66 s and 279 input tokens); output tokens are free. Stay within 64 questions and 64k text or JSON tokens, and route uncertain GPT-6 Luna Decisions results to review.
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "openai/gpt-6-luna-decisions/decision",
"input": {
"state": "example",
"questions": {
"example": {
"type": "noul",
"instructions": "The customer asks for a refund after being billed twice."
}
}
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.
