Model Directory Metadata • 7-Day Cache

OpenRouter Public Models Catalog MCP

Router selection and FinOps benchmarking agents need accurate context window sizes, HuggingFace cross-links, and canonical model slugs without scraping marketing pages.

Gateway Runtime0-LLM Stdlib
Featured Organs3 Verified
Live Probe Avg1634 ms
Empty / Error Cost$0.00

Cross-Linking Model IDs to HuggingFace Repositories

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.

7-Day CDN-Friendly Caching for 900 KB+ Payloads

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.

Live-Verified Organ Matrix & Schema Fields

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 ToolAPI & SubdomainProtocolCache TTLLive ProbeVerified Sample Fields
openrouter_models
MCP: airesearch_openrouter_models
OpenRouter Public Models Catalog API
open_benchmarks_knowledge
rest_json7d (604800s)HTTP 200 (1814 ms)data, total_count, links, data[0].id, data[0].canonical_slug
hf_hub_models
MCP: airesearch_hf_hub_models
HuggingFace Hub Models API
ai_models_datasets
rest_json7d (604800s)HTTP 200 (1544 ms)_id, id, likes, trendingScore, private
hf_hub_spaces
MCP: airesearch_hf_hub_spaces
HuggingFace Hub Spaces API
ai_models_datasets
rest_json7d (604800s)HTTP 200 (1543 ms)_id, id, likes, private, sdk

Invoke via Streamable HTTP MCP or REST

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": {}}'

Technical FAQ

Does openrouter_models require an OpenRouter API key?

No. GET /api/v1/models is an unauthenticated public catalog endpoint.

Related Research Organ Guides