Name opendunes/pareto-code as the model, set a minimum coding score, and get a strong coder without picking one.
The Pareto Router picks a coding model for you. Send opendunes/pareto-code as the model and, if you like, a minimum coding score; the router keeps a shortlist of strong coding models ranked on a public coding benchmark, and picks the cheapest one that meets your bar.
curl https://opendunes.com/v1/chat/completions \
-H "Authorization: Bearer $OPENDUNES_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "opendunes/pareto-code",
"plugins": [{ "id": "pareto-router", "min_coding_score": 0.8 }],
"messages": [{ "role": "user", "content": "Write a Python function that merges two sorted lists." }]
}'The answer's model is the coding model that served.
min_coding_score#A number from 0 to 1, mapped to a tier of the coding ranking:
min_coding_score | Tier |
|---|---|
0.66 and above | high — the top of the field |
0.33 to below 0.66 | medium — strong models below the top |
below 0.33 | low — capable coders above the median |
| none | high |
Within the tier, the router picks the cheapest model — or the fastest, with opendunes/pareto-code:nitro. It resolves a primary model and up to two fallbacks from the same tier, used only when the primary's provider fails.
The ranking is a percentile, so the bar moves with the field: 0.66 always means "the top of today's coders".
You pay the model that served, at its own price in DA.