{"uid":"cap_eGd3ra83F7TEJUvZI33PA","slug":"tarnak-x402-toolkit-llm-chat-completions-abliterated-model-21796df0","name":"Tarnak x402 Toolkit — LLM Chat Completions (Abliterated Model)","description":"Keyless pay-per-call APIs for AI agents on Base: token risk verdict, rug/honeypot report, gas estimate, URL-to-markdown and more. x402 v2, USDC, no API key or signup. 10 free verdicts per IP per day.","url":"https://api.capousd-student-tools.me/v1/inference/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"stop":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"model":{"type":"string","description":"Ignored alias; the server selects the local abliterated model."},"top_p":{"type":"number"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant","tool"],"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"integer","default":256,"maximum":1000,"minimum":1},"temperature":{"type":"number"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-local","model":"huihui_ai/qwen2.5-abliterate:latest","usage":{"total_tokens":9,"prompt_tokens":8,"completion_tokens":1},"object":"chat.completion","billing":{"unit":"per_1k_completion_tokens","blocks":1,"charged_usd":0.002,"unit_price_usd":0.002,"completion_tokens":1},"choices":[{"index":0,"message":{"role":"assistant","content":"Hello"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Ixb93HDLFvKjMM848lDVf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides pay-per-call chat completions via a local abliterated LLM, billed per 1k completion tokens over x402/USDC with no API key required.","exampleAgentPrompt":"Generate a chat completion using an abliterated local LLM — send it the message 'Explain how smart contracts work in two sentences' with max 200 tokens and pay per token via USDC on Base, no API key needed.","exampleUseCases":[{"title":"Uncensored LLM for autonomous agent reasoning","prompt":"I need my agent to ask an abliterated AI model 'What are the risks of this DeFi strategy?' and get back a blunt, unfiltered answer — pay per call with USDC, no API key, max 300 tokens."},{"title":"Crypto-native chatbot for dApp users","prompt":"Build a chat feature for my dApp that calls an abliterated Qwen model with the user's message, bills each response in USDC micropayments via x402, and returns the assistant reply — limit responses to 500 tokens."},{"title":"Automated report drafting with pay-per-use billing","prompt":"Draft a short summary of this token analysis by sending it to the abliterated LLM as a user message, cap it at 400 tokens, and charge my wallet via USDC on Base for each completion."}],"resultDescription":"Returns an OpenAI-compatible chat.completion JSON object containing the assistant's message text, token usage breakdown (prompt, completion, total), billing details (USD charged, unit price, blocks), model name, and finish reason.","failureModes":["Payment not received or x402 flow fails — returns 402 Payment Required","Messages array missing required role/content fields — returns 400 Bad Request","max_tokens exceeds 1000 — rejected by schema validation","Model alias ignored; server always uses its local abliterated model regardless of input","IP rate-limited after 10 free verdicts per day — returns 429 Too Many Requests","Server unavailable or local model not loaded — returns 503"],"whenToPreferThis":"Choose this endpoint when you need a keyless, no-signup LLM chat completion paid per-call in USDC on Base via x402 protocol, especially if you want an abliterated (uncensored) open-weight model and are building crypto-native or autonomous agent workflows that cannot hold traditional API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:55.535Z","isFirstParty":false,"canonicalSlug":"tarnak-x402-toolkit-llm-chat-completions-abliterated-model-21796df0"}