{"uid":"cap_Ub-wFlAxY8nLpKcvYAJtj","slug":"stride-gateway-llm-inference-claude-haiku-4-5-via-x402-a898dec6","name":"Stride Gateway LLM Inference (Claude Haiku 4.5 via x402)","description":"LLM inference over x402: POST a prompt (JSON body), get raw model output. Flat $0.05 per call (or metered pay-actual-usage when the upto scheme is on); every response prints tokens, upstream cost, margin, and the charge. Model: Anthropic Claude Haiku 4.5 via OpenRouter — no API key, bring a wallet. AI lane declared (aiUse: model-output): model output sold as model output, no system prompt injected. We never store prompts or completions; per-call and daily spend caps enforced.","url":"https://gateway.stride20k.com/v1/run","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"ok":true,"data":{"note":"Raw model output sold as model output (aiUse: model-output). Flat exact pricing: charged = the advertised route price regardless of usage; upstream cost and margin are printed for transparency. Metered upto pricing (pay actual usage) activates when this gateway enables the upto scheme. Prompts and completions are not stored.","model":"anthropic/claude-haiku-4.5","usage":{"promptTokens":13,"completionTokens":5},"output":"pong","chargedUsd":0.05,"upstreamCostUsd":0.000038,"authorizedMaxUsd":0.05,"marginMultiplier":2},"meta":{"cached":false,"source":"OpenRouter (model named per request)","fetchedAt":"2026-07-04T00:00:00.000Z","attribution":null},"endpoint":"/v1/run"}},"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_1gTgJp_wXk3rqXqI0GYLv","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 prompt through Anthropic Claude Haiku 4.5 (via OpenRouter) and returns raw model output, billed per-call at $0.05 USDC over the x402 payment protocol — no API key required.","exampleAgentPrompt":"Send this prompt to Claude Haiku via the Stride x402 gateway and give me the raw output — cap the completion at 512 tokens: 'Explain the concept of zero-knowledge proofs in plain English.'","exampleUseCases":null,"resultDescription":"A JSON object with ok:true, the raw model completion string, prompt and completion token counts, upstream cost in USD, the amount actually charged in USD, the authorized max USD, and margin multiplier — plus metadata including whether the response was cached, the upstream source (OpenRouter), and the fetch timestamp.","failureModes":["Insufficient wallet balance or payment authorization failure — x402 payment rejected, call not executed","Prompt exceeds 8000 characters — request rejected with validation error","maxTokens value outside 1-1024 range or non-numeric — schema validation failure","Upstream OpenRouter or Anthropic API unavailability — 5xx error with no completion returned","Daily or per-call spend cap exceeded — request blocked before execution"],"whenToPreferThis":"Prefer this endpoint when you need one-off LLM inference without managing API keys or subscriptions, specifically want Claude Haiku 4.5, need transparent per-call cost accounting (tokens + USD cost breakdown returned in response), or are building an agent that pays for AI inference programmatically using USDC over x402.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:42:48.107Z","isFirstParty":false}