{"uid":"cap_Jjpk22is0ovTJEivbbsxD","slug":"x-402-llm-pro-long-form-inference-68b8cf31","name":"x-402 LLM Pro (Long-form Inference)","description":"Get a long completion with a large output budget, same engine as /v1/llm. Long-form LLM inference: same engine as /v1/llm with a four times larger output budget, up to 8000 tokens, for answers the cheap route truncates. Body: {prompt, system?, max_tokens?}","url":"https://api.x-402.online/v1/llm/pro?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","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"usage":{"output_tokens":300},"output":"…"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-x3fR-Khn03FE3UJTKSug","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs long-form LLM inference with up to 8000 output tokens, providing extended answers that standard LLM endpoints would truncate.","exampleAgentPrompt":"Write me a thorough 2000-word technical overview of how transformer-based language models work, covering attention mechanisms, training, and inference — I need the full detailed answer, not a summary.","exampleUseCases":[{"title":"Full business plan generation","prompt":"Draft me a complete business plan for a B2B SaaS startup targeting HR departments — include market analysis, value proposition, go-to-market strategy, and financial projections. I need the full thing, not a skeleton."},{"title":"In-depth technical documentation","prompt":"Generate comprehensive API documentation for a REST service that manages user authentication, including all endpoints, request/response schemas, error codes, and example curl commands — the long version, please."},{"title":"Detailed research summary","prompt":"Give me an in-depth summary of the current state of quantum computing research, covering qubit types, error correction approaches, leading players, and near-term commercial prospects — I want the full detailed writeup, not just bullet points."}],"resultDescription":"The agent receives a generated text completion from the LLM with up to 8000 output tokens, suitable for long-form content, detailed explanations, extensive documents, and thorough analyses that would be truncated by standard inference endpoints.","failureModes":["Prompt too vague or empty — model may produce off-topic or minimal output","max_tokens set below actual needed length — response still truncated","Rate limiting or payment failure at $0.006 USDC per call — 402 payment required error","Model timeout on extremely complex prompts","Prompt injection in user-supplied content passed through to the model"],"whenToPreferThis":"Choose this endpoint when you need LLM-generated responses longer than ~2000 tokens — such as full documents, detailed reports, long essays, or complex multi-part answers — and the standard /v1/llm endpoint would truncate the output. Prefer this over the base LLM endpoint whenever completeness of the answer matters more than cost savings.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:32:15.328Z","isFirstParty":false,"canonicalSlug":"x-402-llm-pro-long-form-inference-68b8cf31"}