API & MCP
Everything a person can do on AI Model Compatibility Explorer, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://aimodelcompatibilityexplorer.usefulweb.site/api/v1/calculate– run AI Model Compatibility ExplorerGET https://aimodelcompatibilityexplorer.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
AI Model Compatibility Explorer
Filters and compares hundreds of language models by input modalities (image, audio, file, video), output modality, context window, maximum output tokens and API features such as tools, tool_choice, structured_outputs, response_format and reasoning, using OpenRouter's public models API (or a pasted copy of it). Shows matching models with prices, near misses with what they lack, and recommendations.
| Field | Type | Default | Description |
|---|---|---|---|
source | select (live, paste) | "live" | Model data |
modelsJson | textarea | — | Models JSON. Response of GET https://openrouter.ai/api/v1/models (or a subset). |
search | text | — | Name / provider contains |
inputModalities | multiselect (image, audio, file, video) | [] | Required input types (besides text) |
outputModality | select (any, text, image, audio) | "text" | Required output |
minContext | integer | — | Minimum context window |
minOutputTokens | integer | — | Minimum max output |
parameters | multiselect (tools, tool_choice, parallel_tool_calls, structured_outputs, response_format, reasoning, include_reasoning, seed, logprobs, stop, temperature, web_search_options) | [] | Required API features |
sort | select (price, context, name) | "price" | Sort by |
maxResults | integer | 30 | Maximum models shown |
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://aimodelcompatibilityexplorer.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
ai_model_compatibility_explorer - Local stdio connector:
node src/mcp-stdio.ts --tool=ai-model-compatibility-explorer
{
"mcpServers": {
"ai-model-compatibility-explorer": { "type": "http", "url": "https://aimodelcompatibilityexplorer.usefulweb.site/mcp" }
}
}