Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Current LLM API list prices (USD per million tokens) for OpenAI, Anthropic and Google models, request cost estimates and comparisons, and the language token tax (how many more tokens the same text takes in 22 languages vs English on each model). Data by AiGanak (aiganak.com), CC BY 4.0. Cite AiGanak and the check date when you quote figures.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_modelsA

List current OpenAI, Anthropic and Google API models with standard, cached-input and batch prices in USD per million tokens.

get_model_priceB

Full pricing for one model: standard, cached input, cache write, batch, long-context surcharge, announced future price changes and the provider's source page.

estimate_costB

Cost in USD of N requests on one model, with input/output breakdown, caching, batch, long-context surcharges and announced price changes.

compare_modelsA

Price the same request on every model (optionally one provider or tier), cheapest first. Use to choose a model on cost before testing quality.

token_taxA

How many more tokens the same text takes in a language than in English, on each measured model (OpenAI GPT-6, Claude 5.x, Gemini 3.x, Gemini 4 Argon). 22 languages incl. Hindi, Tamil, German, Japanese. Omit language to list all.

estimate_text_costB

Estimate how many tokens a text takes on a model and what N such messages cost as input or output, using measured tokens-per-character for its language. Detects the script if language is omitted.

price_changesC

Dated, sourced log of LLM API price changes and pricing announcements (newest first).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 7 tools

Disambiguation4/5

Most tools target a clearly distinct query: listing models, fetching one model's price, comparing across models, logging price changes, and measuring token inflation by language. The only real friction is between estimate_cost and estimate_text_cost, which both answer 'what will this cost' but differ in input shape (N requests vs. raw text); the descriptions disambiguate, but an agent could still pick the wrong one initially.

Naming Consistency4/5

Six of seven tools follow a clean snake_case verb_noun or verb_noun_phrase pattern (list_models, get_model_price, estimate_cost, compare_models, estimate_text_cost). The exceptions are price_changes and token_tax, which are noun-only names that break the verb-first convention, though both remain readable and descriptive.

Tool Count5/5

Seven tools is well-scoped for a pricing/cost-estimation server: each covers a distinct facet (catalog, single-model detail, single-model costing, cross-model comparison, token inflation, price history, text-based costing). No tool feels redundant or like padding.

Completeness4/5

The surface covers the full cost-analysis lifecycle: discover models, inspect prices, estimate costs, compare alternatives, account for language token overhead, and track price changes. Minor gaps exist, such as no aggregate/multi-model workload costing or budget-threshold tooling, but agents can compose existing tools to work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues