Modelglass
Query live, sourced AI-model pricing and capability data — compare models and route a task to the cheapest one that clears a capability bar. Covers image, language, video, audio, and coding/science/agentic/GDPval benchmarks.
Documentation
The Modelglass MCP connects Claude Code directly to live AI model pricing and capability data — image generation, language models, video generation, and audio. Ask natural questions about model costs, compare providers, and get routing recommendations, all from inside your Claude Code session.
Connect via Claude Code · VS Code
Get a key
You need a Modelglass API key to use the MCP. Free keys are available instantly — no credit card required.
Add to Claude Code
Claude Code only (CLI and IDE extensions). Claude Desktop uses an OAuth-based connector that requires a different transport — Bearer-token MCP servers like this one are not compatible with it yet. Desktop support is planned once OAuth is implemented.
Add the mcpServers block to your ~/.claude/settings.json (or a project-level .mcp.json for project-scoped access):
{
"mcpServers": {
"modelglass": {
"type": "http",
"url": "https://modelglass-api.vercel.app/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY_HERE"
}
}
}
}
Or via the Claude Code CLI:
claude mcp add --transport http modelglass https://modelglass-api.vercel.app/mcp --header "Authorization: Bearer YOUR_KEY_HERE"
After saving, restart Claude Code to load the new server. Run /mcp to confirm the modelglass server shows as connected.
Keys don't expire
Your API key is persistent — it works across sessions and Claude Code restarts without needing to be refreshed. If a key stops working (e.g. after regeneration), update the Authorization header in your settings and restart Claude Code.
Add to VS Code
Prefer working inside VS Code? Install the Modelglass MCP extension from the Marketplace for the same pricing and comparison tools, wired directly into your editor.
Get it on the VS Code Marketplace →
Troubleshooting
Connection shows "Failed to connect"
Check that your key is valid: run curl -s https://modelglass-api.vercel.app/v1/health -H "Authorization: Bearer YOUR_KEY". A 200 response confirms the key works. If you get 401, regenerate your key at modelglass.com.au/account →
Claude Code shows the server but tools aren't available
Run /mcp in Claude Code to reconnect. If the server shows ✘ Failed to connect, confirm the type: "http" field is present in your config (not type: "url" — that is a different transport).
Need a new key?
Visit modelglass.com.au/account → to view, copy, or regenerate your key at any time.
Example questions
Once connected, try asking Claude Code:
- › What's the cheapest model for image generation right now?
- › Compare FLUX.1 [dev] and DALL-E 3 across all capability dimensions
- › Which models are rated Strong for text rendering?
- › What would 10,000 generations per month cost across all tracked models?
- › Which providers offer per-megapixel pricing?
- › Compare GPT-4o mini vs Claude 3.5 Haiku on cost and capability
- › Which LLMs are strongest for coding at under $2 per million tokens?
- › What's the price difference between DeepSeek R1 and o4-mini for reasoning tasks?
- › Compare Kling 1.6 and Runway Gen-4 for video generation cost
- › Which video models support the longest clip duration?
- › What plan tier is my API key on, and how many requests do I have left today?
- › Which models are FLUX.1 [pro]'s closest competitors on price?
What the MCP can access
The Modelglass MCP exposes seven tools:
| Tool | What it does |
|---|---|
| modelglass_list_models | browse and filter all tracked models with current pricing |
| modelglass_get_model | full profile for a specific model including capability ratings |
| modelglass_compare_models | side-by-side comparison with routing recommendations |
| modelglass_get_pricing_feed | structured pricing feed for all active tiers |
| modelglass_route_task | recommend the best current-generation LLM for a coding task category |
| modelglass_get_account | the calling key's own plan tier and key status |
| modelglass_get_competitors | a model's closest competitors with live pricing and price-delta ratio |
Data is updated daily by automated agents monitoring provider pricing pages.
Plan limits
| Plan | Rate limit | Pricing history | News feed | Price |
|---|---|---|---|---|
| Free | 100 req/day | Current only | Preview (5 entries) | $0 |
| Starter | 10,000 req/day | 12 months | Preview (5 entries) | $9/mo |
| Pro | 100,000 req/day | All time | Full feed (API) | $39/mo |
REST API
Prefer direct HTTP? The same data is available via the REST API. Pass your key as a Bearer token in the Authorization header.
List all models
curl -s https://modelglass-api.vercel.app/v1/models \
-H "Authorization: Bearer YOUR_KEY_HERE"
Get a specific model
curl -s https://modelglass-api.vercel.app/v1/models/flux-schnell-replicate \
-H "Authorization: Bearer YOUR_KEY_HERE"