{"uid":"cap_V6dvtxYOrv1UytokGz-Ox","slug":"auto-fiat-model-selector-179c86bb","name":"auto-fiat Model Selector","description":"Cheapest model meeting a quality bar and top 10 by value","url":"https://af-x402.auto-fiat.workers.dev/v1/models/best?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":{"task":{"enum":["general","json"],"type":"string"},"max_price":{"type":"number","maximum":100000,"minimum":0},"min_score":{"type":"number","maximum":100,"minimum":0}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["best","top10"],"properties":{"best":{"type":["object","null"]},"top10":{"type":"array","items":{"type":"object"}}}}}}}},"responseSchema":null,"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_W02_I6x4D10PfCnI9irOG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the cheapest AI model meeting a specified quality threshold, plus the top 10 models ranked by value","exampleAgentPrompt":"What's the cheapest AI model that scores at least 80 on quality for a general task, with a max price of 5000? Give me the best pick and the top 10 by value.","exampleUseCases":[{"title":"Budget-conscious LLM selection for chatbot","prompt":"I'm building a chatbot and want the cheapest model that still scores at least 70 on quality for general tasks — what's the best option and what are the top 10 value picks?"},{"title":"Cost-optimized JSON extraction pipeline","prompt":"For a JSON extraction pipeline, find me the best-value AI model with a minimum quality score of 85 and a max price of 10000, and show me the top 10 ranked by value."},{"title":"Automated model benchmarking for cost","prompt":"Can you pull the current top 10 AI models ranked by value, with no quality floor and no price ceiling, so I can see the full landscape?"}],"resultDescription":"Returns a JSON object with two fields: 'best', which is the single cheapest model meeting the requested quality bar (or null if none qualify), and 'top10', an array of up to 10 model objects ranked by value. Each model object contains pricing and quality metadata.","failureModes":["No model meets the specified min_score threshold — 'best' returns null","max_price set too low — no qualifying models found, best is null and top10 may be empty","Invalid query parameter values (e.g. min_score > 100) — validation error","Payment failure or missing x402 payment header — 402 Payment Required","Service unavailable or worker timeout — 5xx error"],"whenToPreferThis":"Use this endpoint when you need to programmatically select the most cost-effective AI model for a task without manually comparing provider pricing pages. It is especially valuable in automated pipelines that need to dynamically pick a model based on quality requirements and budget constraints, or when building cost-aware AI orchestration systems.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:34:02.091Z","isFirstParty":false,"canonicalSlug":"auto-fiat-model-selector-179c86bb"}