OpenAI's Decisions API on GPT-6 Luna, through the gateway. Not chat: send an input (text, or user messages with text and base64 images) plus typed questions - predicate (probability a condition is true), choice (one of your options with per-option probabilities) or score (a position on your ordered levels) - and get one typed answer per question with confidence. Roughly 10x faster than a Responses call and billed on input tokens only.
Test this model instantly in the Console Playground — no code required
Copy usage instructions for Claude, ChatGPT, or other AI
| Token Type | Credits | USD Equivalent |
|---|---|---|
| Input Tokens | 186 | $0.12 |
| Output Tokens | No charge — billed on input tokens only | |
* 1,500 credits ≈ $1 (actual charges may vary based on usage)
curl -X POST "https://api.core.today/llm/openai/v1/decisions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "gpt-6-luna-decisions",
"input": "I was charged twice for my order and support has not replied for 3 days.",
"questions": [
{
"type": "predicate",
"name": "is_urgent",
"instructions": "Does this message convey urgency?"
},
{
"type": "choice",
"name": "department",
"instructions": "Which department should handle this complaint?",
"choices": [
{
"value": "billing",
"description": "Payments, invoices, and refunds."
},
{
"value": "technical",
"description": "Problems using the product."
},
{
"value": "other",
"description": "Requests outside these categories."
}
]
},
{
"type": "score",
"name": "severity",
"instructions": "How severe is this issue for the customer?",
"levels": [
{
"label": "Minor",
"description": "Inconvenience only."
},
{
"label": "Significant",
"description": "Money or access affected."
},
{
"label": "Critical",
"description": "Blocked with no workaround."
}
]
}
]
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | gpt-6-luna-decisions | gpt-6-luna-decisions (catalog id) or gpt-6-luna - the gateway bills the Decisions row either way and sends gpt-6-luna upstream. |
input | string | message[] | Yes | - | The evidence shared by every question: a text string, or user messages whose content holds input_text and input_image parts (images as data:image/...;base64 URLs). |
questions | array | Yes | - | Array of questions, each with a unique name, a type and instructions. choice adds choices [{value, description}], score adds ordered levels [{label, description}] from lowest to highest. Answers come back under the same names. |
A predicate, a choice and a score in one call
curl -X POST "https://api.core.today/llm/openai/v1/decisions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "gpt-6-luna-decisions",
"input": "I was charged twice for my order and support has not replied for 3 days.",
"questions": [
{
"type": "predicate",
"name": "is_urgent",
"instructions": "Does this message convey urgency?"
},
{
"type": "choice",
"name": "department",
"instructions": "Which department should handle this complaint?",
"choices": [
{
"value": "billing",
"description": "Payments, invoices, and refunds."
},
{
"value": "technical",
"description": "Problems using the product."
},
{
"value": "other",
"description": "Requests outside these categories."
}
]
},
{
"type": "score",
"name": "severity",
"instructions": "How severe is this issue for the customer?",
"levels": [
{
"label": "Minor",
"description": "Inconvenience only."
},
{
"label": "Significant",
"description": "Money or access affected."
},
{
"label": "Critical",
"description": "Blocked with no workaround."
}
]
}
]
}'Image input as a base64 data URL plus a predicate question
curl -X POST "https://api.core.today/llm/openai/v1/decisions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer cdt_your_api_key" \
-d '{
"model": "gpt-6-luna-decisions",
"input": [
{
"role": "user",
"content": [
{
"type": "input_text",
"text": "Inspect the product in this photo."
},
{
"type": "input_image",
"image_url": "data:image/png;base64,<BASE64>"
}
]
}
],
"questions": [
{
"type": "predicate",
"name": "visible_damage",
"instructions": "Does the product have visible damage, such as a crack, tear, or dent? Ignore shadows and damage to the packaging."
}
]
}'POST /llm/openai/v1/decisions