Disclaimer: This site is for informational purposes only. Model rankings, usage data, pricing, capabilities and hardware results change frequently and may vary by benchmark, provider and workload. Verify current source data, licensing, security, privacy, compliance and deployment requirements before making production or purchasing decisions.

Public REST API

Every endpoint is open, read-only (except the refresh actions) and returns CORS-enabled JSON. The OpenAPI description lives at /api/public/docs.

GET/api/public/dataset

Latest normalized leaderboard dataset.

/api/public/dataset
POST/api/public/scrape

Run the collector now (leaderboards and token utilisation) and store a new batch.

curl -X POST /api/public/scrape
GET/api/public/tokens

Granular token-utilisation rows at model level.

ParameterMeaning
sliceCategory slice id, e.g. overall, programming, science
countryDeveloper home country, e.g. China
developerModel developer, e.g. openai
modelSubstring match on model id or name
group_bycountry | developer | model — returns aggregates
formatjson (default) or csv
limit1–2000, default 500
/api/public/tokens?slice=programming&group_by=country
POST/api/public/tokens/refresh

Re-collect token-utilisation data only.

curl -X POST /api/public/tokens/refresh
POST/api/public/panini

Panini chatbot — identifies exact AI-SOTA KG nodes. Requires an API key (x-api-key header or Bearer token). Body: { message } or { messages: [{role, content}] } (stateless; send full history). Returns { answer, json }.

curl -X POST /api/public/panini -H 'content-type: application/json' -H 'x-api-key: <your-key>' -d '{"message":"Which Chinese model has the most tokens?"}'
GET/api/public/graph

AI-SOTA KG knowledge graph — models, developers, countries, benchmarks, categories, token slices and hardware.

ParameterMeaning
minitrue returns the ~40-node summary graph
typesComma list of node types to keep, e.g. model,developer
formatjson (default) or gml — GML downloads the graph for Gephi, Cytoscape or yEd
/api/public/graph?format=gml
GET/api/public/docs

Machine-readable OpenAPI description of this API.

/api/public/docs