{"uid":"cap_kF1oFvApLoCiorvXC9x0B","slug":"aayat-ai-ai-model-price-feature-lookup-d75aa7b6","name":"Aayat AI – AI Model Price & Feature Lookup","description":"Live prices and specs of 400+ AI models from every major provider (OpenAI, Anthropic, Google, Meta, Mistral, DeepSeek, Qwen...): USD per million input/output tokens, cached-input price, context length, max output, and features (tools, JSON, reasoning, vision). Filter by ?q=, provider, needs=tools,vision, minContext, maxInputPrice; sort by price, context or newest.","url":"https://aayatai.com/ai/models?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"q":{"type":"string","maxLength":80,"description":"Words to match in the model id or name, e.g. claude, gpt-5, llama."},"sort":{"enum":["price","context","newest"],"type":"string","default":"price","description":"price (cheapest first), context (largest first) or newest."},"limit":{"type":"integer","default":50,"maximum":200,"minimum":1,"description":"Most models to return."},"needs":{"type":"string","maxLength":100,"description":"Comma list of required features: tools, json, reasoning, vision, audio, files, web-search."},"provider":{"type":"string","maxLength":200,"description":"Comma list of providers, e.g. anthropic,openai,google."},"minContext":{"type":"integer","maximum":100000000,"minimum":0,"description":"Minimum context window in tokens."},"includeFree":{"type":"boolean","default":false,"description":"Include free (rate-limited) model variants."},"maxInputPrice":{"type":"number","maximum":1000,"minimum":0,"description":"Maximum USD per million input tokens."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["count","total","models","source","fetchedAt"],"properties":{"count":{"type":"integer"},"total":{"type":"integer","description":"Models matching before the limit."},"models":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"OpenRouter model id (provider/model)."},"free":{"type":"boolean"},"name":{"type":"string"},"created":{"type":["string","null"]},"features":{"type":"array","items":{"enum":["tools","json","reasoning","vision","audio","files","web-search"],"type":"string"}},"provider":{"type":"string"},"inputPerMTok":{"type":"number","description":"USD per million input tokens."},"contextLength":{"type":"integer"},"outputPerMTok":{"type":"number","description":"USD per million output tokens."},"perRequestUsd":{"type":"number"},"inputModalities":{"type":"array","items":{"type":"string"}},"knowledgeCutoff":{"type":["string","null"]},"maxOutputTokens":{"type":["integer","null"]},"cachedInputPerMTok":{"type":["number","null"]}}}},"source":{"type":"string"},"fetchedAt":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"count":1,"total":458,"models":[{"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}],"source":"OpenRouter","fetchedAt":"2026-09-28T12:00:00.000Z"}},"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_LLI8lRBhtQLnw0l40CV7I","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":"Search and filter AI language models by price, context window, features, and provider, returning ranked pricing data sourced from OpenRouter","exampleAgentPrompt":"Find me the cheapest AI model that supports tools and vision with at least a 128k context window — sort by price and show me the top 10 results.","exampleUseCases":[{"title":"Budget model selection for coding agent","prompt":"I need the cheapest model that supports tools and JSON output for my coding agent — show me the top 5 options sorted by price, maximum input price $2 per million tokens."},{"title":"Comparing large-context models from top providers","prompt":"Which models from Anthropic, OpenAI, and Google have the largest context windows? Sort by context length and show me the top 20."},{"title":"Finding a multimodal reasoning model","prompt":"I need a model that supports reasoning, vision, and audio input — what are my options sorted by price, and what do they cost per million tokens?"}],"resultDescription":"Returns a JSON object containing a list of AI models with their IDs, names, providers, per-million-token input and output prices, context window sizes, supported features, input modalities, knowledge cutoff dates, and creation dates. Also includes total count of matching models before the limit and data source attribution with fetch timestamp.","failureModes":["No models match the filter combination (empty models array, count 0)","Invalid feature name in 'needs' parameter returns error or empty results","Invalid sort enum value causes request rejection","minContext or maxInputPrice values outside allowed range cause validation error","Payment failure via x402 if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically select the best LLM for a task based on cost, capability, or context constraints — especially useful for coding agents or orchestration layers dynamically routing to the cheapest capable model. Prefer over manual research or static model lists when you need up-to-date pricing from OpenRouter across hundreds of models. Ideal for cost-optimization workflows or when building model selection logic into an agent pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T18:44:52.415Z","isFirstParty":false,"canonicalSlug":"aayat-ai-ai-model-price-feature-lookup-d75aa7b6"}