You're viewing a demo portfolio

Join the waitlist
PRSM

quote_price

Active

Tool of LMX Cloud LLM Inference

declared in 0.4.0

Estimate USDC cost for a single model call. Uses GET /v1/pricing with model and token params.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "model"
  ],
  "properties": {
    "model": {
      "type": "string",
      "minLength": 1,
      "description": "Model alias to quote (e.g. llama-3-70b)."
    },
    "api_key": {
      "type": "string",
      "pattern": "^lmx_[0-9a-f]{32}$",
      "description": "Optional LMX API key (lmx_...). Prefer MCP client Authorization header or env; use this to override per call."
    },
    "max_tokens": {
      "type": "integer",
      "maximum": 4096,
      "description": "Optional max completion tokens for the quote.",
      "exclusiveMinimum": 0
    },
    "prompt_tokens": {
      "type": "integer",
      "maximum": 128000,
      "description": "Optional estimated prompt tokens (default: 1).",
      "exclusiveMinimum": 0
    }
  },
  "additionalProperties": false
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

LMX Cloud LLM Inference

1/7 registries
View full server →
quote_price — LMX Cloud LLM Inference — PRSM MCP