# Lancelot > Lancelot is the AI margin agent for companies that sell AI. It joins what each customer pays (Stripe or RevenueCat, read-only) with what that customer costs in AI model calls, shows margin per customer, plan, feature and model, and fixes the customers and plans that lose money, within limits the company sets. SDKs for Node (@lancelotwatch/node) and Python (lancelotwatch) wrap the OpenAI and Anthropic clients and send token counts, never prompts. Lancelot is not an observability or tracing tool and does not proxy AI calls. Calls go straight from the customer's app to the model provider. If Lancelot is unreachable, the SDK fails open and the app keeps working. ## Key facts - Name: Lancelot. Website: https://lancelot.watch. App: https://app.lancelot.watch. Docs: https://docs.lancelot.watch. Contact: hello@lancelot.watch. - Category: AI cost tracking and AI margin management for SaaS and AI products. - Revenue sources: Stripe and RevenueCat (App Store and Google Play), with read-only access. - AI cost sources: the Lancelot SDK (Node and Python, for the OpenAI and Anthropic clients), the events API for other providers, and imports from OpenRouter and Helicone. - Data: token counts, model, customer ID, feature and time. Lancelot never receives prompts or responses. - Autonomy: every action can be set to Off, Suggest, Ask or Auto. Everything starts at Suggest. Auto is on Growth and higher. Any action can be undone. - Lancelot never emails a company's customers. Upgrade and top-up offers are drafts with the company's own Stripe Payment Link, which the company sends. ## Pricing Plans follow annual revenue or monthly AI spend, whichever is higher. Every plan has a 7-day trial (card required). Yearly billing costs ten months' price for twelve months. - Founder: $49 a month. Up to $25k a year in revenue or $500 a month of AI spend. - Growth: $199 a month. Up to $500k a year in revenue or $10k a month of AI spend. Lancelot can act on its own (Auto). - Scale: $699 a month. Up to $5M a year in revenue or $50k a month of AI spend. - Enterprise: custom, on an annual contract. Full details: https://lancelot.watch/pricing ## Product - [Margin intelligence](https://lancelot.watch/features/margins): AI cost and margin per customer, plan, feature and model, against Stripe or RevenueCat revenue. - [Runtime protection](https://lancelot.watch/features/protection): an emergency stop inside the SDK (600 calls a minute or $50 in 5 minutes per customer by default), per-customer budgets, and detection of runaway loops and free-tier abuse. - [Plan economics](https://lancelot.watch/features/plan-economics): learns what a normal customer on each plan costs and flags plans priced too thin and customers outgrowing their plan. - [Bill matching](https://lancelot.watch/features/bill-matching): checks tracked AI cost against the OpenAI and Anthropic bills every day and explains each gap. - [Alerts and briefing](https://lancelot.watch/features/alerts): alerts in Slack, email, Telegram, Discord, Microsoft Teams, SMS or webhooks, with Approve and Undo in Slack, email and Telegram, plus a Monday briefing. - [Verified margin badge](https://lancelot.watch/features/badge): publishes last month's AI gross margin as a badge and public page, recalculated from paid invoices and tracked AI cost. - [The Agent](https://lancelot.watch/product/ai-agent-for-ai-spend): diagnoses why a customer's AI cost changed and proposes one fix (throttle, pause, cheaper model, spend hold, upgrade offer). - [Autonomy](https://lancelot.watch/product/autonomy): how Suggest, Ask and Auto work, and the guardrails that apply even on Auto. - [SDK and API](https://lancelot.watch/product/sdk) and [How it works](https://lancelot.watch/product/how-it-works). - [Security](https://lancelot.watch/product/security), [Data we never store](https://lancelot.watch/product/data), [Agent safety](https://lancelot.watch/product/agent-safety). ## Guides - [AI unit economics: margin, COGS and cost per customer](https://lancelot.watch/guides/ai-unit-economics) - [How to cut LLM costs: caching, batching, routing and smaller models](https://lancelot.watch/guides/reduce-llm-costs) ## Dispatches - [Claude prompt caching: how it works and what it saves](https://lancelot.watch/dispatches/claude-prompt-caching) - [Claude cost per token: every model, per call and per customer](https://lancelot.watch/dispatches/claude-api-cost-per-token) - [OpenAI API cost: per call, per user and per customer](https://lancelot.watch/dispatches/openai-api-cost) - [Claude Haiku vs Sonnet: prices, cost per task and routing](https://lancelot.watch/dispatches/claude-haiku-vs-sonnet) - [Usage-based pricing for AI products](https://lancelot.watch/dispatches/usage-based-pricing-ai) - [Cursor's pricing model and the power-user lesson](https://lancelot.watch/dispatches/cursor-pricing-model) - [SaaS COGS for AI products](https://lancelot.watch/dispatches/saas-cogs-ai) - [Customer profitability analysis for AI products](https://lancelot.watch/dispatches/customer-profitability-analysis) - [Are AI companies profitable?](https://lancelot.watch/dispatches/are-ai-companies-profitable) - [Denial of wallet: how attackers run up your AI bill](https://lancelot.watch/dispatches/denial-of-wallet) ## Solutions - [Startups](https://lancelot.watch/solutions/startups), [Scale-ups](https://lancelot.watch/solutions/scale-ups), [Enterprise](https://lancelot.watch/solutions/enterprise) ## Legal - [Privacy](https://lancelot.watch/privacy), [Terms](https://lancelot.watch/terms), [DPA](https://lancelot.watch/dpa), [Cookies](https://lancelot.watch/cookies)