{"uid":"cap_V-rWR333dC4PcxW5S8CUz","slug":"whatchuneed-llm-batch-processing-bb9d4729","name":"whatchuneed LLM Batch Processing","description":"320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.","url":"https://whatchuneed.vercel.app/api/llm/batch","method":"POST","headers":{},"bodySchema":{"type":"object","required":["items"],"properties":{"task":{"type":"string"},"items":{"type":"array"}}},"responseSchema":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object"}},"error_count":{"type":"integer"},"success_count":{"type":"integer"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TsaomHLdbqkS6xudhvz9I","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Submits a batch of items to be processed by a large language model in a single pay-per-call API request, returning structured results for each item.","exampleAgentPrompt":"Process this list of 10 customer reviews using the task 'classify sentiment as positive, negative, or neutral' and give me back the results for each one in a single batch call.","exampleUseCases":[{"title":"Batch sentiment classification of reviews","prompt":"I have a list of 50 product reviews — can you run them all through the LLM with the task 'classify each as positive, negative, or neutral' in one shot and tell me how many succeeded?"},{"title":"Bulk entity extraction from documents","prompt":"Take these 20 news article snippets and apply the task 'extract all named entities (people, organizations, locations)' to all of them at once, then give me the results in a structured list."},{"title":"Mass content moderation flagging","prompt":"I need to screen these 100 user-submitted comments for policy violations — run them through the LLM with the task 'flag any content that contains hate speech, spam, or explicit material' and report back how many were flagged."}],"resultDescription":"Returns an array of per-item LLM results, along with integer counts of how many items succeeded and how many encountered errors, allowing the caller to audit batch quality at a glance.","failureModes":["Missing required 'items' array returns a validation error","Empty items array may return zero results with no errors","Individual items within the batch may fail independently, reflected in error_count","Malformed item objects may cause partial batch failures","Payment failure via x402 protocol blocks the entire request","Rate limiting or quota exhaustion may reject the request entirely"],"whenToPreferThis":"Choose this endpoint when you need to apply a single LLM task instruction uniformly across multiple inputs in one API call, avoiding the overhead of many individual requests. It is especially useful for bulk classification, extraction, or summarization workflows where cost efficiency (single $0.1 USDC payment per batch) and consolidated error reporting matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:56:41.180Z","isFirstParty":false}