{"uid":"cap_N_yYX5_0iioqEwk74h7yt","slug":"tarnak-x402-toolkit-llm-inference-chat-completions-271cde48","name":"Tarnak x402 Toolkit — LLM Inference (Chat Completions)","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?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_vS_FHWCihTzDO1VxQrjGM","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 keyless, pay-per-call LLM chat completions via a local abliterated Qwen2.5 model, billed per 1k completion tokens over x402/USDC on Base.","exampleAgentPrompt":"Send this conversation to the Tarnak keyless LLM inference endpoint and get a response — system prompt: 'You are a helpful assistant', user message: 'Explain DeFi in one paragraph', max 200 tokens, temperature 0.7.","exampleUseCases":[{"title":"Anonymous one-off LLM query","prompt":"I need a quick AI-generated answer without creating any account — ask the abliterated Qwen2.5 model: 'What are the main risks of yield farming?' Keep it under 300 tokens and charge my USDC wallet per use."},{"title":"Agent sub-task text generation","prompt":"As part of my DeFi research agent, call the keyless Tarnak inference endpoint with the system message 'You are a DeFi analyst' and user message 'Summarize the risks of rug pulls in three bullet points', max 150 tokens."},{"title":"Uncensored content drafting","prompt":"Use the abliterated local model on the Tarnak x402 toolkit to draft a short persuasive argument for why crypto self-custody matters — system prompt: 'Be direct and unfiltered', user turn: 'Write a 3-sentence pitch for self-custody wallets', temperature 0.9, max 200 tokens."}],"resultDescription":"Returns an OpenAI-compatible chat completion JSON object with the assistant's message content, token usage breakdown (prompt, completion, total), billing details (charged USD, unit price, blocks), model name, and finish reason.","failureModes":["Payment not received or x402 handshake fails — returns 402 Payment Required","max_tokens exceeds 1000 — validation error","messages array missing required role or content fields — 400 Bad Request","Model unavailable or server overloaded — 503 or timeout","10 free daily verdicts per IP exhausted — payment required for further calls"],"whenToPreferThis":"Choose this endpoint when you need a keyless, signup-free LLM inference call billed in USDC micropayments via x402 on Base, especially when you want an abliterated (uncensored) local model and don't want to manage API keys. Prefer it over OpenAI or Anthropic APIs when operating in a crypto-native agent context that already handles x402 payments, or when anonymity and per-call billing without subscriptions are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:40:03.113Z","isFirstParty":false,"canonicalSlug":"tarnak-x402-toolkit-llm-inference-chat-completions-271cde48"}