PARAS MADAN
All writing

Latest in AI

Alibaba Decision Model API: How to Route Support Tickets Without Trusting Raw Confidence

Use the stable System One endpoint, estimate token costs and set a human-review threshold on labeled tickets.

Alibaba listed the stable decision-model in Singapore on November 25. Instead of writing you a paragraph about a support ticket, it can produce a queue choice, an urgency signal and a severity score in one request.

That makes it easier to connect to a workflow. It does not tell you which mistakes your team can afford. I'd first use the API to suggest routes silently while keeping the current router in control.

Send one ticket and a few precise questions

The System One API uses POST /compatible-mode/v1/systemone on your workspace gateway, with documented endpoints for Singapore and Beijing. The stable model ID is decision-model, not the separate decision-model-preview. Supply a small business state and a keyed questions object.

Use choice for the queue, noul for yes/no, and score for an ordered impact scale. Give each queue criteria and include an other choice for evidence outside the labels. For example, make billing responsible for payment records, technical support for failures in product behavior, and other for unclear or mixed tickets. Don't ask an emergency question until you've spelled out which concrete facts count as urgent.

The response has an answers map. choice and score include confidence; noul returns the probability of yes as its value. The score can be fractional because it's a probability-weighted level index. Don't treat a 1.7 as a named severity or read the confidence as the selected label's probability.

Measure the threshold against errors you can describe

Build a small labeled set: duplicate charge, missing receipt, product bug, mixed billing and technical issue, and a ticket without enough detail. Include messy examples in the languages your team serves. Hold back a subset to test the threshold you choose.

Compare department error rates above and below several thresholds. Track where ambiguous tickets go, especially if a false urgent alert interrupts a person or sends work to a team that cannot resolve it. Pick a manual review rule based on those effects. Keep a human queue for the mixed example even when the tool can choose only one label.

Add screenshots only if they improve decisions

The stable model accepts image input over HTTP. The API documents up to four images per question and 16 per request; the named DashScope Python SDK 2.0.1 decision method does not expose the images parameter. Compare text-only routing first with screenshots added on cases where visual evidence might actually help. Use redacted or synthetic images and check what changed rather than sending every attachment by default.

Budget from observed input tokens

The stable model page lists $0.042 per million input tokens in both documented regions and 5,000 requests and 5 million tokens per minute. If 100,000 text tickets actually average 1,000 metered input tokens each, the listed model input cost is $4.20. That excludes application costs and human review, and it is not an estimate for image-heavy requests. Record usage.input_tokens and latency in the pilot. The API allows up to 16 questions and warns latency rises with question count.

Before switching queues, measure correct routes, manual work and avoidable escalations over the same ticket sample. A cheaper model call is of little use if your expensive team is now triaging the mistakes.

I help AI teams explain how their products work in practice. Book a 30-minute call.