{"uid":"cap_rLn8SOfvI3dOHJoXzwRjo","slug":"llm-model-search-96aa1390","name":"LLM Model Search","description":"LLM Model Search ($0.004/call): Search the current LLM catalog by substring (matches id, name or provider) or, with no query, list the newest releases. Returns context window, input/output modalities and live USD-per-Mtok pricing - the up-to-date model facts an agent working from a stale training cutoff cannot know. Keyless.","url":"https://x402.botsmith.dev/models/search","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","required":["limit"],"properties":{"limit":{"type":"integer","default":10,"maximum":50,"minimum":1,"description":"Max results (default 10)"},"query":{"type":"string","maxLength":100,"description":"Substring to match against id/name/provider, e.g. \"kimi\" or \"anthropic\"; omit for newest"},"minContext":{"type":"integer","maximum":9007199254740991,"minimum":0,"description":"Only models with at least this many context tokens"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["count","totalMatched","models"],"properties":{"count":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"Models returned (after limit)"},"models":{"type":"array","items":{"type":"object","required":["id","name","provider","releasedAt","contextTokens","maxOutputTokens","inputModalities","outputModalities","priceInputPerMTok","priceOutputPerMTok"],"properties":{"id":{"type":"string","description":"Canonical id, e.g. \"moonshotai/kimi-k3\""},"name":{"anyOf":[{"type":"string"},{"type":"null"}]},"provider":{"anyOf":[{"type":"string"},{"type":"null"}]},"releasedAt":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"ISO 8601 first-seen date"},"contextTokens":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},{"type":"null"}]},"inputModalities":{"type":"array","items":{"type":"string"}},"maxOutputTokens":{"anyOf":[{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991},{"type":"null"}]},"outputModalities":{"type":"array","items":{"type":"string"}},"priceInputPerMTok":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"USD per 1M input tokens"},"priceOutputPerMTok":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"USD per 1M output tokens"}},"additionalProperties":false}},"totalMatched":{"type":"integer","maximum":9007199254740991,"minimum":-9007199254740991,"description":"Total matches before the limit"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SKcNhiWsqsRywNPxmF4MZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search the live LLM model catalog by name, provider, or ID substring — or list newest releases — returning context window, modalities, and current USD pricing per million tokens.","exampleAgentPrompt":"Search the LLM model catalog for all Anthropic models and show me their context window sizes and current input/output pricing — return up to 20 results.","exampleUseCases":null,"resultDescription":"A JSON object containing a count of matched models, total matched count, and an array of model records each with: canonical ID, name, provider, ISO 8601 first-seen date, context token count, max output tokens, input/output modalities arrays, and live USD pricing per million input and output tokens.","failureModes":["Query substring matches nothing — returns empty models array with count 0","minContext filter too high — no models meet threshold, returns empty results","limit parameter out of range (below 1 or above 50) — validation error","Network or upstream catalog failure — service unavailable error","Payment not processed — 402 response with payment details required"],"whenToPreferThis":"Use this endpoint when you need to discover, compare, or filter multiple LLM models — especially when your training data may be stale and you need live pricing or recently released models. Prefer the sibling LLM Model Lookup endpoint when you already know the exact model ID and need single-model detail. Use this search endpoint for exploratory queries like 'all models from provider X' or 'models with at least N context tokens'.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:34:55.444Z","isFirstParty":false}