Api Endpoint

Agent Weather

Lowest listed models.dev price among models meeting your needs (min_context, max_input_per_1m, max_output_per_1m, max_job_cost_usd, capability, vendor, exclude_vendor), plus the next-lowest from a different vendor, with reasons, excluded counts and vendor status-page readings, each with source and …

Open interactive test console

Offering

Provider
api.agentweather.io
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Api
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.agentweather.io/v1/decide/cheapest-model
MIME type
application/json
First seen
2026-10-16T04:15:40.848Z
Last seen
Tags
AI-agents, status, MCP, X402, XRPL

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.003 USDC
Atomic price: 3000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
3000000000000000 atomic units
Atomic price: 3000000000000000 · Network: eip155:8453 · Asset: 0x8d58C0C60B8D6b88Fa98B291a646dB34d0F98258 · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "payTo": "0xA15c55f39Ec1dfd87Afb09e1959EFac2Bf44F4Ec"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x8d58C0C60B8D6b88Fa98B291a646dB34d0F98258",
    "amount": "3000000000000000",
    "payTo": "0xA15c55f39Ec1dfd87Afb09e1959EFac2Bf44F4Ec"
  }
]

Observed health

Status
Healthy
Latest latency
123 ms
Average latency
577 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "min_context": {
          "type": "string",
          "description": "minimum context length in tokens"
        },
        "max_input_per_1m": {
          "type": "string",
          "description": "max input USD per 1M tokens"
        },
        "max_output_per_1m": {
          "type": "string",
          "description": "max output USD per 1M tokens"
        },
        "max_job_cost_usd": {
          "type": "string",
          "description": "max USD for 10k in + 1k out tokens"
        },
        "capability": {
          "type": "string",
          "description": "comma list: reasoning, coding, vision-input, image-output, audio, free-tier, tools, structured-output"
        },
        "vendor": {
          "type": "string",
          "description": "comma list of allowed vendors"
        },
        "exclude_vendor": {
          "type": "string",
          "description": "comma list of vendors to skip"
        },
        "include_free": {
          "type": "string",
          "description": "true to allow free tiers"
        },
        "allow_disturbed": {
          "type": "string",
          "description": "true to allow disturbed vendors"
        },
        "exclude_retiring_days": {
          "type": "string",
          "description": "skip models retiring within N days (default 30)"
        }
      },
      "required": [],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method",
    "queryParams"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "allow_disturbed": {
              "description": "true to allow disturbed vendors",
              "type": "string"
            },
            "capability": {
              "description": "comma list: reasoning, coding, vision-input, image-output, audio, free-tier, tools, structured-output",
              "type": "string"
            },
            "exclude_retiring_days": {
              "description": "skip models retiring within N days (default 30)",
              "type": "string"
            },
            "exclude_vendor": {
              "description": "comma list of vendors to skip",
              "type": "string"
            },
            "include_free": {
              "description": "true to allow free tiers",
              "type": "string"
            },
            "max_input_per_1m": {
              "description": "max input USD per 1M tokens",
              "type": "string"
            },
            "max_job_cost_usd": {
              "description": "max USD for 10k in + 1k out tokens",
              "type": "string"
            },
            "max_output_per_1m": {
              "description": "max output USD per 1M tokens",
              "type": "string"
            },
            "min_context": {
              "description": "minimum context length in tokens",
              "type": "string"
            },
            "vendor": {
              "description": "comma list of allowed vendors",
              "type": "string"
            }
          },
          "required": [],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "queryParams"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": true,
          "properties": {
            "action": {},
            "decision": {},
            "fallback": {},
            "pick": {},
            "rules": {},
            "summary": {}
          },
          "required": [
            "decision",
            "action",
            "summary",
            "pick",
            "fallback",
            "rules"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}