Router selection and FinOps benchmarking agents need accurate context window sizes, HuggingFace cross-links, and canonical model slugs without scraping marketing pages.
The openrouter.ai/api/v1/models catalog returns data entries with id, canonical_slug, hugging_face_id, name, created, description, context_length, and architecture, alongside total_count.
Because the full model catalog exceeds 900 KB, caching the parsed catalog for 7 days (604,800s) slashes bandwidth and tail latency for routing pipelines.
Primary upstream endpoint for openrouter_models: https://openrouter.ai/api/v1/models. Empty-result guard: Return non-billable empty result if data array is empty or missing.
| Organ & MCP Tool | API & Subdomain | Protocol | Cache TTL | Live Probe | Verified Sample Fields |
|---|---|---|---|---|---|
openrouter_modelsMCP: airesearch_openrouter_models | OpenRouter Public Models Catalog API open_benchmarks_knowledge | rest_json | 7d (604800s) | HTTP 200 (1814 ms) | data, total_count, links, data[0].id, data[0].canonical_slug |
hf_hub_modelsMCP: airesearch_hf_hub_models | HuggingFace Hub Models API ai_models_datasets | rest_json | 7d (604800s) | HTTP 200 (1544 ms) | _id, id, likes, trendingScore, private |
hf_hub_spacesMCP: airesearch_hf_hub_spaces | HuggingFace Hub Spaces API ai_models_datasets | rest_json | 7d (604800s) | HTTP 200 (1543 ms) | _id, id, likes, private, sdk |
Connect to https://devour-ai.fastmesh.dev/mcp or SuperBus https://mcp.fastmesh.dev/mcp (JSON-RPC 2.0):
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "airesearch_openrouter_models",
"arguments": {}
}
}
Or call the deterministic REST endpoint directly:
curl -sS -X POST https://devour-ai.fastmesh.dev/v1/organs/openrouter_models/invoke \
-H "Content-Type: application/json" \
-d '{"params": {}}'
No. GET /api/v1/models is an unauthenticated public catalog endpoint.