Model data API
The comparison data, as JSON. Free. No key.
GET https://aviralgarg.com/api/v1/models.json GET https://aviralgarg.com/api/v1/snapshots/20261001T191551Z.json
schemaVersion versions the format. snapshotId names the immutable file. capturedAt records capture time; checkedAt is the review date, not the date of every measurement. models contains rates in USD per million tokens; benchmark points contain scores and cost in USD per attempted task. Speed fields use the units named in the dataset. null means unavailable.
The dated route is retained as an immutable snapshot. The latest route changes only after a reviewed update. Launch scores, historical results and independent measurements stay labeled separately. Custom averages are not official benchmark results.
Python example
import json
from urllib.request import urlopen
with urlopen("https://aviralgarg.com/api/v1/models.json") as response:
data = json.load(response)
print(data["checkedAt"])
for point in data["benchmarks"]["coding"]["points"]:
print(point["model"], point["effort"], point["score"], point["cost"])JavaScript / Node example
const response = await fetch("https://aviralgarg.com/api/v1/models.json");
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const data = await response.json();
console.log(data.checkedAt, data.benchmarks.coding.points);For scripts, server clients and this website's tools. Cross-origin browser requests are not enabled yet. This is a static data endpoint; it does not call models, route live requests or execute tasks. Cache the dated snapshot rather than polling frequently.