{"uid":"cap_aort8vVYqF0y2cP8rGD6T","slug":"tokensale-claude-sonnet-3-5-chat-completions-cc4e2898","name":"Tokensale Claude Sonnet 3.5 Chat Completions","description":"Один API-ключ для GPT и Claude-совместимых клиентов. Пакетные токены, прозрачное списание и контроль доступа.","url":"https://tokensale.maiapp.ru/x402/v1/models/claude-sonnet-5-5/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","const":"claude-sonnet-5-5"},"stream":{"type":"boolean","const":false},"messages":{"type":"array","items":{"type":"object"},"minItems":1},"max_tokens":{"type":"integer","minimum":1},"temperature":{"type":"number","maximum":2,"minimum":0},"max_completion_tokens":{"type":"integer","minimum":1}}},"responseSchema":{"type":"json","example":{"id":"x402-request","model":"claude-sonnet-5-5","usage":{"total_tokens":2,"prompt_tokens":1,"completion_tokens":1},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello back"},"finish_reason":"stop"}],"modelCatalog":[{"id":"claude-sonnet-5-5","payment":{"scheme":"upto","network":"eip155:8453","currency":"USDC"},"protocols":["messages"],"contextTokens":200000,"maxInputTokens":195904,"maxOutputTokens":4096,"priceUsdPerMillionTokens":{"input":"0.290000","output":"0.790000","cacheRead":"0.100000","cacheWrite":"0.290000"}}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003242","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.003242/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003242","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003242","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g4Xah0tsmZsASFZLySVGn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003242","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a chat message to Claude Sonnet 3.5 (claude-sonnet-5-5) via a pay-per-call x402 gateway and returns a completion response.","exampleAgentPrompt":"Send this message to Claude Sonnet and get a response: 'Summarize the key differences between REST and GraphQL APIs in 3 bullet points.' Use up to 512 output tokens and a temperature of 0.7.","exampleUseCases":[{"title":"On-demand AI writing assistant","prompt":"Ask Claude Sonnet to rewrite this paragraph in a more professional tone, using up to 300 tokens: 'Our product is really good and lots of people like it because it does stuff fast and is easy.'"},{"title":"Agentic reasoning step","prompt":"I need Claude Sonnet to decide the next action for my agent: given the conversation so far, ask it what tool to call next — limit the response to 200 tokens and keep temperature at 0.2 for consistency."},{"title":"Pay-per-use code review","prompt":"Send my code snippet to Claude Sonnet and ask it to identify any bugs or security issues — here's the code: [paste code]. Use up to 1024 output tokens."}],"resultDescription":"A JSON chat completion object containing the assistant's reply text, finish reason (e.g. 'stop'), token usage breakdown (prompt, completion, total tokens), and a modelCatalog entry with pricing and context window details for claude-sonnet-5-5.","failureModes":["Payment not received or insufficient USDC balance — 402 Payment Required returned","Invalid or missing messages array — 400 Bad Request","Model constant mismatch (anything other than 'claude-sonnet-5-5') — rejected","stream:true not supported — must be false","Upstream Anthropic rate limit or outage — 502 or 503 error","Temperature out of range (>2 or <0) — validation error"],"whenToPreferThis":"Choose this endpoint when you need Claude Sonnet 3.5 completions without a direct Anthropic subscription, want transparent per-token billing paid in USDC via x402 micropayments, or are building an agent that must pay for LLM calls programmatically without upfront commitment. It is especially useful for low-volume or bursty workloads where a flat subscription is wasteful, or when your agent stack already handles x402 payment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T07:04:52.205Z","isFirstParty":false,"canonicalSlug":"tokensale-claude-sonnet-3-5-chat-completions-cc4e2898"}