{"uid":"cap_Z1U-m7upgSNR327R1Vpew","slug":"fretchen-ai-assistant-llm-service-4d024104","name":"Fretchen AI Assistant (LLM) Service","description":"AI chat assistant, paid via x402 batch-settlement USDC payment channels.","url":"https://llm-agent.fretchen.eu/","method":"POST","headers":{},"bodySchema":{"type":"object","required":["data"],"properties":{"data":{"type":"object"}}},"responseSchema":{"type":"object","properties":{"usage":{"type":"object","properties":{"prompt_tokens":{"type":"integer","description":"Input tokens consumed"},"completion_tokens":{"type":"integer","description":"Output tokens generated"}},"description":"Token usage for this request, used to derive the settled charge"},"message":{"type":"string","description":"The LLM's response content"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__KMvmm44eZn3Dr7LbQbbJ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"An AI chat assistant that accepts conversational prompts and returns LLM-generated text responses, billed per call via x402 USDC micropayment channels.","exampleAgentPrompt":"Ask Fretchen's AI assistant: 'What are the key differences between supervised and unsupervised machine learning?' and return the response along with how many tokens were used.","exampleUseCases":[{"title":"Automated Q&A for agent pipelines","prompt":"Send this question to the Fretchen LLM assistant and give me the answer: 'Summarize the main risks of deploying smart contracts on public blockchains in 3 bullet points.'"},{"title":"On-demand content drafting","prompt":"Use the Fretchen AI chat service to draft a short product description for a noise-cancelling Bluetooth headset aimed at remote workers — keep it under 100 words."},{"title":"Reasoning step within a workflow","prompt":"I need to classify the sentiment of this customer message using the Fretchen AI assistant and tell me whether it's positive, negative, or neutral: 'Delivery was two days late and the packaging was damaged, but the product itself works fine.'"}],"resultDescription":"Returns a JSON object containing a 'message' string with the LLM's textual response, plus a 'usage' object reporting the number of prompt_tokens consumed and completion_tokens generated — useful for auditing per-call token costs and verifying the settled USDC charge.","failureModes":["Invalid or missing 'data' field in request body returns a 400-level error","Insufficient USDC balance or failed x402 payment settlement blocks the request","Malformed JSON payload results in a parse error","Network timeout if the LLM takes too long to generate a response","Rate limiting or quota exhaustion on the provider side"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call LLM chat service settled in USDC via x402 micropayment channels — ideal for autonomous agents or pipelines that require trustless, on-chain billing without subscription commitments. It is well-suited for scenarios where token-level usage tracking is needed for cost attribution or billing reconciliation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:37:55.031Z","isFirstParty":false}