Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
AICOSTDESK_MCP_OFFLINENo`1` = never fetch the price file; use the bundled snapshot
AICOSTDESK_MCP_PRICING_URLNoPoint at another copy of the price JSONhttps://raw.githubusercontent.com/phappyj/llm-pricing-json/main/pricing.json

Instructions

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

AI Cost Desk (https://aicostdesk.com) answers "what will this cost?" for LLM APIs and AI plans.

Tools:

  • list_llm_models: 20 API models with input / cached-input / output prices per 1M tokens, the date each was checked and scheduled price changes.

  • calculate_api_cost: monthly and yearly bill for a workload on one model, plus cheaper alternatives.

  • compare_subscription_vs_api: flat monthly plan ($20 ChatGPT Plus, $20 Claude Pro, …) versus pay-per-token at a daily message volume, with the break-even volume.

  • compare_two_models: same workload on two models, side by side.

Prices are USD list prices for the standard tier, each with the date it was read from the provider's own page. Say the date when you quote a price ("checked 2026-12-01"). Long-context surcharges, batch discounts and taxes are not included; cost says nothing about quality.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_llm_modelsA

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.

calculate_api_costB

Calculates what an LLM API workload costs per month and per year from input/output tokens per request, requests per day and the share of input served from cache, and names the cheapest alternatives for the same workload. Mirrors https://aicostdesk.com/llm-api-calculator.

compare_subscription_vs_apiA

Compares a flat monthly AI subscription (ChatGPT Plus $20, Claude Pro $20, Cursor, Copilot and others, or any custom monthly price) with pay-per-token API cost at a given daily message volume, and gives the break-even messages per day. Mirrors https://aicostdesk.com/subscription-vs-api.

compare_two_modelsA

Compares the monthly, yearly and per-request cost of two LLM API models for the same workload and states how much cheaper one is. Mirrors the head-to-head pages at https://aicostdesk.com/compare/.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 4 tools

Disambiguation4/5

Each tool targets a distinct task: model discovery, workload cost calculation, subscription-vs-API comparison, and model head-to-head comparison. There is minor overlap because calculate_api_cost already names cheaper alternatives, which brushes against compare_two_models, but descriptions make the boundary clear enough.

Naming Consistency5/5

All four names follow a consistent snake_case verb_noun pattern (list_, calculate_, compare_). The convention is predictable and reads uniformly across the set.

Tool Count4/5

Four tools is on the lean side but well matched to a focused cost-calculator domain, with no filler tools. Reasonable coverage without bloat.

Completeness4/5

The surface covers discovery, cost estimation, subscription comparison, and model comparison, which are the core lifecycle needs of this domain. Minor gaps exist (e.g. batch/embedding pricing or a single-model lookup), but agents can work around them via list_llm_models.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues