Skip to main content
Glama

Agent Data Tools: Full list (every tool as its own definition)

LLM pricing, compare AI model API prices

llm_prices
Read-only

Compare the API prices of about 450 LLMs from OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, Qwen and others: USD per million input and output tokens, context length, max output, modalities, and the cost of your call when you give token counts. Filter by name, provider, price cap, context or image input; sort by input, output or blended price. Source: OpenRouter's public model list. Use to pick the cheapest model that fits a job. Example: q=llama. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoWords in the model id or name, e.g. gpt, claude, llama 70b
sortNoinput (default), output, blended (3:1 input:output) or context
limitNoNumber of models (1-50, default 20)
visionNotrue: only models that take image input
providerNoOnly this provider: openai, anthropic, google, meta-llama, mistralai, deepseek, qwen…
minContextNoOnly models with at least this context length in tokens
inputTokensNoInput tokens of your call, to estimate its cost
outputTokensNoOutput tokens of your call, to estimate its cost
maxInputPriceNoOnly models at or under this USD per million input tokens

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.