{"uid":"cap_ysCJiq0RHXy6LnkLNeUqO","slug":"umbra-private-llm-inference-anthropic-compatible-da29f5b4","name":"Umbra Private LLM Inference (Anthropic-compatible)","description":"Private LLM inference, Anthropic-compatible. Sealed open models in TDX + GPU enclaves or Claude; streaming and tool calling; signed Ed25519 receipt naming the attested enclaves; zero retention. Pay per request in USDG, USDC (Base, Solana) or UMBRA.","url":"https://umbra-inference.app/v1/messages?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"model id from GET /v1/models (sealed: open models in TDX + GPU enclaves; standard: Claude)"},"tools":{"type":"array","description":"Anthropic tools"},"stream":{"type":"boolean","description":"server-sent events; paid upfront, unused ceiling refunded on-chain"},"system":{"type":"string"},"messages":{"type":"array","description":"Anthropic messages (user, assistant; tool_use / tool_result blocks)"},"max_tokens":{"type":"integer","description":"output cap; sets the price ceiling quoted in the 402"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.021366","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.021366/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.021366","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.021366","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_DPu-VCrb02vq37dgqgLVg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.021366","costPer":"request","priority":0,"asset":"0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs Anthropic-compatible LLM inference inside hardware-attested TDX+GPU enclaves with zero data retention, returning a signed Ed25519 receipt; pay-per-request via USDC/USDG/UMBRA.","exampleAgentPrompt":"Run my conversation through Umbra's private enclave inference — use the claude-3-5-sonnet model, keep it to 1024 max tokens, and stream the response; here are my messages: [{\"role\":\"user\",\"content\":\"Summarize the risks of on-chain data exposure for DeFi users.\"}]","exampleUseCases":[{"title":"Confidential legal document drafting","prompt":"I need to draft a sensitive NDA clause using an LLM but I cannot let any provider retain the text — run this through Umbra with the sealed enclave model, stream the output, and cap it at 2048 tokens: system: 'You are a contract lawyer', user: 'Draft a mutual NDA confidentiality clause for two fintech startups.'"},{"title":"Private agentic tool-calling workflow","prompt":"Use Umbra's attested inference to run a tool-calling loop for me — load the claude-3-5-sonnet model with my web_search tool definition, 512 max tokens, no streaming, and ask it: 'What are today's top Ethereum gas prices?'"},{"title":"Zero-retention medical query assistance","prompt":"I want to ask a health question through a private AI that provably retains nothing — use Umbra with a sealed open model, 1024 max tokens, and send: 'Explain the drug interactions between metformin and ibuprofen in plain language.'"}],"resultDescription":"Returns an Anthropic-formatted response object (or SSE stream) containing the assistant message or tool_use blocks, plus a signed Ed25519 receipt identifying the attested TDX+GPU enclaves that processed the request. Any unused token ceiling from streamed requests is refunded on-chain.","failureModes":["Payment failure or insufficient balance returns HTTP 402 with a payment-required challenge","Invalid model ID returns 400 with model-not-found error","Exceeded max_tokens cap causes truncated response or pricing error","Enclave attestation failure returns 503 service unavailable","Malformed Anthropic messages array returns 422 validation error","Network interruption during streaming may leave partial SSE stream with no on-chain refund trigger"],"whenToPreferThis":"Choose this endpoint when your use case requires verifiable data privacy (zero retention), hardware-attested confidential compute, or crypto-native per-request payments (USDC/USDG/UMBRA). It is the right choice over standard Anthropic or OpenAI APIs whenever the user's prompt contains sensitive data (legal, medical, financial) that must not be logged, or when you need a cryptographic proof (Ed25519 receipt) of which enclave processed the request. Prefer the OpenAI-compatible sibling endpoint if your stack uses OpenAI SDK conventions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:31:12.820Z","isFirstParty":false,"canonicalSlug":"umbra-private-llm-inference-anthropic-compatible-da29f5b4"}