API & MCP
The data behind every card is free to use. Each record keeps its sources and the date it was checked; please link back when you show it.
JSON
- GET /api/models
- All 134 models: language, image, video and audio.
- GET /api/models/{slug}
- One model, e.g. /api/models/claude-haiku-5-5.
Field reference: language models carry specs (USD per 1M tokens), media models carry media.pricing (per image, second, minute…), and card summarizes the official system/model card. CORS is open.
curl -s https://aimodel.cards/api/models | jq '.models[] | {name, maker, input: .specs.pricing.input}'MCP server for agents
Let Claude, Cursor or any MCP client answer questions like “cheapest model with 1M context and image input” from this catalog. It runs locally over stdio and reads the same data files as the site.
claude mcp add aimodel-cards -- node /path/to/aimodel-cards/mcp/server.mjssearch_modelsFilter by kind, maker, max input price, min context, image input, open weights. Cheapest first.get_modelEverything about one model, including a digest of its official card with page references.compare_modelsTwo to four models side by side, plus benchmarks they both report.estimate_costMonthly cost of a workload from list prices, with cache share and Batch discount.list_makersMakers in the catalog with model counts per kind.