PromptSpend

LLM pricing where every rate carries its source and the date it was last confirmed.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
100%
Vollständigkeit des Schemas
100%
Qualität der Benennung
93%
Risiko der Vergiftung
100%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~614Tokens (Tool-Definitionen)
~1.7 KBTypische Antwortgröße
Minimale Auswirkung auf die Aufmerksamkeit (0.48% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "promptspend": {
      "command": "npx",
      "args": [
        "@promptspend/mcp"
      ]
    }
  }
}

Ausführbare Pakete

npm@promptspend/mcp0.1.11stdio

Remote-Endpunkte

https://promptspend.dev/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (3)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢get_price(model_name, as_of)

List price for one LLM in USD per million tokens, with its source and last-confirmed date. Returns disputed=true when two sources disagree, and close matches when the model is unknown. To cost a workload, use estimate_cost.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "model_name": {
      "type": "string",
      "description": "Model id or name, e.g. gpt-5 or \"Claude Opus 5\"."
    },
    "as_of": {
      "type": "string",
      "description": "Past date YYYY-MM-DD: the rate published then."
    }
  },
  "required": [
    "model_name"
  ]
}
🟢estimate_cost(models, system_tokens, user_tokens, output_tokens, turns, ...)

Monthly cost of a described workload, or of measured usage, on each model. Accounts for history compounding, cache writes, long-context tiers and reasoning tokens. Use this instead of multiplying prices by hand.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "models": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Up to about 8."
    },
    "system_tokens": {
      "type": "number",
      "description": "System prompt size. Default 800."
    },
    "user_tokens": {
      "type": "number",
      "description": "Typical user message. Default 150."
    },
    "output_tokens": {
      "type": "number",
      "description": "Typical reply. Default 350."
    },
    "turns": {
      "type": "number",
      "description": "Turns per conversation. Default 4."
    },
    "conversations_per_day": {
      "type": "number",
      "description": "Default 1000."
    },
    "cached_input_share": {
      "type": "number",
      "description": "0-1. Default 0."
    },
    "reasoning_multiplier": {
      "type": "number",
      "description": "Bill output at this multiple. Default 1."
    },
    "use_batch_api": {
      "type": "boolean",
      "description": "Apply batch discounts."
    },
    "usage": {
      "type": "object",
      "description": "Measured totals to price instead: input, output, cache_read, cache_write tokens (input excludes cache reads).",
      "additionalProperties": {
        "type": "number"
      }
    }
  },
  "required": [
    "models"
  ]
}
🟢find_cheaper(model, min_capability, system_tokens, user_tokens, output_tokens, ...)

Cheaper models that score at or above the given one on capability, costed on the same workload. Returns candidates to test, not a recommendation.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "model": {
      "type": "string",
      "description": "The model currently in use."
    },
    "min_capability": {
      "type": "number",
      "description": "0-100. Defaults to the given model’s score."
    },
    "system_tokens": {
      "type": "number",
      "description": "Default 800."
    },
    "user_tokens": {
      "type": "number",
      "description": "Default 150."
    },
    "output_tokens": {
      "type": "number",
      "description": "Default 350."
    },
    "turns": {
      "type": "number",
      "description": "Default 4."
    },
    "conversations_per_day": {
      "type": "number",
      "description": "Default 1000."
    }
  },
  "required": [
    "model"
  ]
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet3 Tools
verifiziertVersion nicht aufgezeichnet3 Tools