AI Model Compatibility Explorer
Which LLMs take images, audio or files, fit your context and support tools or structured outputs?
How it works
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.
- Live mode reads GET https://openrouter.ai/api/v1/models (public, no key). Fields used: architecture.input_modalities/output_modalities, context_length, top_provider.max_completion_tokens, supported_parameters and pricing (USD per token, shown per 1M tokens).
- A model matches when it has every required input modality, the required output modality, at least the minimum context and output tokens, and every required API parameter listed in supported_parameters.
- Near misses are models (matching the name filter) that lack exactly one requirement.
- Recommendations: cheapest by input price, largest context and broadest feature set among the matches. Prices are for the routed provider listed by OpenRouter, not necessarily the vendor's own API.
Use this tool in an app
These free programs for your browser have this tool built in, next to everything else the task needs.
-
Agentlab AI-agent & LLM workbench
Test an AI agent before release: permissions, traces, costs, citations and output checks.
Related tools
- LLM Cost Explorer – Monthly LLM API cost per model for your workload, with prompt-caching and batch savings.
- Structured Output Validator – Validate AI JSON output against a JSON Schema: parse errors with line/column, plain-language fixes.
- Model Behavior Regression Explorer – Compare eval results of two model versions: accuracy, regressions, McNemar p-value, flaky items.
How to use the AI Model Compatibility Explorer
Filter hundreds of LLMs by image or audio input, context window, max output, tools and structured outputs, and compare their prices.
What it is for
Picking a language model for a real feature usually starts with hard requirements, not benchmarks. It must read images or PDFs. It needs at least 128k tokens of context. It must support tool calling and structured outputs, because your code parses JSON. Only once those are met does price matter. Checking that across dozens of vendors' docs takes an afternoon.
This tool filters the model list from OpenRouter's public models API, live or from a pasted copy. You can filter by:
- Input modalities (image, audio, file, video) and output modality
- Minimum context window and maximum output tokens
- Required API features:
tools,tool_choice,parallel_tool_calls,structured_outputs,response_format,reasoning,seedand more
You get the matching models with prices per million tokens, near misses that lack exactly one requirement, and three recommendations.
The data comes from OpenRouter's catalogue: prices and limits are for the provider OpenRouter routes to, not necessarily the vendor's own API. Feature flags say a parameter is accepted, not how well a model uses it. Quality still needs your own tests.
Worked example
The built-in example uses a pasted OpenRouter snapshot from 2026-10-14 with six models. It requires image input, text output, at least 128,000 tokens of context, tools and structured_outputs.
3 of 6 models meet image input, text output, ≥128k context, tools, structured_outputs; cheapest: mistralai/mistral-small-3.2-24b-instruct.
| Model | Context | Max output | Input / output per 1M |
|---|---|---|---|
| mistralai/mistral-small-3.2-24b-instruct | 256,000 | 16,384 | $0.09375 / $0.25 |
| openai/gpt-4o-mini | 128,000 | 16,384 | $0.15 / $0.60 |
| google/gemini-2.5-flash | 1,048,576 | 65,535 | $0.30 / $2.50 |
Near misses: deepseek/deepseek-chat-v3.1 and meta-llama/llama-3.3-70b-instruct lack image input. anthropic/claude-sonnet-4 lacks structured_outputs in this data.
Recommendations: cheapest (3:1 input:output blend) is Mistral Small 3.2. Largest context and broadest feature set (9 of 12 tracked parameters, including reasoning) is Gemini 2.5 Flash.
The near-miss list is the useful surprise. If Claude Sonnet 4 is otherwise your favourite, the only thing in the way is one parameter. You might work around it with tool-based JSON output or a schema-validated retry, rather than switching models.
How to read the result
- Matching models — id, context length, max output tokens, modalities, supported features, and prices per 1M input, output and cached-input tokens.
- Near misses — models that pass every filter except one, with the missing requirement named. Use this to see which requirement is costing you the most options.
- Recommendations — cheapest by blended price, largest context, and most features among the matches.
- Total vs matching — how restrictive your filters are. With 0 matches, look at the near misses first.
Tips and common mistakes
- Use "Live" mode for current data. Prices and supported parameters change often, and pasted snapshots age quickly.
response_format(JSON mode) andstructured_outputs(schema-enforced output) are different. Require the one your code actually depends on.- Maximum output tokens matters for long generations like reports and code. A 1M-token context with a 16k output cap won't write a 30k-token document in one go.
- Compare output prices for chatty workloads. The cheapest input price can hide an expensive output price.
- Use the name filter to compare one vendor's line-up, e.g. "anthropic" or "mistral".
FAQ
Where does the data come from?
From OpenRouter's public GET /api/v1/models endpoint, which needs no API key, or from a copy of that response you paste.
Are these the official vendor prices?
They are the prices of the provider OpenRouter routes to, shown per million tokens. The vendor's own API can be priced differently.
What is a "near miss"?
A model that meets every requirement except one. The result names the missing requirement, so you can decide whether it's really essential.
Does "supports tools" mean the model is good at tool use?
No. It means the parameter is listed as supported. How reliably a model calls tools varies, so test with your own prompts.
Guide last updated:
For scripts and AI agents
- JSON API:
POST https://aimodelcompatibilityexplorer.usefulweb.site/api/v1/calculate(same calculation as this page) - Interface description: OpenAPI 3.1 · AI guide: llms.txt
- MCP server (Streamable HTTP):
https://aimodelcompatibilityexplorer.usefulweb.site/mcp· tool nameai_model_compatibility_explorer
Example request
curl -s -X POST https://aimodelcompatibilityexplorer.usefulweb.site/api/v1/calculate \
-H 'content-type: application/json' \
-d '{…see OpenAPI examples…}'