Skip to main content
Glama

Crypto, web, finance and app data tools

LLM API Prices

llm_model_prices

API prices of 400+ LLMs (OpenAI, Anthropic, Google, DeepSeek, Llama, Qwen...) per million input/output tokens with context length, searchable by name and sortable by price, context or newest.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "llm_model_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNo
freeNo
sortNoinput_price
limitNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden; it does disclose the dataset shape (400+ models, per-million-token pricing, includes context length), implying a read-only reference lookup. It omits anything about pagination behavior, result caps, or data freshness/update cadence, which matters for a price catalog agent might rely on.

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?

A single dense sentence that front-loads the resource and scale, then adds query affordances and units. Efficient with no filler, though the provider list is slightly ornamental.

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?

An output schema exists so return values need no explanation, and the read-only nature is implied. But for a 4-parameter tool with zero schema descriptions, leaving 'free' and 'limit' unexplained and sort values unenumerated is a real gap for correct invocation.

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

Parameters2/5

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

Schema coverage is 0%, so the description must compensate for all four params, but it only partially does. It covers 'q' (search by name) and vaguely 'sort' (price, context, newest — without enumerating the actual accepted values), while the 'free' filter and the 'limit' (default 25) parameters are never mentioned.

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

Purpose4/5

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

States a specific resource and units: 'API prices of 400+ LLMs ... per million input/output tokens with context length,' and names the major providers covered. An agent immediately knows this is an LLM price catalog, though it does not distinguish itself from near-neighbors like token_cost or gpu_rental_prices.

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

Usage Guidelines3/5

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

'searchable by name and sortable by price, context or newest' implies how to query but gives no explicit when-to-use guidance, no prerequisites, and no pointer to an alternative tool for token cost calculation or non-LLM compute pricing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources