Skip to main content
Glama

LLM API prices and benchmarks

llm_api_pricing
Read-onlyIdempotent

API token prices (USD per 1M input/output tokens) for current AI models across providers (OpenAI, Anthropic, Google, DeepSeek, Mistral, xAI and more), with ARC-AGI-2 and SWE-bench Verified scores where published. Sort by cheapest, best ARC-AGI-2 or best SWE-bench.

Input Schema

NameRequiredDescriptionDefault
sortNocheapest
limitNo
providerNoOptional provider name, e.g. "Anthropic", "OpenAI", "Google".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds genuine context: units, token direction (input/output), provider scope, and the 'where published' caveat implying some benchmark scores are missing. It does not disclose the default 15-row cap or that results are truncated, which matters behaviorally.

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 dense sentences: first establishes the resource, units, and coverage; second states the sorting options. No filler, and the most decision-relevant information (what data, which sort modes) is front-loaded.

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?

For a read-only, no-output-schema lookup tool with three optional parameters, the description covers what data is returned and from which providers. The remaining gap is result shape and the limit/truncation behavior, but nothing critical to invoking it correctly is missing.

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 only 33% — only 'provider' carries a schema description — so the description should compensate more. It does explain the three sort modes in plain language, adding a little value over the bare enum, but it says nothing about 'limit' (default 15, max 50) or how truncation interacts with sorting.

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 highly specific resource: USD per 1M input/output token prices for named providers, plus ARC-AGI-2 and SWE-bench Verified scores. The data domain is clearly distinct from the sibling tools, which all deal with AI tool listings rather than model pricing, though the description never explicitly contrasts itself with them.

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?

The closing sentence ('Sort by cheapest, best ARC-AGI-2 or best SWE-bench') implies the main usage patterns, and the pricing/benchmark framing implies when this tool is relevant. However, there is no explicit when-to-use vs. when-not guidance and no mention of alternatives among the ai_traffic_report / compare_ai_tools siblings.

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