Skip to main content
Glama

x402_llmmodels_post_v1_m_provider_model

Sends a POST request to a chosen OpenRouter provider and model endpoint to run an LLM call, using per-call USDC pricing and an auto-synced catalog.

Instructions

llmmodels — Full OpenRouter catalog as per-model endpoints (440 models, auto-synced every 6h — new models appear automatically, removed models disappear). Each priced 3x worst-case cost ($0.001-$0.50); free upstream models $0.001 with rate-limit disclaimer. Live margin guard. [POST /v1/m/{provider}{model}] $0.002-0.405 USDC on eip155:8453. Example: /v1/m/qwenqwen3.5-flash-02-23

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402_llmmodels_post_v1_m_provider_model"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoJSON body for POST/PUT/PATCH/DELETE
queryNoQuery parameters, e.g. {base:'USD', quote:'EUR'}
restartNoExplicitly re-run a previously failed/unknown operation. Never set for unknown outcomes unless you know the paid call did not complete.
operationIdNoDurable operation id for this intent. Supply a stable id (e.g. your job/run id) to dedupe retries; omit to derive one from the arguments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

Score is being calculated.

Deploy Server

Other Tools