{"uid":"cap_wcp5TcqhXFqt-xCFvgwSo","slug":"api-x-402-online-llm-inference-deepseek-12cb4956","name":"api.x-402.online LLM Inference (DeepSeek)","description":"LLM inference pay-per-call, no account: prompt in, completion out (fast frontier-lab mini model, up to 2000 output tokens). Body: {prompt, system?, max_tokens?}","url":"https://api.x-402.online/v1/llm","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":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_F3adCg9brtS-Gm1UcpQDr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pay-per-call LLM text completion using DeepSeek v4, no account or API key required, returning up to 2000 output tokens","exampleAgentPrompt":"Send this prompt to the DeepSeek LLM and give me back the completion: 'Explain the concept of quantum entanglement in simple terms' — use a system prompt that says 'You are a helpful science educator' and limit output to 500 tokens.","exampleUseCases":[{"title":"Quick customer support response draft","prompt":"I need to draft a response to an angry customer email right now. Use this message as context: 'Your product broke after two days and you won't help me.' Give me three different reply options, each under 300 tokens, that sound professional but empathetic — act like a support manager who wants to fix this."},{"title":"Real-time content brainstorm session","prompt":"I'm staring at a blank page for my blog post about AI trends. Give me five compelling headline ideas and a two-paragraph intro hook that would actually get readers interested — don't overthink it, just brainstorm like you're my creative partner."},{"title":"One-off code explanation lookup","prompt":"I found this function in a legacy codebase and have no idea what it does. Can you explain this Python code to me in plain English, like I'm not a programmer? Keep it under 400 tokens and tell me what could go wrong if someone uses it wrong."}],"resultDescription":"A text completion generated by DeepSeek v4, up to 2000 tokens, returned as the LLM's response to the provided prompt and optional system message.","failureModes":["Payment not received or underpaid — 402 Payment Required returned","Prompt missing from body — validation error","max_tokens exceeds 2000 — capped or rejected","Model unavailable or overloaded — 503 or timeout","Malformed JSON body — 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need quick, cheap, anonymous LLM inference (DeepSeek v4) without setting up an account or API key — ideal for one-off queries, agents that pay per call via x402/USDC micropayments, or situations where you want to avoid managing credentials. Best for short-to-medium completions up to 2000 tokens.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:49:03.866Z","isFirstParty":false}