DEV Community

Cover image for OpenAI's Decisions API Is a Cheap Way to Stop Overpaying for Yes-or-No Questions
Mango Developer
Mango Developer

Posted on Originally published at mangodeveloper.com

OpenAI's Decisions API Is a Cheap Way to Stop Overpaying for Yes-or-No Questions

#ai

Most of the AI calls inside a real product are boring. Is this support ticket about billing? Which of four queues should it go to? Does this image contain a face? Should the agent keep going or stop? You are paying a general-purpose model to write a paragraph when all you wanted was a single answer.

OpenAI's Decisions API is built for exactly that gap. It went generally available on October 22, and if you run anything that classifies, routes or scores at volume, it deserves an afternoon of testing. I'd also keep my skepticism switched on, because most of the numbers below come from OpenAI.

What it is

OpenAI describes the problem plainly in its announcement: applications and agents make many small decisions throughout a workflow, such as how to classify an input, where to route a request or which action to take next. Individually they are simple. At scale, latency and cost add up.

The Decisions API is built with GPT-6 Luna and focuses on questions with bounded answers. It takes text, images and structured inputs, and OpenAI says it makes decisions up to 10x faster than GPT-6 Luna through the Responses API. That 10x figure is OpenAI's own, and I haven't seen independent testing, so treat it as a claim to verify against your own workload.

In practice you send a request to POST /v1/decisions, per OpenAI's developer guide. The model parameter currently accepts only gpt-6-luna. You define a question and the answers it's allowed to give, and the API returns one of three typed results: a probability that a statement is true, a choice from a fixed set, or a score against a rubric.

What changed since the beta

The beta started on October 6, according to OpenAI's developer community post. At general availability OpenAI lists a few additions: a native GPT-Live integration, prompt caching for reused context and inference residency in the US and EU. Developers can also pass native JSON inputs and include images in question instructions.

The headline quota change is that each request can now carry up to 400 questions, up from 200 in public beta, per OpenAI's changelog. That matters if you grade many criteria on one document, because you pay for the shared input once instead of once per question.

The pricing, and the fine print

Here's the pricing as OpenAI's guide states it. With gpt-6-luna, uncached input costs $0.10 per million tokens. Cached input costs $0.01 per million tokens. Output tokens aren't charged. That's the number that grabs attention, and it's why this API is cheaper than asking a chat model to emit an answer plus an explanation.

Two caveats from the documentation. Cache writes are charged. And regional processing premiums and long-context input multipliers still apply, according to the coverage of OpenAI's guide on Unite.AI and WebProNews. Frontier Now adds that the beta docs said there were no cache-read, cache-write or output charges, so the cost structure changed at GA even though the headline input price didn't.

So your real bill depends on how much context you reuse, where you run inference and how long your inputs are. Do the arithmetic with your own traffic before you promise anyone a saving.

Abstract rendering of a brain glowing over a circuit board, representing AI inference hardware

Expand

Abstract rendering of a brain glowing over a circuit board, representing AI inference hardware

Where I would use it

The best fit is anything with a small, stable answer space and a lot of volume. A few examples from OpenAI's own framing and the coverage I read: routing a ticket to a queue, picking the next step for an agent, classifying content and prioritizing work.

One customer example in the coverage is Box, which reports about 5x faster route selection on 30 certificate-of-insurance cases, with the same accuracy as the Responses API. That's a customer quote relayed on OpenAI's page, from a small sample. It's a nice proof of concept, not a benchmark.

I'd also use it as a gatekeeper. A cheap decision call can decide whether a request needs a heavier model at all. That pattern, using a small fast model to route to a bigger one, is something teams have been building by hand for a while. A dedicated endpoint makes it cleaner.

Laptop on a desk showing lines of code next to a monitor and a coffee cup

Expand

Laptop on a desk showing lines of code next to a monitor and a coffee cup

Where I wouldn't

Anything open-ended. If the answer needs reasoning you want to read, a nuanced explanation or a long output, a chat model is still the right tool. The Decisions API gives you a probability, a choice or a score, and nothing else.

I'd also be careful with high-stakes calls. A probability from a model isn't a legal determination or a medical one. If a wrong answer costs real money or harms a person, keep a human in the loop and log the model's output so you can audit it later.

And the lock-in question is real. Only gpt-6-luna is supported today, so you're tied to one model on one vendor. If you've been following the broader picture, OpenAI's models also became available through Google Cloud recently, which we covered in our look at GPT-6 on Google Cloud's Model Garden. That helps on the procurement side, but the Decisions endpoint is OpenAI's own design.

A small test plan

If I were trying this next week, I'd keep it small and measurable.

  1. Pick one existing classification or routing step that currently uses a chat model, preferably one with labeled historical examples.
  2. Rebuild it as a Decisions call with a fixed answer set, and run both side by side on a few hundred real inputs.
  3. Compare accuracy, latency and cost per thousand decisions, beyond the headline price.
  4. Reuse context where you can, so prompt caching has a chance to show up in the bill.
  5. Keep the old path as a fallback until the numbers hold up for a couple of weeks.

That plan doesn't need a rewrite, and it gives you your own evidence instead of a vendor's.

What this says about where AI APIs are heading

I find the product direction more interesting than the product. The first wave of LLM APIs sold one big capability and let developers figure out the use. Now vendors are carving out narrow endpoints for the jobs developers actually repeat, and pricing them like infrastructure. A decision call that bills only for input tokens looks a lot more like a database query than a chat.

That trend is good for builders. It lowers the cost of putting a model in a hot path. It also raises a design question: if a call is cheap and fast enough to run on every event, you may start sprinkling model judgments across your system. That can be powerful and it can be a mess. Log every decision, version your questions, and treat them like code.

Should you care?

If you run classification or routing at scale, yes, test it this week. If you mostly use chat models for writing and analysis, you can skip it. Either way, I'd wait for independent speed and accuracy numbers before rewriting anything important.

We haven't tested the Decisions API ourselves. This post is based on OpenAI's announcement and developer documentation plus the coverage cited above.

Frequently Asked Questions

When did the Decisions API become generally available?

OpenAI made it generally available on October 22, 2026, after a public beta that began on October 6.

How much does the Decisions API cost?

OpenAI lists $0.10 per million uncached input tokens and $0.01 per million cached input tokens with no output-token charge. Cache writes, regional premiums and long-context multipliers can apply.

Which model does it use?

Only gpt-6-luna is supported at the moment, according to OpenAI's developer guide.

How many questions can one request carry?

Up to 400, doubled from 200 in the public beta, per OpenAI's changelog.


Originally published on Mango Developer.

Top comments (0)