{"slug":"api-agentweather-io-v1-decide-cheapest-model-7d307b","title":"Use when an agent needs the lowest listed price among models meeting hard needs ","host":"api.agentweather.io","method":"GET","resource":"https://api.agentweather.io/v1/decide/cheapest-model","category":"market","description":"Use when an agent needs the lowest listed price among models meeting hard needs (context, price cap, capability), plus a fallback reading. Pre-flight reading: the AI model with the lowest listed price on OpenRouter among those meeting your needs (min_context, max_input_per_1m, max_output_per_1m, ma…","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":262,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:8453","xrpl:0"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"capability":"tools","max_job_cost_usd":"0.01","min_context":"128000"},"type":"http"},"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"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":262,"error":null}],"description_full":"Use when an agent needs the lowest listed price among models meeting hard needs (context, price cap, capability), plus a fallback reading. Pre-flight reading: the AI model with the lowest listed price on OpenRouter among those meeting your needs (min_context, max_input_per_1m, max_output_per_1m, ma…","last_updated":"2026-10-16T08:18:51.718Z","schemes":["exact"]}