Skip to main content
Glama

Model Ruler — AI Cost Calculators

LLM Observability Cost Calculator

observability-cost-calculator
Read-onlyIdempotent

Budget a supported public observability plan from explicit billing units. Requires a provider, plan and provider-specific quantities; request count alone cannot determine the bill. Unsupported plans return correctable errors without a price.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "plan": "core",
      "provider": "langfuse",
      "retention_days": 90,
      "monthly_billable_units": 200000
    },
    "name": "observability-cost-calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYesExact plan: LangSmith developer/plus; Langfuse hobby/core/pro; Braintrust starter/pro; Arize free/pro; Helicone hobby. No automatic plan substitution.
seatsNoRequired for LangSmith, Langfuse Hobby and Helicone Hobby. LangSmith Plus bills $39 per seat; its trace allowance is per organization.
providerYesProvider; Portkey has no verified current tariff and Helicone supports only Hobby.
retained_gbNoArize or Helicone: actual retained data in provider GB units.
avg_log_bytesNoOptional payload-size illustration only; never used as billable GB.
monthly_spansNoArize: actual monthly trace spans.
monthly_scoresNoBraintrust: actual billable monthly score count, including explicit 0 when unused.
monthly_tracesNoLangSmith: total new traces this month, including those later upgraded.
retention_daysNoRequested window, defaults to selected plan. Langfuse means data access, not deletion. LangSmith above 14 days requires upgrades for every new trace; above 180 days unsupported.
requests_per_dayNoOptional workload denominator using a 30-day month; never substitutes for vendor billing units.
on_demand_enabledNoBraintrust Starter: true is required to model usage exceeding included GB or scores.
monthly_ingested_gbNoArize: monthly ingestion volume in provider GB units.
monthly_processed_gbNoBraintrust: provider-measured monthly ingested GB across logs, experiments, datasets and attachments.
monthly_signal_issuesNoArize: Signal issues per month, including explicit 0 if unused.
monthly_billable_unitsNoLangfuse: actual monthly traces + observations + scores; never inferred from request count.
extra_retained_gb_monthsNoBraintrust Pro above 30 days: explicit extra retained GB-months; not inferred from retention days or ingestion.
monthly_extended_upgradesNoLangSmith: extended-retention upgrade events this month, including older traces. Enter 0 explicitly if none.
monthly_recorded_requestsNoHelicone Hobby: monthly recorded requests; maximum 10,000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed20 schema fields changed
    • changedInput schema / examples
      Previous value: -[
      -  {
      -    "provider": "langsmith",
      -    "requests_per_day": 50000
      -  }
      -]New value: +[
      +  {
      +    "monthly_billable_units": 200000,
      +    "plan": "core",
      +    "provider": "langfuse",
      +    "retention_days": 90
      +  }
      +]
    • changedInput schema / properties / avg_log_bytes / description
      Previous value: -"Avg payload bytes per traced request (default 4096)"New value: +"Optional payload-size illustration only; never used as billable GB."
    • addedInput schema / properties / extra_retained_gb_months
      Added value: +{
      +  "description": "Braintrust Pro above 30 days: explicit extra retained GB-months; not inferred from retention days or ingestion.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / monthly_billable_units
      Added value: +{
      +  "description": "Langfuse: actual monthly traces + observations + scores; never inferred from request count.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / monthly_extended_upgrades
      Added value: +{
      +  "description": "LangSmith: extended-retention upgrade events this month, including older traces. Enter 0 explicitly if none.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / monthly_ingested_gb
      Added value: +{
      +  "description": "Arize: monthly ingestion volume in provider GB units.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / monthly_processed_gb
      Added value: +{
      +  "description": "Braintrust: provider-measured monthly ingested GB across logs, experiments, datasets and attachments.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / monthly_recorded_requests
      Added value: +{
      +  "description": "Helicone Hobby: monthly recorded requests; maximum 10,000.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / monthly_scores
      Added value: +{
      +  "description": "Braintrust: actual billable monthly score count, including explicit 0 when unused.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / monthly_signal_issues
      Added value: +{
      +  "description": "Arize: Signal issues per month, including explicit 0 if unused.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / monthly_spans
      Added value: +{
      +  "description": "Arize: actual monthly trace spans.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / monthly_traces
      Added value: +{
      +  "description": "LangSmith: total new traces this month, including those later upgraded.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / on_demand_enabled
      Added value: +{
      +  "description": "Braintrust Starter: true is required to model usage exceeding included GB or scores.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / plan
      Added value: +{
      +  "description": "Exact plan: LangSmith developer/plus; Langfuse hobby/core/pro; Braintrust starter/pro; Arize free/pro; Helicone hobby. No automatic plan substitution.",
      +  "type": "string"
      +}
    • changedInput schema / properties / provider / description
      Previous value: -"Observability provider"New value: +"Provider; Portkey has no verified current tariff and Helicone supports only Hobby."
    • changedInput schema / properties / requests_per_day / description
      Previous value: -"Average daily LLM requests"New value: +"Optional workload denominator using a 30-day month; never substitutes for vendor billing units."
    • addedInput schema / properties / retained_gb
      Added value: +{
      +  "description": "Arize or Helicone: actual retained data in provider GB units.",
      +  "minimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / properties / retention_days / description
      Previous value: -"Retention in days (default 30)"New value: +"Requested window, defaults to selected plan. Langfuse means data access, not deletion. LangSmith above 14 days requires upgrades for every new trace; above 180 days unsupported."
    • addedInput schema / properties / seats
      Added value: +{
      +  "description": "Required for LangSmith, Langfuse Hobby and Helicone Hobby. LangSmith Plus bills $39 per seat; its trace allowance is per organization.",
      +  "minimum": 1,
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "requests_per_day",
      -  "provider"
      -]New value: +[
      +  "provider",
      +  "plan"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real behavioral context beyond that: unsupported plans fail with correctable errors and produce no price, and no automatic plan substitution occurs. It stops short of describing what a successful result contains.

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

Conciseness4/5

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

Three short sentences, front-loaded with the core action, then requirements, then failure behavior. No sentence is filler, though the compressed phrasing ('correctable errors', 'explicit billing units') trades a little clarity for density.

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

Completeness3/5

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

For an 18-parameter calculator with no output schema, the description covers required inputs and the error path but never explains what a successful response looks like (breakdown, currency, assumptions) or that most quantity parameters only apply to specific providers. Adequate but with clear gaps for a tool this parameter-heavy.

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 100%, so every parameter already carries provider-specific meaning, and the description's note that request count alone cannot determine the bill merely restates the schema's own caveat on requests_per_day. Baseline 3 is appropriate when the schema does the interpretive work.

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 specific verb and resource: 'Budget a supported public observability plan from explicit billing units.' The observability-vendor framing is concrete enough that an agent can separate it from token, RAG, or agent-loop calculators, though no sibling is named for explicit contrast.

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?

Usage is implied rather than stated: it establishes the prerequisites (provider, plan, provider-specific quantities) and rules out request count as a sufficient input, which is genuine when-to-use guidance. It does not say when to prefer this over other cost calculators or what the caller should do instead when a plan is unsupported.

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