{"uid":"cap_LX-cqCX7Xl_k2e3wd8c3u","slug":"aayat-ai-ai-model-picker-8e5c7411","name":"Aayat AI – AI Model Picker","description":"Cheapest AI model that can do your job. Describe the task (or list needed features: tools, json, reasoning, vision...), expected input/output tokens and a quality level (budget/balanced/best); get the cheapest suitable models across all major providers with estimated USD cost per call and per 1,000 calls, from live prices. POST {task, inputTokens, outputTokens}.","url":"https://aayatai.com/ai/models/pick?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"task":{"type":"string","maxLength":1000,"description":"What the model must do, in plain words. An AI reads it to work out the needed features and quality."},"limit":{"type":"integer","default":10,"maximum":50,"minimum":1,"description":"How many ranked models to return."},"needs":{"type":"string","maxLength":100,"description":"Comma list of required features (added to any the task implies): tools, json, reasoning, vision, audio, files, web-search."},"quality":{"enum":["budget","balanced","best"],"type":"string","default":"balanced","description":"budget, balanced or best. If a task is given, the AI's judgement is used unless you set this to something other than balanced."},"providers":{"type":"string","maxLength":200,"description":"Only these providers, comma separated (e.g. anthropic,openai)."},"minContext":{"type":"integer","maximum":100000000,"minimum":0,"description":"Minimum context window (default: input + output tokens)."},"includeFree":{"type":"boolean","default":false,"description":"Include free, rate-limited variants."},"inputTokens":{"type":"integer","default":2000,"maximum":10000000,"minimum":1,"description":"Typical input (prompt) tokens per call."},"outputTokens":{"type":"integer","default":500,"maximum":1000000,"minimum":1,"description":"Typical output tokens per call."}}},"responseSchema":{"type":"json","example":{"method":"Hard filters (features, context, output limit, provider), a price-based quality floor, then cheapest estimated cost per call.","source":"OpenRouter","fetchedAt":"2026-09-28T12:00:00.000Z","candidates":[{"id":"google/gemini-2.5-flash","free":false,"name":"Google: Gemini 2.5 Flash","created":"2025-06-17","features":["tools","json","reasoning","vision","audio","files"],"provider":"google","inputPerMTok":0.3,"contextLength":1048576,"outputPerMTok":2.5,"perRequestUsd":0,"inputModalities":["text","image","file","audio"],"knowledgeCutoff":null,"maxOutputTokens":65535,"cachedInputPerMTok":0.075,"estimatedCostPerCallUsd":0.0019}],"considered":458,"recommended":{"id":"google/gemini-2.5-flash","free":false,"name":"Google: Gemini 2.5 Flash","created":"2025-06-17","features":["tools","json","reasoning","vision","audio","files"],"provider":"google","inputPerMTok":0.3,"contextLength":1048576,"outputPerMTok":2.5,"perRequestUsd":0,"inputModalities":["text","image","file","audio"],"knowledgeCutoff":null,"maxOutputTokens":65535,"cachedInputPerMTok":0.075,"estimatedCostPerCallUsd":0.0019,"estimatedCostPer1000CallsUsd":1.9},"requirements":{"needs":["json","vision"],"reason":"Reads images and returns structured data.","quality":"balanced","minContext":3400,"inputTokens":3000,"outputTokens":400}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3ooU7KxhEo2UmSzPbgNBW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Recommends and ranks AI models from OpenRouter based on task description, required features, token budget, and quality tier","exampleAgentPrompt":"Find me the best balanced model for a task that reads images and returns structured JSON data — I'm expecting about 3000 input tokens and 400 output tokens per call, and I need vision and JSON support. Return the top 5 options.","exampleUseCases":[{"title":"Cheapest vision model for image pipelines","prompt":"I'm building an image analysis pipeline. What's the most budget-friendly model that supports vision and JSON output, assuming 2000 input tokens and 300 output tokens per call? Show me the top 3 options."},{"title":"Best reasoning model for complex coding agent","prompt":"My coding agent needs strong reasoning and tool-calling support. It sends about 5000 input tokens and gets back 1000 output tokens per call. Find me the best quality model from OpenRouter that fits, and tell me the estimated cost per call."},{"title":"Cheapest OpenAI or Anthropic model with 100k context","prompt":"I need a model from either OpenAI or Anthropic with at least 100000 token context window, that supports function calling. My typical call is 4000 input tokens and 800 output tokens. What's the cheapest option?"}],"resultDescription":"Returns a ranked list of AI models (up to 50) from OpenRouter, each with name, provider, input/output pricing per million tokens, context length, supported features, estimated cost per call, and a top recommended model with a full explanation of how requirements were derived and matched.","failureModes":["Invalid or unsupported feature name in 'needs' field returns an error","Overly restrictive filters (provider + features + context) may return zero candidates","Payment failure via x402 if insufficient USDC balance on Base or Solana","Task description too vague may result in poor AI-inferred feature matching","minContext value exceeding available model limits returns empty candidate list"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically select the optimal LLM for a subtask — especially when balancing cost, capability (vision, tools, reasoning, JSON), and context window requirements. Prefer over manually hardcoding a model name, or when the best model may change over time. Ideal for agentic coding assistants, multi-model routing systems, or cost-optimization layers. No API key or account required — pay per call with USDC on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:46:09.866Z","isFirstParty":false,"canonicalSlug":"aayat-ai-ai-model-picker-8e5c7411"}