{"uid":"cap_svGE82m-fMnhJprx9t8sH","slug":"stack-facts-llm-model-pricing-lookup-8b5d2df8","name":"Stack Facts LLM Model Pricing Lookup","description":"Check a package before install: malware, known vulnerabilities (OSV), exploited CVEs (CISA KEV) and end-of-life, plus LLM prices; signed answers, pay per call in USDC, no account or API key.","url":"https://g5joilnmeep4ntz3nwezxt5dmu.srv.us/v1/models/%7Bprovider%7D/%7Bmodel%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"id":"openai/gpt-4o","mode":"chat","name":"GPT-4o","model":"gpt-4o","status":null,"vision":true,"aliases":[],"sources":{"litellm":true,"modelsdev":true},"provider":"openai","reasoning":false,"tool_call":true,"deprecated":false,"release_date":"2024-05-13","context_tokens":128000,"deprecation_date":null,"input_modalities":["text"],"knowledge_cutoff":"2023-09","sources_disagree":["input_usd_per_mtok"],"max_output_tokens":16384,"output_modalities":["text"],"input_usd_per_mtok":2,"output_usd_per_mtok":10,"days_until_deprecation":null,"cache_read_usd_per_mtok":1.25,"cache_write_usd_per_mtok":null},"meta":{"as_of":"2026-10-09T06:00:00Z","stale":false,"key_id":"sf-test-1","notice":"Normalised (modified) from the …","sha256":"f99d55c9aa420561de698d63d70d916…","source":"https://raw.githubusercontent.c…","dataset":"models","licence":"MIT","signature":"AvlI5FXM8fD9oncZAr9velQseOBO9X7…","attribution":"Pricing data derived from LiteL…","snapshot_id":"models-20261009T060000Z-f99d55c9","manifest_url":"/v1/models/manifest","retrieved_at":"2026-10-09T06: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_Zpftf0MyJGOc3F4sPPl7-","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 structured pricing, capabilities, and metadata for a specific LLM model by provider and model name, with a cryptographically signed response paid per-call in USDC.","exampleAgentPrompt":"What are the current input and output token prices for OpenAI's GPT-4o, and does it support vision and tool calls?","exampleUseCases":[{"title":"LLM cost estimation for agent pipeline","prompt":"Before I build this pipeline, can you look up the current per-token pricing for openai/gpt-4o so I can estimate my monthly API costs?"},{"title":"Check if model supports tool calling","prompt":"Does anthropic/claude-3-5-sonnet support tool calls and vision? Pull the current metadata so I know whether to use it for my function-calling workflow."},{"title":"Verify model is not deprecated","prompt":"I'm using google/gemini-pro in production — can you confirm it's still active and not deprecated, and tell me when it was released and what its context window is?"}],"resultDescription":"A signed JSON object containing the model's full metadata: input/output/cache pricing in USD per million tokens, context window, max output tokens, supported modalities (text, vision), tool call support, reasoning flag, release and deprecation dates, knowledge cutoff, aliases, and source agreement flags. Also includes a meta block with snapshot ID, SHA256 hash, cryptographic signature, dataset license, and staleness indicator.","failureModes":["Unknown provider or model name returns 404 or empty data","Payment failure (insufficient USDC balance) returns 402 before serving data","Stale data flag set to true if dataset hasn't been refreshed recently","sources_disagree field populated when LiteLL and models.dev differ on pricing","Signature verification failure if response is tampered in transit"],"whenToPreferThis":"Choose this endpoint when you need authoritative, signed, up-to-date LLM pricing and capability data without creating an account or managing API keys. Ideal for AI agents that need to dynamically look up model costs before routing requests, compare models programmatically, or verify model capabilities (vision, tool calls, reasoning). Prefer this over scraping provider docs or using LiteLLM's local config when you need a trustless, cryptographically verifiable answer with clear provenance and pay-per-call economics.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:45:16.627Z","isFirstParty":false,"canonicalSlug":"stack-facts-llm-model-pricing-lookup-8b5d2df8"}