{
  "x402Version": 1,
  "service": "ai-api-radar",
  "description": "Agent-payable live LLM API price/status feed — programmatically route to the cheapest operational model, read exclusive per-model price history, and subscribe to price-cut alerts.",
  "discoverable": true,
  "homepage": "https://aiapi.dropwatchhq.com",
  "mcp": {
    "endpoint": "https://aiapi.dropwatchhq.com/mcp",
    "transport": "streamable-http",
    "protocol": "mcp"
  },
  "payment": {
    "scheme": "exact",
    "network": "base",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "assetName": "USD Coin",
    "decimals": 6,
    "payTo": "0x38134a7F97636E26365Fb17405566595B917a341",
    "facilitator": "https://facilitator.payai.network",
    "facilitators": [
      {
        "name": "payai",
        "url": "https://facilitator.payai.network",
        "keyless": true,
        "role": "settlement"
      },
      {
        "name": "coinbase-cdp",
        "url": "https://api.cdp.coinbase.com/platform/v2/x402",
        "keyless": false,
        "role": "settlement+discovery",
        "bazaar": {
          "list": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
          "search": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/search",
          "docs": "https://docs.cdp.coinbase.com/x402/bazaar"
        }
      }
    ],
    "keyless": true
  },
  "discovery": {
    "bazaar": "https://docs.cdp.coinbase.com/x402/bazaar",
    "list": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "search": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/search",
    "note": "This resource advertises the Coinbase CDP facilitator as a second settlement path; the CDP Bazaar indexes it on first CDP-settled call."
  },
  "paidTools": [
    {
      "tool": "cheapest_model",
      "type": "mcp-tool",
      "transport": "mcp",
      "endpoint": "https://aiapi.dropwatchhq.com/mcp",
      "method": "POST tools/call (x402 challenge rides in the tool result)",
      "description": "Rank the cheapest currently-OPERATIONAL LLM API models meeting a task/context constraint, by live blended USD/1M-token cost across 11 providers (OpenAI, Anthropic, Gemini, Mistral, Cohere, Groq, DeepSeek, xAI, Together, Fireworks, OpenRouter). For an agent that wants to route each call to the cheapest model that still meets its context + capability needs, with provider status factored in.",
      "inputSchema": {
        "type": "object",
        "description": "Constraints the cheapest operational model must satisfy. All fields optional — omit to rank the whole field by blended cost.",
        "properties": {
          "minContext": {
            "type": "number",
            "description": "Minimum context window (tokens) the model must support, e.g. 128000."
          },
          "maxInputPrice": {
            "type": "number",
            "description": "Cap on input price in USD per 1M tokens."
          },
          "maxOutputPrice": {
            "type": "number",
            "description": "Cap on output price in USD per 1M tokens."
          },
          "inputOutputRatio": {
            "type": "number",
            "description": "Assumed input:output token ratio for the blended cost (default 3:1)."
          },
          "requireOperational": {
            "type": "boolean",
            "description": "Exclude providers currently degraded/down (default true)."
          },
          "capabilities": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Required capabilities, e.g. ['vision','tools','json']."
          },
          "limit": {
            "type": "number",
            "description": "Max ranked models to return (default 20)."
          }
        }
      },
      "outputSchema": {
        "type": "object",
        "description": "Ranked cheapest operational models meeting the constraint, with live blended cost and provider status.",
        "properties": {
          "asOf": {
            "type": "string",
            "format": "date-time",
            "description": "When the prices/status were last observed."
          },
          "models": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "rank": {
                  "type": "number"
                },
                "provider": {
                  "type": "string",
                  "description": "API provider, e.g. 'OpenAI','Anthropic','Gemini'."
                },
                "model": {
                  "type": "string",
                  "description": "Model id."
                },
                "inputPrice": {
                  "type": "number",
                  "description": "USD per 1M input tokens."
                },
                "outputPrice": {
                  "type": "number",
                  "description": "USD per 1M output tokens."
                },
                "blendedPrice": {
                  "type": "number",
                  "description": "USD per 1M tokens at the assumed ratio."
                },
                "contextWindow": {
                  "type": "number",
                  "description": "Max context tokens."
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "operational",
                    "degraded",
                    "down"
                  ],
                  "description": "Live provider status."
                }
              }
            }
          }
        }
      },
      "discoverable": true,
      "price": {
        "scheme": "exact",
        "network": "base",
        "maxAmountRequired": "10000",
        "amountUSD": "$0.01",
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2"
        },
        "decimals": 6
      },
      "payTo": "0x38134a7F97636E26365Fb17405566595B917a341",
      "resource": "https://aiapi.dropwatchhq.com/mcp#cheapest_model",
      "facilitators": [
        {
          "name": "payai",
          "url": "https://facilitator.payai.network",
          "keyless": true,
          "role": "settlement"
        },
        {
          "name": "coinbase-cdp",
          "url": "https://api.cdp.coinbase.com/platform/v2/x402",
          "keyless": false,
          "role": "settlement+discovery",
          "bazaar": {
            "list": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
            "search": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/search",
            "docs": "https://docs.cdp.coinbase.com/x402/bazaar"
          }
        }
      ]
    },
    {
      "tool": "price_history",
      "type": "mcp-tool",
      "transport": "mcp",
      "endpoint": "https://aiapi.dropwatchhq.com/mcp",
      "method": "POST tools/call (x402 challenge rides in the tool result)",
      "description": "Return the full append-only $/M-token price time-series for one named LLM model — the only public per-model price HISTORY. For agents/analysts tracking when a provider cut or raised a model's price over time.",
      "inputSchema": {
        "type": "object",
        "description": "Identify the model whose append-only price time-series to return.",
        "properties": {
          "provider": {
            "type": "string",
            "description": "Provider name, e.g. 'Anthropic'."
          },
          "model": {
            "type": "string",
            "description": "Model id whose price history to return."
          },
          "since": {
            "type": "string",
            "format": "date",
            "description": "Only return observations on/after this date (optional)."
          }
        },
        "required": [
          "model"
        ]
      },
      "outputSchema": {
        "type": "object",
        "description": "Append-only $/M-token price time-series for one model — the moat nobody else keeps.",
        "properties": {
          "provider": {
            "type": "string"
          },
          "model": {
            "type": "string"
          },
          "history": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "observed_at": {
                  "type": "string",
                  "format": "date-time",
                  "description": "When this price was first observed."
                },
                "inputPrice": {
                  "type": "number",
                  "description": "USD per 1M input tokens at that time."
                },
                "outputPrice": {
                  "type": "number",
                  "description": "USD per 1M output tokens at that time."
                }
              }
            }
          }
        }
      },
      "discoverable": true,
      "price": {
        "scheme": "exact",
        "network": "base",
        "maxAmountRequired": "10000",
        "amountUSD": "$0.01",
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2"
        },
        "decimals": 6
      },
      "payTo": "0x38134a7F97636E26365Fb17405566595B917a341",
      "resource": "https://aiapi.dropwatchhq.com/mcp#price_history",
      "facilitators": [
        {
          "name": "payai",
          "url": "https://facilitator.payai.network",
          "keyless": true,
          "role": "settlement"
        },
        {
          "name": "coinbase-cdp",
          "url": "https://api.cdp.coinbase.com/platform/v2/x402",
          "keyless": false,
          "role": "settlement+discovery",
          "bazaar": {
            "list": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
            "search": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/search",
            "docs": "https://docs.cdp.coinbase.com/x402/bazaar"
          }
        }
      ]
    }
  ],
  "freeTools": [
    {
      "tool": "status",
      "description": "Current operational status for one or all AI API providers.",
      "price": "free"
    },
    {
      "tool": "price_change_alerts",
      "description": "Subscribe a webhook to provider price changes, or read recent changes.",
      "price": "free"
    }
  ],
  "docs": {
    "llms": "https://aiapi.dropwatchhq.com/llms.txt",
    "spec": "https://github.com/coinbase/x402"
  },
  "directory": {
    "catalog": "https://x402.dropwatchhq.com/x402",
    "catalogJson": "https://x402.dropwatchhq.com/x402.json",
    "description": "Full directory of dropwatchhq agent-payable x402 tools (USDC on Base, keyless)."
  }
}