{"uid":"cap_JEvlPzsF9J0qOr_uufQu1","slug":"tokensale-claude-fable-5-1-chat-completions-x402-f74eaf67","name":"Tokensale Claude Fable 5.1 Chat Completions (x402)","description":"Один API-ключ для GPT и Claude-совместимых клиентов. Пакетные токены, прозрачное списание и контроль доступа.","url":"https://tokensale.maiapp.ru/x402/v1/models/claude-fable-5.1/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","const":"claude-fable-5.1"},"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-fable-5.1","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-fable-5.1","payment":{"scheme":"upto","network":"eip155:8453","currency":"USDC"},"protocols":["messages"],"contextTokens":200000,"maxInputTokens":195904,"maxOutputTokens":4096,"priceUsdPerMillionTokens":{"input":"0.567000","output":"2.835000","cacheRead":"0.014175","cacheWrite":"1.134000"}}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.011631","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.011631/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.011631","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.011631","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_O1BA1wZsbv-c87ONAdF6K","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.011631","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs a chat completion request against the claude-fable-5.1 model via a pay-per-call x402 micropayment gateway on Base/USDC","exampleAgentPrompt":"Send this conversation to Claude fable 5.1 and get a reply: system says 'You are a helpful assistant', user says 'Explain how photosynthesis works in two sentences', allow up to 200 output tokens at temperature 0.7.","exampleUseCases":[{"title":"On-demand Claude reasoning in an agent","prompt":"I need you to pass this multi-turn conversation to Claude fable 5.1 and get back its answer — the user asked 'What are three pros and cons of microservices architecture?' Keep temperature at 0.5 and cap the response at 512 tokens."},{"title":"USDC pay-per-call LLM integration","prompt":"Use the tokensale Claude endpoint to generate a short product description for my new smartwatch, paying per call with USDC on Base — set max tokens to 300 and temperature to 1.0."},{"title":"GPT-compatible client routing to Claude","prompt":"Route this chat message to claude-fable-5.1 through the tokensale proxy: the user wants a haiku about autumn, temperature 0.9, max 100 tokens."}],"resultDescription":"Returns a standard OpenAI-compatible chat.completion JSON object containing the assistant's reply, finish reason, token usage breakdown (prompt, completion, total), and a modelCatalog array with pricing details for claude-fable-5.1 on the Base USDC network.","failureModes":["Insufficient USDC balance on Base network — payment rejected before inference begins","messages array empty or malformed — 400 validation error","model field not matching const 'claude-fable-5.1' — request rejected","max_tokens or temperature outside allowed range — schema validation failure","Upstream Anthropic service unavailable — 502/503 gateway error","x402 payment protocol not supported by client — connection failure"],"whenToPreferThis":"Choose this endpoint when you need Claude-class text generation with transparent per-call USDC micropayments on Base, no monthly subscription, and OpenAI-compatible request/response format. Ideal for agents that need to pay only for what they use, operate in crypto-native environments, or need a drop-in Claude backend for GPT-compatible clients.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-24T12:30:37.711Z","isFirstParty":false,"canonicalSlug":"tokensale-claude-fable-5-1-chat-completions-x402-f74eaf67"}