You're viewing a demo portfolio

Join the waitlist
PRSM

token_calculator

Active

Tool of io.github.lazymac2x/ai-cost-optimizer

declared in 2.0.0

Calculate cost from token counts for any supported AI model. Stateless — no KV required.

Parameters schema

{
  "type": "object",
  "required": [
    "model",
    "inputTokens",
    "outputTokens"
  ],
  "properties": {
    "model": {
      "type": "string",
      "description": "Model ID to price"
    },
    "inputTokens": {
      "type": "number",
      "description": "Input token count"
    },
    "outputTokens": {
      "type": "number",
      "description": "Output token count"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

io.github.lazymac2x/ai-cost-optimizer

https://github.com/lazymac2x/ai-cost-optimizer-api

1/7 registries
View full server →
token_calculator — io.github.lazymac2x/ai-cost-optimizer — PRSM MCP