AI Evaluation

Verdict — Comparing AI Decision APIs

Experiments comparing decision accuracy, failures, latency, and cost when AI APIs choose from the same allowed answers.

research decision-apis llm-evaluation python

Verdict is a small, independent research project I’m doing on my own, without a lab affiliation or supervisor. I’m comparing how dedicated decision APIs perform on the same labeled tasks. These APIs choose from a fixed list of answers: which intent a request belongs to, which route to take, or which action to select. I want to understand their trade-offs before relying on them in an application.

I built a Python evaluation harness to send the same tasks to each API, save observations, and compare accuracy, failures, latency, and cost. The repository also includes a router SDK, saved results pages, and a local playground. The research findings come from recorded experiments, separate from the playground’s demo outputs.

First experiment: BANKING77

On October 8, 2026, I completed a balanced exploratory comparison of OpenAI Decisions, Jev Direct, Clef, and Clef Flash. Clef and Flash were accessed through OpenRouter.

I sampled two banking requests from each of BANKING77’s 77 intent labels: 154 messages and 616 API attempts. Every API received the same shared label definitions and all 77 possible answers. Failed attempts stayed in the results and were not retried for replacement answers.

APICorrect / attemptedAccuracyFailuresMedian latency
OpenAI Decisions122 / 15479.22%1538 ms
Jev Direct127 / 15482.47%0762 ms
Clef via OpenRouter146 / 15494.81%01,432 ms
Clef Flash via OpenRouter145 / 15494.16%2831 ms

Accuracy counts failures as incorrect. Median latency covers valid responses and includes network and gateway overhead from my machine in Bangladesh; scheduling waits are excluded.

Clef and Flash had the highest observed accuracy, differing by one correct answer. OpenAI had the lowest median latency. Jev had the lowest provider-reported charge. Cost comparisons need care: OpenAI’s figure is an input-token estimate, and Flash’s total remains unknown because two failures returned no billing information. The full report includes the labeled costs and billing coverage.

What the results can tell us

This is one exploratory banking sample, with only two messages per intent. The sample design followed an earlier run, and 12 selected messages had been attempted before; earlier outputs were not reused or pooled. These results do not establish a universal winner or production reliability.

My next research direction is another domain or a repeated experiment to check how well the findings hold up.

Code and write-up

BANKING77: Casanueva et al., Efficient Intent Detection with Dual Sentence Encoders (2020). Dataset license: CC-BY-4.0. The experiment uses the pinned authors’ dataset revision.