Skip to main content
Glama

List LLM API models and prices

list_llm_models

Lists the LLM API models AI Cost Desk tracks, with input, cached-input and output prices per 1M tokens plus last-checked dates, so you can confirm model IDs and prices before calling the cost tools.

Instructions

Lists the LLM API models AI Cost Desk tracks (20 models from OpenAI, Anthropic, Google, DeepSeek and xAI) with input, cached-input and output prices per 1,000,000 tokens, the date each price was last checked and any scheduled price change. Use it to see which models and ids exist before calling the cost tools.

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": "list_llm_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort order. Default "provider" (the order used on aicostdesk.com).
tierNoOnly models in this tier.
limitNoReturn at most this many models.
providerNoOnly models from this provider (OpenAI, Anthropic, Google, DeepSeek, xAI).
include_notesNoInclude each model's caveat note (long-context surcharges, off-peak rates, promotional end dates). Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 full burden and does well: it discloses the catalog size (20 models), the provider coverage, the unit of the price values, that last-checked dates and scheduled changes are included, and that caveat notes cover surcharges/off-peak/promotional end dates. It does not state read-only nature explicitly or mention auth/rate behavior, but 'Lists' plus the returned-field inventory leaves little ambiguity.

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

Conciseness5/5

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

Two sentences, no filler: the first front-loads what is returned and at what granularity, the second front-loads the usage rule. Every clause adds information an agent needs.

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

Completeness4/5

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

No output schema exists, so the description must describe return values, and it does so concretely (prices with units, check dates, scheduled changes, optional caveat notes). Remaining gaps are minor for a simple filtered-list read tool: it doesn't say how filters combine or what the default result count is.

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 description coverage is 100% and all five parameters (sort, tier, limit, provider, include_notes) are documented with enums and defaults in the schema. The description adds nothing about parameter semantics beyond a passing mention of model count, so the baseline 3 applies.

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?

States a specific verb and resource (lists the LLM API models tracked), names the exact coverage (20 models across OpenAI, Anthropic, Google, DeepSeek, xAI), and enumerates the returned fields (input, cached-input, output prices per 1M tokens, last-checked date, scheduled changes). The phrase 'before calling the cost tools' separates this catalog-lookup tool from the calculation/compare siblings.

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

Usage Guidelines4/5

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

Explicitly says when to use it: 'Use it to see which models and ids exist before calling the cost tools,' which positions it as the discovery step preceding compare_two_models, calculate_api_cost and compare_subscription_vs_api. No explicit when-not condition is given, but the discovery-vs-compute split makes the boundary clear.

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