{"uid":"cap_Z4pEG3Sevd7JT6k3XlpCM","slug":"model-access-gateway-claude-haiku-5-5-via-x402-caa5612f","name":"Model Access Gateway – Claude Haiku 5.5 via x402","description":"Claude Haiku 5.5 API (anthropic/claude-haiku-5.5): LLM inference via OpenAI-compatible chat completions, pay per call in USDC on Base with x402. No API key, no account. Suited for AI agents and scripts that need Claude Haiku 5.5 on demand. Streaming and function calling supported. Exact price in the 402 quote before payment; automatic refund if the model fails to answer.","url":"https://agent402-arb.rosariovitale0096.workers.dev/llm/claude-haiku-5.5?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Optional: fixed by the route (anthropic/claude-haiku-5.5)"},"tools":{"type":"array"},"stream":{"type":"boolean","description":"true: server-sent events after payment"},"messages":{"type":"array","items":{"type":"object","required":["role"],"properties":{"role":{"enum":["system","user","assistant","tool","developer"],"type":"string"},"content":{"type":["string","array","null"]}}},"minItems":1},"max_tokens":{"type":"integer","maximum":16384,"minimum":1,"description":"Optional, default 4096"},"temperature":{"type":"number","maximum":2,"minimum":0},"response_format":{"type":"object"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-7f3c2a91","model":"anthropic/claude-haiku-5.5","usage":{"total_tokens":10,"prompt_tokens":9,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"OK"},"finish_reason":"stop"}],"created":1791979200}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_08kHFvsX44jHxxgDqXSZf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs OpenAI-compatible chat completions against Anthropic Claude Haiku 5.5, billed per request in USDC on Base via x402 with no account or API key required.","exampleAgentPrompt":"Send this message to Claude Haiku 5.5 and give me the reply: 'Summarize the key differences between REST and GraphQL in three bullet points.' Pay for it with USDC on Base.","exampleUseCases":[{"title":"Keyless LLM call from autonomous agent","prompt":"I need you to ask Claude Haiku 5.5 the following question and return the answer — no API key, just pay with USDC: 'What are the top three risks of deploying smart contracts without an audit?'"},{"title":"Crypto-native chatbot backend","prompt":"Use Claude Haiku 5.5 as the brain for my chatbot — every time a user sends a message, forward it to Claude and stream back the response, paying per call with USDC so I don't need to manage API subscriptions."},{"title":"Per-request AI reasoning for onchain app","prompt":"My onchain app needs to classify user intents in real time — send each incoming user message to Claude Haiku 5.5, get back the assistant's classification, and charge me $0.001 USDC per call on Base."}],"resultDescription":"Returns an OpenAI-style chat.completion JSON object containing the assistant's message text, model name (anthropic/claude-haiku-5.5), prompt and completion token counts, finish reason, and a completion ID — identical in shape to the OpenAI Chat Completions API response.","failureModes":["402 Payment Required if USDC payment header is missing or insufficient","Invalid or malformed request body returns 400","Model unavailable or upstream API error returns 502 or 503","Insufficient USDC balance on Base causes payment failure","Rate limiting by the underlying workers.dev infrastructure"],"whenToPreferThis":"Choose this endpoint when you need to call Claude Haiku 5.5 with no prior account setup, no API key management, and want to pay strictly per-request in USDC on Base via x402 — ideal for autonomous agents, onchain apps, or serverless workflows that need crypto-native LLM access with an OpenAI-compatible interface.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-28T00:33:11.898Z","isFirstParty":false,"canonicalSlug":"model-access-gateway-claude-haiku-5-5-via-x402-caa5612f"}