Skip to main content
Glama

Implied spend share (OpenRouter channel)

get_spend
Read-onlyIdempotent

The 7-day rankings joined to the vendors’ list prices: per lab, tokens routed, the share of those tokens that matched a priced SKU (coverage), and implied spend as a RANGE — spend_low is every token at the input list price, spend_high every token at the output price (the rankings carry no prompt/completion split, so a point estimate would be invented). share_low/share_high are each lab’s slice of the tracked labs’ implied dollars at each bound; token_share is the same window’s slice of the tracked labs’ tokens (NOT of all OpenRouter tokens, which get_rankings reports); priced_token_share is the lab’s slice of the priced tokens only, the same universe as the dollar shares, so compare dollars with priced_token_share. models[] shows the join per model, with reason (free, unlisted, unpriced) for every model excluded from dollars. This is one aggregator’s channel at list price, not revenue and not market share; cite it as implied OpenRouter-channel spend and reproduce the CC BY 4.0 citation in rankings.meta.citation. month_to_date runs the same join over the newest UTC calendar month’s days so far (from, to, days, days_in_month), with projected_low/projected_high per lab and in totals: the spend at the daily average of the days present over the whole month, null once the month is over, under 3 days, or for a lab with nothing priced. Every row carries source_url (the exact page it was read from) and fetched_at (UTC), the fetch that produced its current values; it only moves when they change. A current price row also carries checked_at, the newest read of that page that still showed it, or null. as_of is the newest poll the payload reflects. computed_at is when it was built: a payload is reused until new data arrives, so it can be older than your request. license names the data license, split by age: our compilation and derived numbers from the last 90 days are CC BY 4.0, older ones CC BY-NC 4.0 (non-commercial use only), except what we published before 2026-11-04, which stays CC BY 4.0. A result with as_of older than 90 days is labeled CC-BY-NC-4.0 in point_in_time.license. Upstream data keeps its own license.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

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.