{"uid":"cap_0Zw7FuMdmSc2dpsksH7yd","slug":"gondola-ai-messages-api-785e369f","name":"Gondola AI Messages API","description":"Gondola is a marketplace for Venice AI inference: cheap, OpenAI-compatible models paid in USDC on Base, funded by DIEM holders earning on idle compute.","url":"https://api.gondola-ai.com/v1/messages","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object"},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"id":"msg_abc123","role":"assistant","type":"message","model":"kimi-k3","usage":{"input_tokens":9,"output_tokens":7},"content":[{"text":"Hello. How can I help?","type":"text"}],"stop_reason":"end_turn"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6c4Ovk52ei9EZBXF8sO7O","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sends a message to Venice AI models via Gondola's OpenAI-compatible inference marketplace, billed in USDC on Base.","exampleAgentPrompt":"Send this message to a Venice model through Gondola — 'Summarize the key risks of DeFi lending in 3 bullet points' — and pay with USDC on Base.","exampleUseCases":[{"title":"Crypto-native chatbot backend","prompt":"I'm building a chatbot that needs to run Venice AI completions but pay per call in USDC — use Gondola to send my user's question 'What are the best yield farming strategies right now?' and get the model's response back."},{"title":"Cost-cutting LLM pipeline","prompt":"My current OpenAI inference costs are too high — can you route this prompt through Gondola instead to get the same Venice model response cheaper? The prompt is: 'Draft a one-paragraph product description for a noise-cancelling headphone.'"},{"title":"DIEM-funded autonomous agent inference","prompt":"Run an AI completion through Gondola for my agent — send the message 'List 5 creative marketing slogans for a Web3 payments app' and charge it to my USDC wallet on Base."}],"resultDescription":"Returns a structured response containing a unique message ID, the role (typically 'assistant'), the model used, an array of content blocks with the generated text, the stop reason, and a usage object with token counts.","failureModes":["Insufficient USDC balance on Base causes payment failure and rejected request","Invalid or unsupported model name returns an error response","Malformed request body missing required fields triggers a validation error","Network latency or availability issues with Venice AI backend may cause timeouts","x402 payment protocol failures if wallet is not configured correctly"],"whenToPreferThis":"Choose Gondola when you need OpenAI-compatible Venice AI inference at lower cost than going directly, want to pay per call in USDC on Base, or are operating within a crypto-native agent stack. Ideal when minimizing inference cost matters and you are comfortable with x402 micropayment flows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:33:31.065Z","isFirstParty":false}