{"uid":"cap_IAyY1wcihJSWBKJYKxD_j","slug":"llm-cost-quote-via-openrouter-2bdad04c","name":"LLM Cost Quote via OpenRouter","description":"Cost quote per model from OpenRouter public /models (keyless), cheapest first.","url":"https://x402-v2-mint-llm-cost-quote.vercel.app/v1/llm-cost-quote?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"top":{"type":"integer","default":10,"maximum":50,"minimum":1},"text":{"type":"string"},"models":{"type":"array","items":{"type":"string"}},"request_id":{"type":"string"},"include_free":{"type":"boolean","default":false},"input_tokens":{"type":"integer","minimum":0},"output_tokens":{"type":"integer","default":500,"minimum":0}}},"responseSchema":{"type":"json","example":{"ok":true,"skill":"llm-cost-quote","charged":true,"summary":"ok"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XI30CtvxyGxtQxtSQChiM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a ranked list of LLM model costs (cheapest first) for a given prompt size, sourced from OpenRouter's public model catalog without requiring an API key.","exampleAgentPrompt":"Show me the top 10 cheapest LLM models on OpenRouter for a prompt with 1000 input tokens and 500 output tokens, excluding free models — ranked cheapest first.","exampleUseCases":[{"title":"Budget-aware model selection for chatbot","prompt":"I'm building a chatbot and want to keep costs low. Can you find the 10 cheapest LLM models on OpenRouter for 200 input tokens and 300 output tokens, paid models only, so I can pick one within my budget?"},{"title":"Comparing specific models by cost","prompt":"I'm deciding between GPT-4o, Claude 3 Haiku, and Mistral 7B. Can you get me a cost quote for each of those models assuming 1500 input tokens and 500 output tokens?"},{"title":"Finding free or near-free models for prototyping","prompt":"I need to prototype something without spending money — show me the top 5 cheapest LLM models available on OpenRouter for 800 input tokens and 200 output tokens, and include free models in the results."}],"resultDescription":"A JSON response containing an ordered list of LLM models ranked cheapest first, with estimated costs based on the specified input/output token counts. Includes model names, per-token pricing, and total estimated cost for the given parameters. The response also confirms whether the call was charged and the skill name.","failureModes":["Invalid token counts (negative integers) return validation error","top parameter exceeds maximum of 50 returns error","OpenRouter public model data temporarily unavailable causes upstream failure","Malformed model names in models array may return no matches","Payment not completed (x402 protocol) causes request to be rejected before processing"],"whenToPreferThis":"Use this endpoint when you need a quick, keyless cost comparison of LLM models from OpenRouter sorted by price. It is ideal for cost-optimization workflows, agent routing decisions (pick cheapest capable model), or budgeting LLM usage without needing your own OpenRouter API key. Prefer this over querying OpenRouter directly when you want pre-sorted, cost-ranked results without API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T06:37:21.687Z","isFirstParty":false,"canonicalSlug":"llm-cost-quote-via-openrouter-2bdad04c"}