Skip to main content
Glama
cloudprice-mcp

cloudprice-mcp

lookup_extended_model_pricing

Search an extended LLM pricing catalog by model, provider, or source to compare direct-provider rates with OpenRouter-routed rates and identify lower-cost hosting options.

Instructions

Search the extended LLM catalog (~2300 model/provider combinations auto-ingested weekly from two upstreams: LiteLLM's public JSON (direct-provider retail prices for Together AI, Fireworks, Replicate, Groq, Cerebras, Perplexity, regional Bedrock/Azure variants, etc.) and OpenRouter's /api/v1/models (routed prices including OpenRouter's margin). Every row tagged source='litellm' or source='openrouter' so callers can compare direct vs routed pricing for the same model. Complements compare_token_pricing (hand-curated, 19 vetted models). Use this when the user asks about: (a) a model or provider compare_token_pricing doesn't know — 'cheapest place to host Llama 3.1 405B', 'Together AI pricing', 'what Groq charges for Mixtral' — or (b) whether OpenRouter routing is cheaper or more expensive than going direct to Bedrock/Anthropic/OpenAI ('does OpenRouter add margin for Claude 3 Haiku?').

Input Schema

NameRequiredDescriptionDefault
modeNoMode filter. Default: any (catalog already excludes embedding/image/audio).
limitNo
queryNoCase-insensitive substring matched against the model ID. E.g. 'llama-3.1-70b' matches every Llama 3.1 70B variant on every host.
sourceNoFilter to one upstream source. 'litellm' = direct-provider retail prices. 'openrouter' = OpenRouter routed prices (includes their margin). Default: both — useful for cross-source comparison.
providerNoFilter to one provider: 'bedrock', 'fireworks_ai', 'together_ai', 'groq', 'perplexity', 'replicate', 'openrouter' (for routed prices), etc.
max_context_tokensNoSkip models with smaller context. Useful for 'cheapest models that support 200K+ context'.
monthly_input_tokensNo
monthly_output_tokensNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.29.0

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the whole burden, and it discloses real behavioral context: data provenance (LiteLLM public JSON and OpenRouter /api/v1/models), weekly auto-ingestion, the source='litellm'|'openrouter' row tag, and that the catalog already excludes embedding/image/audio. It stops short of saying what a returned row contains, whether results are sorted or paginated, or how the weekly refresh affects freshness.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense block, but it is front-loaded with the catalog's identity and provenance before moving to the (a)/(b) usage cases. The long provider enumeration (Together AI, Fireworks, Replicate, Groq, Cerebras, Perplexity, Bedrock/Azure) is the one stretch that adds bulk faster than it adds decision value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter, no-annotation, no-output-schema tool, the description covers purpose, provenance and when to prefer it over its sibling, but omits what a row returns, sort order, and the meaning of the three cost/limit parameters. Enough to select the tool, not quite enough to invoke it with confidence.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 63%, so the schema documents mode, query, source and provider well, and the description largely restates that source semantics without adding syntax. It says nothing about limit, monthly_input_tokens or monthly_output_tokens, leaving three params — two of which imply cost estimation behavior — unexplained in both places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Search') against a specific resource ('extended LLM catalog', ~2300 model/provider combinations) and explicitly distinguishes itself from the sibling compare_token_pricing by scale and curation level. An agent can tell these two apart without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It names two concrete use cases — (a) a model or provider compare_token_pricing doesn't know, and (b) whether OpenRouter routing is cheaper than going direct — and gives example queries like 'cheapest place to host Llama 3.1 405B' and 'what Groq charges for Mixtral'. The alternative is named explicitly, so selection is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.