Benchmark and arena scores per model, with each model's prices in DA.
GET /v1/benchmarks returns benchmark and arena scores per model. It is free and takes an API key. The Go client has no benchmarks resource, so call it with net/http.
req, _ := http.NewRequest("GET",
"https://opendunes.com/v1/benchmarks?task_type=coding&max_results=5", nil)
req.Header.Set("Authorization", "Bearer "+os.Getenv("OPENDUNES_API_KEY"))
resp, err := http.DefaultClient.Do(req)
// resp body: { "data": [{ "source", "model_permaslug", "display_name",
// "intelligence_index", "coding_index", "agentic_index", "pricing": { "prompt", "completion" } }, …] }
// pricing is the model's price in DA per token| Parameter | Takes |
|---|---|
source | artificial-analysis · design-arena · opendunes |
task_type | coding · intelligence · agentic · search |
benchmark_type | a single benchmark, such as gpqa_diamond |
arena · category | a design arena and one of its categories |
max_results | how many rows to return |
A value the route does not take is a 400 naming the values it does. When the scores cannot be read, the route answers 503 with a Retry-After.