{"uid":"cap_QzGnJioJSjZ6Dr7apqGOr","slug":"model-access-gateway-claude-haiku-5-5-chat-completions-x402-usdc-f641585c","name":"Model Access Gateway — Claude Haiku 5.5 Chat Completions (x402, USDC)","description":"LLM inference API: OpenAI-compatible chat completions for 136 AI models (Claude, GPT, Gemini, Grok, DeepSeek, Qwen, Kimi, GLM), paid per call in USDC on Base with x402. No account, no API key, automatic refund if the model fails.","url":"https://modelaccessgateway.com/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_rrSPbdcblr9zHlc7VVywo","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 an OpenAI-compatible chat completion request against Claude Haiku 5.5 (Anthropic), paid per call in USDC on Base via x402 — no API key or account required.","exampleAgentPrompt":"Ask Claude Haiku 5.5 to summarize the following text in three bullet points: 'Quantum computing leverages superposition and entanglement to perform calculations exponentially faster than classical computers, with implications for cryptography, drug discovery, and optimization problems.' Keep it under 200 tokens and use a temperature of 0.3.","exampleUseCases":[{"title":"Wallet-native agent calling Claude","prompt":"I'm building an autonomous agent that holds USDC on Base — have it call Claude Haiku 5.5 to classify incoming support tickets as 'billing', 'technical', or 'general', paying per call without storing any API keys."},{"title":"Fast cheap summarization pipeline","prompt":"Summarize this product review in one sentence using Claude Haiku: 'The battery lasts all day and the camera is stunning, but the software updates have been buggy and customer support took two weeks to respond.' Keep max tokens at 100."},{"title":"Streaming chat in a demo app","prompt":"Send a streaming chat request to Claude Haiku 5.5 — the user message is 'Explain how photosynthesis works in simple terms' — and stream the response back to the UI as server-sent events, spending at most $0.001 USDC per call."}],"resultDescription":"Returns a standard OpenAI-format chat.completion JSON object containing the assistant's reply text, finish_reason (e.g. 'stop'), prompt/completion/total token counts, a completion ID, model name, and created timestamp. If streaming is enabled, server-sent events are returned after payment is confirmed. If the model call fails, an automatic USDC refund is issued.","failureModes":["Insufficient USDC balance — payment rejected before inference runs","Model unavailable or upstream Anthropic error — triggers automatic refund","Invalid messages array (empty or missing required 'role' field) — validation error","max_tokens out of range (must be 1–16384) — rejected with parameter error","Stream response interrupted after payment but before completion — partial SSE stream"],"whenToPreferThis":"Choose this endpoint when you need Claude Haiku 5.5 specifically, want zero-setup anonymous access (no API key, no account), are operating from a crypto wallet or x402-enabled agent, and want automatic refunds on failure. Prefer it over raw Anthropic API when you cannot or prefer not to manage API credentials, or when your agent architecture already uses x402 micropayments on Base. It is cost-effective at $0.001/call for high-throughput, low-latency tasks like classification, summarization, and short-form generation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:35:23.028Z","isFirstParty":false,"canonicalSlug":"model-access-gateway-claude-haiku-5-5-chat-completions-x402-usdc-f641585c"}