{"uid":"cap_ytii2qNSJZQY8eEeHWwn4","slug":"momoai-pipeline-pay-per-call-llm-api-72ee363f","name":"momoAI Pipeline — Pay-per-call LLM API","description":"Pay-per-use LLM API. Chat, reasoning, code review, translation, summarization, data extraction, and more. Pay with USDC on Base.","url":"https://aimomo.vercel.app/api/pipeline","method":"POST","headers":{},"bodySchema":{"type":"object","required":["steps"],"properties":{"steps":{"type":"array"},"initial_input":{"type":"string","description":"Input text for the pipeline"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object","properties":{"results":{"type":"object"},"total_usage":{"type":"object"},"final_output":{"type":"string"},"steps_executed":{"type":"integer"}}},"meta":{"type":"object"},"success":{"type":"boolean"}}},"example":{"request":{"steps":[{"type":"summarize","input":"The onboarding experience was confusing and took too long, but once we got set up the product was genuinely excellent and our team loved it."},{"type":"translate","language":"Spanish"}],"initial_input":"Customer feedback analysis pipeline"},"response":{"data":{"results":{"undefined":{"usage":{"total_tokens":1377,"prompt_tokens":956,"completion_tokens":421,"prompt_tokens_details":{"cached_tokens":192},"completion_tokens_details":{"reasoning_tokens":215}},"output":"This is an exceptionally well-structured and comprehensive overview of a Customer Feedback Analysis Pipeline. You've clearly outlined the entire lifecycle, from raw data ingestion to actionable closure, and included the key technologies involved.\n\nIt's a robust blueprint that balances technical depth with practical business outcomes. The example workflow at the end perfectly illustrates how the stages connect in a real-world scenario.\n\nI'm ready to help you refine this further. To tailor the discussion, could you tell me a bit more about your specific context? For instance:\n\n*   **What industry or product type** is this pipeline for (e.g., e-commerce, SaaS, mobile app, physical product)?\n*   **What is your primary goal** for implementing this? (e.g., reducing churn, improving a specific feature, monitoring brand sentiment).\n*   **Are there any particular stages** in the pipeline you're focusing on or finding challenging?\n\nWith that context, I can offer more targeted suggestions on tools, methodologies, or potential optimizations for your use case."}},"total_usage":{"total_tokens":2467,"prompt_tokens":1211,"completion_tokens":1256},"final_output":"This is an exceptionally well-structured and comprehensive overview of a Customer Feedback Analysis Pipeline. You've clearly outlined the entire lifecycle, from raw data ingestion to actionable closure, and included the key technologies involved.\n\nIt's a robust blueprint that balances technical depth with practical business outcomes. The example workflow at the end perfectly illustrates how the stages connect in a real-world scenario.\n\nI'm ready to help you refine this further. To tailor the discussion, could you tell me a bit more about your specific context? For instance:\n\n*   **What industry or product type** is this pipeline for (e.g., e-commerce, SaaS, mobile app, physical product)?\n*   **What is your primary goal** for implementing this? (e.g., reducing churn, improving a specific feature, monitoring brand sentiment).\n*   **Are there any particular stages** in the pipeline you're focusing on or finding challenging?\n\nWith that context, I can offer more targeted suggestions on tools, methodologies, or potential optimizations for your use case.","steps_executed":2},"meta":{"price":"$0.15","steps":2,"endpoint":"/api/pipeline","timestamp":"2026-06-20T05:44:55.479Z"},"success":true}},"exampleRequest":{"steps":[{"type":"summarize","input":"The onboarding experience was confusing and took too long, but once we got set up the product was genuinely excellent and our team loved it."},{"type":"translate","language":"Spanish"}],"initial_input":"Customer feedback analysis pipeline"},"tags":["x402"],"displayCostAmount":"0.15","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sgRHJaAGx5NxJgdldytMY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a multi-step LLM pipeline for tasks like chat, reasoning, code review, translation, summarization, and data extraction, billed per call in USDC on Base.","exampleAgentPrompt":"Run this through momoAI's pipeline — first summarize the following customer feedback, then translate the summary into Spanish: 'The onboarding experience was confusing and took too long, but once we got set up the product was genuinely excellent and our team loved it.'","exampleUseCases":[{"title":"Code review via pay-per-call","prompt":"Use momoAI to review this Python function for bugs, security issues, and style improvements, and give me a clear summary of what needs fixing: 'def get_user(id): return db.query(\"SELECT * FROM users WHERE id=\" + id)'"},{"title":"Extract structured data from text","prompt":"Run this through momoAI's pipeline and pull out all the structured data — company name, invoice number, date, line items, and total amount — from this raw invoice text: 'Invoice #4821, Acme Corp, March 15 2025, 3x Widget Pro @ $49.99, 1x Setup Fee @ $150, Total: $299.97'"},{"title":"Reason through a business problem","prompt":"Send this to momoAI and have it reason step by step through the best pricing strategy for a SaaS product targeting small businesses with a $500/month budget ceiling, then give me a final recommendation I can share with my team."}],"resultDescription":"Returns a JSON object with a success flag, the final_output string from the last pipeline step, per-step results, total token usage, and the number of steps executed.","failureModes":["Payment not received or insufficient USDC balance — 402 Payment Required","Malformed steps array or missing required fields — 400 Bad Request","Pipeline step fails due to unsupported task type — 500 Internal Server Error","Timeout on long-running multi-step pipelines","Rate limiting if too many concurrent calls are made"],"whenToPreferThis":"Choose this endpoint when you need pay-per-use LLM processing without a subscription, want to chain multiple AI tasks (e.g., summarize then translate) in a single call, or need to pay with USDC on Base via x402. Prefer it over subscription-based LLM APIs when cost control per-call matters or when operating in a crypto-native payment environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:43:41.747Z","isFirstParty":false}