DecisionsApi · Decision models for your application

Decisions APIClassify, score, and route with AI.

Turn customer messages, agent context, and source evidence into decisions your code can use. Compare GPT-6 Luna, Jev, and other models in the playground, then connect your workflow through one API.

Structured answersMultiple questions at onceProbabilities included

Illustrative example

No credits used

Customer message

“I was charged twice this morning. Please refund the duplicate payment today.”

One input → structured decisions

Choice

Billing

Route to the billing queue

Yes / no

96%

Probability of an urgent request

Score

2.8 / 3

Urgency on a 0–3 scale

Static illustration of the output format. Values are not a live model response or a measure of accuracy.

01 / Workbench

Try Decisions API with your own data

Try OpenAI Decisions API with GPT-6 Luna, or choose another decision model. Edit the input, define typed questions, and inspect the results before connecting the workflow to your backend.

Live requests require sign-in and use your available account credits.

Workbench

What do you want to decide?

Choose a scenario to load editable input and rules. Loading an example uses no credits.

Examples load into the current draft only; no configurations or run history are saved.

State

Give the selected model the context shared by every question.

Text

All questions share this context and are answered independently.

Questions

Define up to eight typed questions for the same state.

3 / 8

3. Run decision

Run the decision request.

Result preview

Subject: Charged twice again!! Hi — this is the SECOND month in a row I've been billed twice for the Pro plan. I already emailed last month and nobody replied. I run my whole business on this. If it's not refunded today I'm cancelling and disputing the charge with my bank.

↓One input → multiple structured decisions

Click “Generate decisions” to see typed output with probabilities.

Results are returned in a structured format so you can connect them to your application logic.

Understand the API

What is a Decisions API?

A decisions API evaluates context against questions you define and returns a category, a score, or a probability for a yes-or-no condition. Your application uses those results to route a request, prioritize work, or choose an agent’s next step.

For a message about a duplicate charge, ask which team should handle it, how urgent it is, and whether a person should review it. The same input can produce three separate signals for your support workflow.

Read the Decisions API guide

Which API approach fits your task?

Decisions API

Choose when the answer is a known category, an ordered score, or a focused yes-or-no judgment.

Example: route a ticket to billing.

Structured Outputs

Choose when you need a generated response shaped by your own JSON schema, including extracted fields or written explanations.

Example: extract invoice details into an object.

Function calling

Choose when the model needs to request a tool and supply its arguments. Your application runs the tool and returns the result.

Example: look up an order by its ID.

Compare the approaches and see when to combine them

02 / How it works

How does Decisions API work?

Send the relevant context, define the questions, inspect the answers, and map them to your application’s next step. The same workflow can handle support triage, model routing, or answer review.

01

Supply context

Provide a message, policy, record, or the application state the decision actually needs.

state = ticket.text
02

Define the question

Name the decision and its allowed answers, scale, or yes-and-no criteria.

questions = { intent, urgent }
03

Inspect the result

Read the typed answer, probability signals, model, usage, and request details together.

answer = result.answers.route
04

Choose the next step

Route, score, block, or request human review using the rules your application owns.

if result.urgent: escalate()

03 / Start from a real task

What can you build with Decisions API?

Start with a decision your product already makes. Define the possible outcomes and test real inputs before connecting the result to an action.

01

How do I classify support tickets?

Use Choice to select billing, technical support, or account help. Add a Score for urgency and a yes-or-no question for human review, so one message can inform the queue, priority, and escalation path.

Explore support ticket triage
02

How does an agent choose its next tool?

Define the allowed next steps: search, look up a record, call a model, or ask a person. Use the selected route to dispatch the request, and check permissions before executing the action.

Explore model and tool routing
03

Is an AI answer supported by its sources?

Provide a claim and the relevant source passages. Classify the evidence as supporting, contradicting, or insufficient, then send unsupported answers for review.

Explore evidence checks

04 / Understand the output

Which output type should you use?

This platform exposes Choice, Score, and Noul question types. Check the selected model’s supported types; OpenAI’s direct API calls its yes-or-no type predicate.

Choice · Pick a category

Define distinct labels such as billing, technical, and other. Map the selected label to a queue, a filter, or an agent’s next step.

Score · Set a priority

Define ordered levels with clear criteria, such as routine, urgent, and critical. Use the returned score to rank requests or flag replies for review.

Noul · Check a condition

Ask whether a request needs human review or a passage supports a claim. Compare the returned probability with a threshold tested on your own examples.

Designed for developers

How do I add Decisions API to my app?

Create a platform API key, choose a model, and send state plus questions to /v1/systemone from your backend. The example uses GPT-6 Luna through this platform. Its endpoint, model ID, and request format belong to this service; direct OpenAI requests use /v1/decisions.

Explore API docs
REST-ready
Structured responses
Manageable API keys

POST /v1/systemone

Platform API · Server-side JavaScript · GPT-6 Luna

POST /v1/systemone
const response = await fetch(
  "https://decisionapi.net/v1/systemone",
  {
    method: "POST",
    headers: {
      "Authorization": `Bearer ${DECISIONS_API_KEY}`,
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      model: "openai/gpt-6-luna-decisions",
      state: ticket,
      questions: {
        route: {
          type: "choice",
          instructions: "Choose the support queue for this ticket.",
          criteria
        }
      }
    })
  }
);

05 / Understand the service

How do I start testing and estimate usage?

Testing credits included

Create an account, check your available testing credits, and try real classification and scoring cases before choosing a credit pack.

One wallet for every live call

Use the same credit balance across the playground, API, and evaluation workflows. Credits from purchased packs do not expire.

Usage you can inspect

Review request history and credit activity, and use request identifiers to connect API calls with their usage records.

Decisions API pricing and credit packs

Measure credit usage with representative requests, then choose a one-time pack. Credits pay for GPT-6 Luna, Jev, and other calls made through this platform, separately from direct OpenAI billing.

One-time plans do not auto-renew or require a long-term subscription; the $10, $100, and $1,000 tiers include credits that remain available after purchase.

Starter

$10

Validate one real workflow, from the playground to your first API call

  • 100,000 credits, no expiry
  • 1 workspace
  • 3 concurrent requests
  • Standard speed
  • Choice, score, and noul questions
  • Typed decision output
  • Probability and confidence results
  • Online playground
  • API key management
  • Email support
Recommended

Pro

$100

Connect classification, routing, and safety decisions to a production product

  • 1,000,000 credits, no expiry
  • Unlimited workspaces
  • 10 concurrent requests
  • Fast lane
  • Choice, score, and noul questions
  • Typed decision output
  • Parallel questions per request
  • API access
  • Usage and request history
  • Priority support

Enterprise

$1,000

For multiple workspaces, team collaboration, and custom production integrations, with 10% extra credits

  • 11,000,000 credits (10% extra included)
  • Everything in Pro
  • Unlimited concurrency
  • Dedicated fast lane
  • Team workspaces and collaboration
  • Custom integration support
  • Security and permission guidance
  • Dedicated support
  • Priority production processing
  • Product roadmap feedback

Compare before you ship

How do I choose between GPT-6 Luna, Jev, and other models?

Use the same human-labeled cases to compare mistakes, human-review rates, response times, and credits used. Include clear, ambiguous, and unusual inputs, then choose the model that fits your workflow.

Decision qualityResponse speedCost per decision
Explore model comparisons

Jev

Typed choices, scores, and yes–no decisions

01

Laya

English and multilingual decision workflows

02

Kev, Solar, and Span

Additional models for comparison and evaluation

03

OpenAI Decisions API

GPT-6 Luna for structured decision workflows

04

Decisions API: questions before you integrate

Practical answers about use cases, model selection, integration, confidence, and billing.

What is Decisions API used for?

Use a decisions API for classification, scoring, routing, and yes-or-no judgments over context. Typical tasks include assigning a support team, ranking urgent tickets, choosing an agent’s next tool, and checking whether a claim has supporting evidence. Your application maps the returned signals to its own actions.

How is Decisions API different from asking an LLM for JSON?

A JSON prompt asks for a format; Structured Outputs can enforce a supported JSON schema. Decisions API focuses on specific answer types such as a choice, score, or condition probability. If you need extracted fields or generated explanations, structured generation may already fit. Compare decision quality, latency, and cost on the same inputs before switching.

Does Decisions API replace function calling?

They can work together. A decision can select a route such as search, lookup, or human review. Function calling lets a model request a tool with arguments. Your application still validates the request, executes the tool, and handles the result.

Can one request classify a ticket, score urgency, and flag human review?

Yes, when the selected model supports the required question types. Give each question a separate ID and share the ticket in state. This platform accepts 1–8 questions per request and a JSON request body up to 32 KiB. Read each answer by its question ID and apply your routing rules.

Can I use Decisions API to check AI answers against sources?

Pass the answer or claim together with the relevant source passages, and define supporting, contradicting, and insufficient-evidence labels. The result evaluates the evidence you supplied; it does not establish that the sources are true or complete. Review uncertain cases and test the labels against human judgments.

Which models can I compare, including alternatives to GPT-6 Luna?

The platform’s model directory includes GPT-6 Luna Decisions, Jev, Laya, Kev, Solar, and Span. Supported question types and provider availability vary. Test the same labeled examples across compatible models and compare mistakes, review rates, latency, and usage before choosing one.

What should I include in state?

Include the message or record, relevant business rules, and evidence needed for these questions. A ticket classifier might need the customer’s message and team definitions; an evidence check needs the claim and source passages. Leave unrelated conversation out and keep the complete request within the platform’s size limit.

Is confidence an accuracy guarantee?

No. Probability and confidence are model signals; their definitions can differ by model and answer type. Use labeled examples to see how each signal relates to correct decisions, then choose thresholds that reflect the cost of mistakes. Keep a review path for ambiguous cases and measure its workload alongside accuracy.

How do I call Decisions API from Python or JavaScript?

Create a platform API key, store it on your server, and POST model, state, and questions to /v1/systemone with a Bearer token. For Luna, the platform model ID is openai/gpt-6-luna-decisions. The playground provides Python and JavaScript request examples; the API docs explain the response envelope, limits, and errors.

Can I try it before buying a credit pack?

Create an account and use any testing credits granted to your account to run representative examples in the playground. Live playground and API calls use your platform credit balance. Check your available balance and the selected model before running a larger evaluation.

How much would 10,000 decisions per day cost?

The request count alone is not enough: context length, questions, and actual usage affect consumption. Run a representative sample and divide credits used by completed requests, then multiply by your expected volume and include retries. Check the current credit packs on the pricing page. Platform credits and any direct OpenAI billing are separate.

Is this the official OpenAI Decisions API website?

This is an independently operated platform for accessing and comparing decision models. Use this platform’s API key with /v1/systemone. Direct OpenAI integration uses an OpenAI API key with /v1/decisions and the official request schema. OpenAI documents Decisions API as a public beta; provider availability and your account’s limits should be checked before production use.