{"uid":"cap_KxUQZ8tyVv1j-rRr8MTUU","slug":"llm-catalog-diff-452f80a9","name":"LLM Catalog Diff","description":"Use this when an agent has an older and a newer LLM catalog snapshot and needs a deterministic migration diff before changing routing or budgets. Rows are matched by vendor plus model, id or name. The result separates added, removed and changed models and reports field-level differences for input, output and cached-input price, context window and maximum output tokens.","url":"https://modell.halowerk.com/v1/llm-catalog-diff?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType"],"properties":{"type":{"const":"http"},"method":{"const":"POST"},"bodyType":{"const":"json"},"schemaUrl":{"type":"string","format":"uri"},"exampleUrl":{"type":"string","format":"uri"}},"additionalProperties":true},"output":{"type":"object","required":["type"],"properties":{"type":{"const":"json"},"schemaUrl":{"type":"string","format":"uri"},"exampleUrl":{"type":"string","format":"uri"}},"additionalProperties":true}},"additionalProperties":true},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m1L1t7luLhsMNm9D67FLk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a deterministic field-level diff between two LLM catalog snapshots, identifying added, removed, and changed models with per-field pricing and capability deltas.","exampleAgentPrompt":"I have last month's LLM catalog and today's updated one — can you diff them and tell me which models were added or removed, and exactly which pricing or context window fields changed for any existing models?","exampleUseCases":[{"title":"Pre-routing audit after vendor price change","prompt":"I scraped the OpenAI model list two weeks ago and again today. Before I update my router, can you compare these two snapshots and show me exactly which models had their input or output price change, and by how much?"},{"title":"Detect deprecated models before budget cycle","prompt":"We're setting next quarter's AI budget. Here are our LLM catalog from January and the current one — can you diff them and flag any models that were removed so we don't route traffic to something that no longer exists?"},{"title":"Identify newly released models for evaluation","prompt":"I've got our team's LLM catalog from last sprint and the one we just pulled. Can you diff them and list only the models that were newly added, along with their pricing and context window specs?"}],"resultDescription":"Returns a structured diff object with three sections: 'added' (models in the after snapshot but not before), 'removed' (models in the before snapshot but not after), and 'changed' (models present in both with field-level differences for input_price_per_million, output_price_per_million, cached_input_price_per_million, context_window, and max_output_tokens, showing before and after values for each changed field).","failureModes":["Missing required model identifier (model, id, or name) in any catalog entry returns a validation error","Empty array or array exceeding 500 items returns a schema validation error","Ambiguous model matching when vendor is omitted and model names collide across providers may cause unexpected diffs","Null values for pricing fields are treated as unknown and may produce misleading change reports if one snapshot has nulls and the other has values","Network timeout or payment failure returns a 402 or 5xx error"],"whenToPreferThis":"Use this endpoint when you need a deterministic, structured diff between two snapshots of an LLM catalog — especially before changing routing logic, updating budgets, or auditing for deprecated or newly added models. Prefer this over manually comparing catalog arrays when you need field-level granularity on pricing and capability changes across up to 500 models per snapshot. This is the right choice when traceability and reproducibility of catalog changes matter for downstream automation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:32:53.758Z","isFirstParty":false,"canonicalSlug":"llm-catalog-diff-452f80a9"}