{"uid":"cap__7g-Vr0mOJei15_3JNYDS","slug":"code-snippet-explainer-dev-5090-uncensored-inference-48c7bfb5","name":"Code Snippet Explainer — dev-5090 Uncensored Inference","description":"Explain code snippet in plain English (paste code in message).","url":"https://biz-integral-pull-earrings.trycloudflare.com/v1/coder/explain?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"usage":{"type":"object"},"choices":{"type":"array"}}},"responseSchema":null,"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_p_EIawHSwO8lKgEFrnGor","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":"Takes a pasted code snippet and returns a plain-English explanation of what it does","exampleAgentPrompt":"Can you explain what this code does in plain English? Here's the snippet: `def fib(n): return n if n <= 1 else fib(n-1) + fib(n-2)`","exampleUseCases":[{"title":"Onboarding engineer understanding legacy code","prompt":"I inherited this JavaScript function and have no idea what it does — can you explain it in plain English? Here it is: `function memoize(fn) { const cache = {}; return function(...args) { const key = JSON.stringify(args); return cache[key] ?? (cache[key] = fn(...args)); }; }`"},{"title":"Non-developer reading a data pipeline script","prompt":"I'm not a programmer but my team sent me this Python snippet and I need to understand what it does before approving it — can you explain it in plain language? `import pandas as pd; df = pd.read_csv('data.csv'); df.dropna(inplace=True); df.to_csv('clean.csv', index=False)`"},{"title":"Code reviewer quickly understanding an unfamiliar algorithm","prompt":"Can you explain what this Go function is doing in plain English so I can write a meaningful code review comment? `func isPrime(n int) bool { for i := 2; i*i <= n; i++ { if n%i == 0 { return false } }; return n > 1 }`"}],"resultDescription":"A natural language, plain-English explanation of what the submitted code snippet does — covering its purpose, logic flow, inputs, outputs, and any notable implementation details. Response comes back in the choices array of a standard LLM completion format.","failureModes":["Empty or missing code snippet in the message body — may return a confused or generic response","Non-code content (e.g. prose) submitted — model may misinterpret the request","Very long code snippets may be truncated or produce incomplete explanations","Ambiguous or minified code may result in a vague or inaccurate explanation","Payment failure (402) if USDC balance is insufficient or x402 header is missing","Service unavailability due to Cloudflare Tunnel or self-hosted model going offline"],"whenToPreferThis":"Choose this endpoint when a developer or non-technical user needs a plain-English description of a code snippet — particularly useful for understanding unfamiliar code, onboarding, code review, or documentation tasks. Prefer this over general-purpose LLM APIs when you want a low-cost ($0.02/call), purpose-built explanation endpoint that doesn't require setting up API keys for a major provider. Not suitable for executing code, fixing bugs, or generating new code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T00:40:34.357Z","isFirstParty":false,"canonicalSlug":"code-snippet-explainer-dev-5090-uncensored-inference-48c7bfb5"}