[{"data":1,"prerenderedAt":237},["ShallowReactive",2],{"navigation":3,"index":54,"mdc-pb6szw-key":165,"mdc-mpydbk-key":188,"mdc-5o8is5-key":205,"mdc--9btbx3-key":221},[4,16,32,47],{"title":5,"path":6,"stem":7,"children":8,"icon":10},"Introduction","\u002Fdocs\u002Fgetting-started","1.docs\u002F1.getting-started\u002F1.index",[9,11],{"title":5,"path":6,"stem":7,"icon":10},"i-lucide-house",{"title":12,"path":13,"stem":14,"icon":15},"Quickstart","\u002Fdocs\u002Fgetting-started\u002Fquickstart","1.docs\u002F1.getting-started\u002F2.quickstart","i-lucide-rocket",{"title":17,"path":18,"stem":19,"children":20,"page":31},"Sdk","\u002Fdocs\u002Fsdk","1.docs\u002F2.sdk",[21,26],{"title":22,"path":23,"stem":24,"icon":25},"TypeScript SDK","\u002Fdocs\u002Fsdk\u002Ftypescript","1.docs\u002F2.sdk\u002F1.typescript","i-simple-icons-typescript",{"title":27,"path":28,"stem":29,"icon":30},"Python SDK","\u002Fdocs\u002Fsdk\u002Fpython","1.docs\u002F2.sdk\u002F2.python","i-simple-icons-python",false,{"title":33,"path":34,"stem":35,"children":36,"page":31},"Concepts","\u002Fdocs\u002Fconcepts","1.docs\u002F3.concepts",[37,42],{"title":38,"path":39,"stem":40,"icon":41},"Pricing database","\u002Fdocs\u002Fconcepts\u002Fpricing-database","1.docs\u002F3.concepts\u002F1.pricing-database","i-lucide-database",{"title":43,"path":44,"stem":45,"icon":46},"Budget guard","\u002Fdocs\u002Fconcepts\u002Fbudgets","1.docs\u002F3.concepts\u002F2.budgets","i-lucide-shield",{"title":48,"path":49,"stem":50,"children":51,"icon":53},"API & MCP","\u002Fdocs\u002Fapi-and-mcp","1.docs\u002F4.api-and-mcp\u002F1.index",[52],{"title":48,"path":49,"stem":50,"icon":53},"i-lucide-plug-zap",{"id":55,"title":56,"body":57,"cta":58,"description":74,"extension":75,"features":76,"hero":101,"meta":107,"navigation":31,"path":108,"sections":109,"seo":160,"stem":163,"__hash__":164},"index\u002F0.index.yml","Know which customers [actually make you money]{class=\"text-primary\"}.",null,{"title":59,"description":60,"links":61},"Stop guessing. Ship with margin.","Free up to 100k events \u002F month. No credit card. Three minutes to install.",[62,68],{"label":63,"to":64,"target":65,"trailingIcon":66,"color":67},"Start free","https:\u002F\u002Fapp.margint.dev","_blank","i-lucide-arrow-right","primary",{"label":69,"to":70,"variant":71,"icon":72,"color":73},"Read the docs","\u002Fdocs","subtle","i-lucide-book-open","neutral","Per-customer AI cost, true margin, and hard budgets for teams shipping LLM features.","yml",{"title":77,"description":78,"items":79},"The financial layer for AI products.","One product, one job. Answer \"which customers make me money\" before your investors ask.",[80,84,88,90,94,98],{"title":81,"description":82,"icon":83},"Per-customer margin table","Every customer, sorted by margin. Red at the top means they're eating your lunch.","i-lucide-users",{"title":85,"description":86,"icon":87},"Cost by feature","Prove your agent costs 14× more than chat. Break down by feature, provider, model.","i-lucide-layers",{"title":43,"description":89,"icon":46},"Wrap calls in guardedCall() — block customers over limit before the provider bills you.",{"title":91,"description":92,"icon":93},"Margin alerts","Email when a customer's margin drops below your threshold or workspace average tumbles.","i-lucide-bell",{"title":95,"description":96,"icon":97},"Stripe revenue sync","Connect once. We pull MRR per customer and do the subtraction you've been doing by hand.","i-lucide-refresh-cw",{"title":99,"description":100,"icon":41},"LiteLLM-backed pricing","400+ models, always fresh. Mirrored from LiteLLM's canonical price database.",{"links":102},[103,106],{"label":63,"icon":66,"trailing":104,"to":64,"target":65,"size":105,"color":67},true,"xl",{"label":69,"icon":72,"size":105,"color":73,"variant":71,"to":70},{},"\u002F",[110,128,145],{"title":111,"description":112,"id":113,"orientation":114,"features":115},"Your AI bill is [one number]{class=\"text-primary\"}. Your margin is hundreds.","OpenAI sends one invoice. Stripe sends MRR. In between — the customers bleeding you, and the ones quietly funding your roadmap.","problem","horizontal",[116,120,124],{"name":117,"description":118,"icon":119},"Observability tools don't know revenue","Langfuse and Braintrust know which prompt ran. Not who paid for it.","i-lucide-search-x",{"name":121,"description":122,"icon":123},"Stripe doesn't know AI cost","Stripe knows what they pay you. Not what you pay OpenAI.","i-lucide-receipt",{"name":125,"description":126,"icon":127},"Spreadsheets lie at scale","Tokens don't fit a spreadsheet. The cost sheet is wrong before you save it.","i-lucide-file-x",{"title":129,"description":130,"id":131,"orientation":114,"reverse":104,"features":132},"Install in three minutes. See margin in [real time]{class=\"text-primary\"}.","TypeScript SDK, Python SDK, or one curl. Cost, margin, and budgets appear in the dashboard. No proxy, no latency hit.","how",[133,137,141],{"name":134,"description":135,"icon":136},"SDK or REST — your call","TypeScript and Python wrappers, or hit the ingestion endpoint from any language.","i-lucide-zap",{"name":138,"description":139,"icon":140},"Privacy-first","Tokens, model, cost. Never prompts or completions.","i-lucide-shield-check",{"name":142,"description":143,"icon":144},"Works with any provider","OpenAI, Anthropic, Google, Mistral, Cohere, Bedrock, local models.","i-lucide-plug",{"title":146,"description":147,"id":148,"orientation":114,"features":149},"Your dashboard is for humans. [Your API is for agents]{class=\"text-primary\"}.","Every screen has a matching endpoint. Scripts, CI, and any MCP-aware agent read margin in one call.","agents",[150,153,157],{"name":151,"description":152,"icon":53},"Public \u002Fv1\u002F API","Stable REST. Bearer auth. Rate-limited. OpenAPI shipped.",{"name":154,"description":155,"icon":156},"MCP server","Drop one JSON into Claude Desktop or Cursor. Ask: \"who's losing me money?\" No dashboard required.","i-lucide-terminal",{"name":158,"description":159,"icon":46},"Agent self-gate","guardedCall() lets an agent check its budget before it overspends yours.",{"title":161,"description":162},"Margint — see which customers actually make you money","Per-customer LLM cost joined to Stripe revenue, with hard budget caps. Stop guessing which AI customers are profitable.","0.index","7OHNhOk1H1ubcno46QQthDGhfflIsrmJ2wL_agdbvNI",{"data":166,"body":167},{},{"type":168,"children":169},"root",[170],{"type":171,"tag":172,"props":173,"children":174},"element","p",{},[175,178,186],{"type":176,"value":177},"text","Know which customers ",{"type":171,"tag":179,"props":180,"children":183},"span",{"className":181},[182],"text-primary",[184],{"type":176,"value":185},"actually make you money",{"type":176,"value":187},".",{"data":189,"body":190},{},{"type":168,"children":191},[192],{"type":171,"tag":172,"props":193,"children":194},{},[195,197,203],{"type":176,"value":196},"Your AI bill is ",{"type":171,"tag":179,"props":198,"children":200},{"className":199},[182],[201],{"type":176,"value":202},"one number",{"type":176,"value":204},". Your margin is hundreds.",{"data":206,"body":207},{},{"type":168,"children":208},[209],{"type":171,"tag":172,"props":210,"children":211},{},[212,214,220],{"type":176,"value":213},"Install in three minutes. See margin in ",{"type":171,"tag":179,"props":215,"children":217},{"className":216},[182],[218],{"type":176,"value":219},"real time",{"type":176,"value":187},{"data":222,"body":223},{},{"type":168,"children":224},[225],{"type":171,"tag":172,"props":226,"children":227},{},[228,230,236],{"type":176,"value":229},"Your dashboard is for humans. ",{"type":171,"tag":179,"props":231,"children":233},{"className":232},[182],[234],{"type":176,"value":235},"Your API is for agents",{"type":176,"value":187},1777838728883]