{
  "slug": "vercel-ai-gateway-leaderboard-models-exposes-model-usage-rankings-8c562bae7377",
  "title": "vercel ai-gateway leaderboard models exposes model usage rankings",
  "tools": [
    "vercel"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-07-28T15:51:39.000Z",
  "announced_at": "2026-07-28T15:51:39.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When reviewing AI Gateway model usage, run the leaderboard command to view rankings; filter by modality, metric, or date, and choose an output format or file. [Vercel CLI source](https://github.com/vercel/vercel/blob/vercel%4058.1.0/packages/cli/src/commands/ai-gateway/command.ts)",
    "examples": [
      "vercel ai-gateway leaderboard models",
      "vercel ai-gateway leaderboard models --modality text",
      "vercel ai-gateway leaderboard models --format csv --out models.csv"
    ],
    "gotchas": [
      "Version: 58.1.0",
      "--modality <MODALITY>: Filter: all, text, image, or video; default all.",
      "--metric <METRIC>: Table metric: requests, tokens, spend, imageCount, or videoCount; default requests.",
      "--date <YYYY-MM-DD>: Day shown in the table; default most recent.",
      "--format <FORMAT>: Output format: table, json, or csv. Defaults to table in a terminal and json otherwise.",
      "--out <FILE>: Write payload to a file instead of stdout; defaults to json, or use --format csv for CSV.",
      "Prerequisite: Use Vercel CLI 58.1.0 or later; the command is present in the 58.1.0 source and introduced in that release.",
      "Interactive terminals display a pretty table; piped output defaults to JSON."
    ]
  },
  "why_it_matters": "Inspect AI Gateway model usage data from the CLI when reviewing a repository's gateway usage.",
  "sources": [
    "https://github.com/vercel/vercel/releases/tag/vercel%4058.1.0",
    "https://github.com/vercel/vercel/blob/vercel%4058.1.0/packages/cli/src/commands/ai-gateway/command.ts"
  ],
  "rank": 0.99023,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "backfill-20261007",
    "verdict_id": "backfill-20261007:backfill-20261007-552b90a9bdf52918-2:gate",
    "evidence_hash": "a796093c26dc9aa8fad9f474f664d3d6791dc0ee3fcd9c9499c61c2bfe689e4d"
  },
  "review": {
    "draft_hash": "78ce417dcafae09b030072905c5f01dbefc4f5792dc08c49e35ef53cba64afea",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "backfill-20261007:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.99 >= 0.9; 2 needed) and Jev gave 0.69 (>= 0.6 needed)."
  }
}
