{"uid":"cap_y1eu7BAv-21_WBUid-i5k","slug":"x402-shizu-me-ask-pro-claude-sonnet-llm-completion-2eb5a299","name":"x402.shizu.me /ask-pro — Claude Sonnet LLM Completion","description":"Smarter-model LLM completion at a flat price — Claude Sonnet for harder reasoning, analysis, and writing. Same simple contract as /ask: body {prompt (required), system?, max_tokens? (<=512), temperature?}; prompt up to 5000 utf-8 bytes. Stateless; prompts never logged. Returns {model, text, stop_reason, usage}.","url":"https://x402.shizu.me/ask-pro?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"prompt":{},"max_tokens":{}}},"responseSchema":{"type":"json","example":{"text":"Fixed pricing trades cost efficiency for predictability...","model":"claude-sonnet-5","usage":{"input_tokens":18,"output_tokens":312},"stop_reason":"end_turn"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Bi69ySkRJ7Hl_1gJ0GcWL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a user prompt through Claude Sonnet (a capable reasoning model) and returns a text completion, stateless and pay-per-call via x402.","exampleAgentPrompt":"Using the smarter Claude Sonnet model, analyze the following contract clause and explain what risks it poses to a small business owner: 'The licensor reserves the right to revoke access at any time without notice or refund.'","exampleUseCases":[{"title":"Complex legal clause analysis","prompt":"I need a thorough analysis of this clause from a software agreement — use the more powerful reasoning model: 'Vendor may collect anonymized usage data and share it with third-party analytics partners.' What are the privacy implications and what should I push back on?"},{"title":"Hard technical writing task","prompt":"Write a clear, detailed explanation of how Byzantine fault tolerance works in distributed systems — I want something accurate enough for an engineering audience, so use the stronger model for this one."},{"title":"Multi-step business reasoning","prompt":"Help me think through whether it makes sense for my 10-person startup to switch from AWS to GCP — consider cost, migration risk, tooling, and long-term lock-in. Use the smarter model so I get a genuinely careful analysis."}],"resultDescription":"Returns a JSON object with: model (the model identifier used, e.g. claude-sonnet), text (the generated completion string), stop_reason (why generation stopped, e.g. end_turn or max_tokens), and usage (token counts for prompt and completion).","failureModes":["prompt exceeds 5000 UTF-8 bytes — request rejected","max_tokens set above 512 — request rejected or clamped","malformed JSON body missing required prompt field — 400 error","payment not included or insufficient — 402 Payment Required","model unavailable or upstream timeout — 5xx error"],"whenToPreferThis":"Choose /ask-pro over the basic /ask endpoint when the task requires stronger reasoning, nuanced writing, or careful multi-step analysis and the $0.05 per-call price is acceptable. Prefer this over setting up a direct Anthropic API key when you want zero-signup, pay-per-call access to Claude Sonnet without managing credentials or billing. Not ideal for high-volume cheap completions where the basic /ask model suffices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:52:58.976Z","isFirstParty":false,"canonicalSlug":"x402-shizu-me-ask-pro-claude-sonnet-llm-completion-2eb5a299"}