Automatically route each request to the model and provider combination most likely to produce the most accurate result.
Not yet available.
Auto Exacto is OpenDunes' accuracy-first routing mode. Instead of you picking a model, you describe a task category and OpenDunes selects the highest-accuracy model available within your optional budget ceiling — factoring in live benchmark scores, provider reliability, and per-token DA cost.
Set model to the special value "opendunes/auto-exacto". OpenDunes evaluates the candidates from the full catalog against your constraints and routes to the one scored highest for accuracy on that task type.
The model field in the response tells you which model actually ran. The selection is deterministic for a given catalog snapshot — if catalog scores change, routing may change.
OpenDunes maintains an internal accuracy index per model, updated as providers report performance data. The index weighs:
You cannot inspect the raw scores directly, but you can see the current top-ranked model for a task type by calling GET /api/models?sort=accuracy (not yet available; ships alongside this feature).
To keep Auto Exacto within a DA spend per request, pass max_cost_da:
OpenDunes filters the candidate set to models whose estimated per-request cost (based on your message length and max_tokens) is at or below the ceiling, then picks the most accurate among those.
If no model fits within the ceiling, the request fails with 402 insufficient_credits and a message indicating the cheapest available model's estimated cost.
For better selection, pass a task hint in the routing object:
| Value | Optimizes for |
|---|---|
reasoning | Math, logic, proofs |
coding | Code generation and review |
writing | Long-form prose, summaries |
instruction | Following precise multi-step instructions |
multilingual | Arabic, French, English mixed content |
Auto Exacto routes to whichever model wins the selection — you pay that model's normal DA rate. The cost is not fixed. For predictable billing, combine max_cost_da with your budget, or use a specific model slug instead.
Note. Auto Exacto is distinct from the Exacto variant (
:exactosuffix on a specific model slug). Auto Exacto picks the model; the Exacto variant uses accuracy-optimized settings on a model you already chose.