> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dodopayments.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 计费解析

> 通过研究顶级 AI 公司如何向用户收费，学习如何构建复杂的计费模型，然后使用 Dodo Payments 复制每个模型。

## 概述

| 应用         | 主要指标     | 独特创新                | Dodo 功能            |
| :--------- | :------- | :------------------ | :----------------- |
| OpenAI     | 令牌（法币标价） | 预付法币积分且余额永不过期       | 基于积分的计费（法币积分）      |
| Cursor     | 高级请求     | 模型加权的积分消耗（每个模型成本不同） | 基于积分的计费（自定义单位）     |
| ElevenLabs | 字符       | 字符配额可结转+分级超额定价      | 基于积分的计费（结转+超额）     |
| Midjourney | GPU 时间   | 配额后“放松模式”无限补充       | 订阅+使用计量            |
| Replicate  | 执行秒数     | 每秒硬件特定的纯计量          | 纯使用基于计费            |
| Lovable    | 消息（积分）   | 每日奖励滴+全团队共享积分池      | 基于积分的计费（自定义单位）+ 订阅 |

每个解析都会分解一个真实公司的计费模型，并向您展示如何使用 Dodo Payments 复制它。

选择最接近您的应用程序：

<CardGroup cols={3}>
  <Card title="OpenAI" icon="https://mintcdn.com/dodopayments/LYWHtNbGSpS1P01t/images/logos/openai.svg?fit=max&auto=format&n=LYWHtNbGSpS1P01t&q=85&s=f08aceb692b25e49fd5e0a4e86d760ed" href="/developer-resources/billing-deconstructions/openai" width="24" height="24" data-path="images/logos/openai.svg">
    复制基于令牌的预付积分模型。
  </Card>

  <Card title="Cursor" icon="https://mintcdn.com/dodopayments/QMrmQEutc1DEUdTz/images/logos/cursor.svg?fit=max&auto=format&n=QMrmQEutc1DEUdTz&q=85&s=7e16fe8cba52f3f509c54be8e1ae15da" href="/developer-resources/billing-deconstructions/cursor" width="24" height="24" data-path="images/logos/cursor.svg">
    构建模型加权的使用限制。
  </Card>

  <Card title="ElevenLabs" icon="https://mintcdn.com/dodopayments/LYWHtNbGSpS1P01t/images/logos/elevenlabs.svg?fit=max&auto=format&n=LYWHtNbGSpS1P01t&q=85&s=87aa61a0985fcecc109bb442e0e4795e" href="/developer-resources/billing-deconstructions/elevenlabs" width="24" height="24" data-path="images/logos/elevenlabs.svg">
    实现带有结转和超额的字符配额。
  </Card>

  <Card title="Midjourney" icon="https://mintcdn.com/dodopayments/LYWHtNbGSpS1P01t/images/logos/midjourney.svg?fit=max&auto=format&n=LYWHtNbGSpS1P01t&q=85&s=f8d9144eb2f6afb0bbada40c2d5cddf1" href="/developer-resources/billing-deconstructions/midjourney" width="256" height="214" data-path="images/logos/midjourney.svg">
    合并订阅与使用基于的备用。
  </Card>

  <Card title="Replicate" icon="https://mintcdn.com/dodopayments/LYWHtNbGSpS1P01t/images/logos/replicate.svg?fit=max&auto=format&n=LYWHtNbGSpS1P01t&q=85&s=7e3ac9c3c3df1773b9fd375d2bf39784" href="/developer-resources/billing-deconstructions/replicate" width="24" height="24" data-path="images/logos/replicate.svg">
    设置纯每秒消费计量。
  </Card>

  <Card title="Lovable" icon="https://mintcdn.com/dodopayments/LYWHtNbGSpS1P01t/images/logos/lovable.svg?fit=max&auto=format&n=LYWHtNbGSpS1P01t&q=85&s=2313952f22719a239ceb1f5b01a9b24f" href="/developer-resources/billing-deconstructions/lovable" width="24" height="24" data-path="images/logos/lovable.svg">
    复制带有每日奖励滴的消息积分订阅。
  </Card>
</CardGroup>

## Dodo 功能

<CardGroup cols={2}>
  <Card title="Credit-Based Billing" icon="coins" href="/features/credit-based-billing">
    管理预付积分和虚拟单位。
  </Card>

  <Card title="Usage-Based Billing" icon="chart-line" href="/features/usage-based-billing/introduction">
    实时计量消耗。
  </Card>

  <Card title="Subscriptions" icon="calendar" href="/features/subscription">
    处理循环计费和计划管理。
  </Card>

  <Card title="Hybrid Billing" icon="shuffle" href="/features/hybrid-billing">
    合并多种计费模型以实现最大灵活性。
  </Card>
</CardGroup>

## 吸纳蓝图

每个解析都包含与 Dodo 的[吸纳蓝图](/features/usage-based-billing/ingestion-blueprints)的集成，预构建的 SDK 可自动处理事件跟踪。无需手动构建使用事件，只需使用蓝图即可在几分钟内获得生产就绪的计量。

<CardGroup cols={3}>
  <Card title="LLM Blueprint" icon="brain-circuit" href="/developer-resources/ingestion-blueprints/llm">
    用于 OpenAI、Anthropic、Groq 等的自动令牌跟踪。
  </Card>

  <Card title="Stream Blueprint" icon="tower-broadcast" href="/developer-resources/ingestion-blueprints/stream">
    跟踪音频和视频流带宽。
  </Card>

  <Card title="Time Range Blueprint" icon="clock" href="/developer-resources/ingestion-blueprints/time-range">
    按计算时长收费，精确到毫秒。
  </Card>
</CardGroup>
