> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/ji-fen-yu-ji-fei/convai-credits/estimate-credit-usage.md).

# 估算项目的积分用量

使用 Convai 积分计算器估算角色每轮和每月消耗多少积分，以便选择适合的套餐。

在选择方案之前，使用积分计算器和一些关于用户将如何与您的角色对话的数据，估算一个项目会消耗多少积分。最后，您会得到每回合成本、每月总额，以及可覆盖这些用量的方案。

### 开始前

* 您的角色使用的语言模型和声音，以及它是否使用长期记忆、知识库或动画
* 一次典型对话：有多少个回合，以及终端用户和角色在每个回合中大约分别说多久
* 您预计每月有多少次对话

如果您是积分新手，请先阅读 [Convai 积分如何运作](/api-docs/zh/ji-fen-yu-ji-fei/convai-credits/how-convai-credits-work.md) 。它会解释计算器列出的每个组成部分。

### 估算单个回合的成本

积分计算器一次估算一个回合，它称之为一次互动。

{% stepper %}
{% step %}

#### 打开积分计算器

前往 [积分计算器](https://credit-calculator.convai.com).
{% endstep %}

{% step %}

#### 选择您角色的服务

在 **AI 大脑**，在 **AI 模型**中选择您角色的语言模型。在 **感知**下，在 **语音输入**中选择您角色的语言模型。在 **表情**中选择语音识别服务，在 **语音输出** 中选择声音，并在 **动画**.
{% endstep %}

{% step %}

#### 如果您使用记忆和知识，请将其开启

开启 **记忆** 和 **知识** ，仅当您的角色使用长期记忆或知识库时才需要。每一项都会增加每个回合的成本。
{% endstep %}

{% step %}

#### 描述一个典型回合

设置 **提示词大小** 对应语言模型每回合读取的 token 数，而 **回复大小** 对应角色回复的 token 长度。计算器大约把四个字符的文本算作一个 token。

将旁边的秒数设置为 **语音输入** 终端用户说话的时长，并将旁边的秒数设置为 **语音输出** 角色说话的时长。

**提示词大小** 包含角色指令和到目前为止的对话，因此应以典型对话中间的某个回合为基准，而不是第一个回合。作为参考， [Convai 积分如何运作](/api-docs/zh/ji-fen-yu-ji-fei/convai-credits/how-convai-credits-work.md#example-one-spoken-reply) 中的示例使用了 4,000 个输入 token。
{% endstep %}

{% step %}

#### 查看每回合成本

计算器会在每一行旁边显示该行的成本，加上 **平台费用**，并显示一次互动的总积分。成本最高的那一行，就是更换不同模型或声音最能节省成本的地方。
{% endstep %}
{% endstepper %}

{% hint style="info" %}
计算器会显示每个回合的精确成本。Convai 会把每个回合的总额向上取整到下一个完整积分，因此在乘以之前，请先把计算器中的数值向上取整。
{% endhint %}

### 估算一个月的使用量

将每回合的积分乘以一次典型对话中的回合数，再乘以您预计每月的对话次数。

下面的示例使用了 [Convai 积分如何运作](/api-docs/zh/ji-fen-yu-ji-fei/convai-credits/how-convai-credits-work.md)中的两种配置，按每次对话 12 个回合，以及专业版计划的 99,000 月度积分来计算：

| 估算                | ElevenLabs Flash v2.5 声音 | Convai TTS（托管）声音 |
| ----------------- | -----------------------: | ---------------: |
| 每回合积分             |                       19 |                8 |
| 12 回合对话的积分        |                      228 |               96 |
| 99,000 积分可覆盖的对话次数 |                      434 |            1,031 |

这些数值只涵盖回合。请再加上计算器未包含的会话时长费用：

* **会话时长。** 每个已连接会话都会按整个时长计费，包括静音时间。要测量它，请在 Playground 中与您的角色进行一次具有代表性的测试对话，然后查看其 **时长积分** 在 **积分** 标签页。将其乘以您预计每月的会话次数。

### 选择方案

在 **您能获得多少次互动？**，积分计算器会显示按您的每回合成本计算，每个方案可覆盖多少次互动。请将其与您的每月总量进行比较，包括会话时长。

要查看您的账户可用方案，请在 Playground 右上角选择您的头像，然后选择 **定价**.

在您的估算之上留出余量。未使用的积分会在续费时失效，但积分耗尽会立即中止对话，而且 Convai 不支持超额使用。

### 将估算与实际使用情况进行比较

当您的角色上线后，请将估算与实际会话进行对比。在 Convai Playground 中，选择 **项目设置** ，在侧边栏中打开 **积分** 标签页，并查看 **会话使用情况** 面板。对于每个会话， **回合积分** 和 **时长积分** 会显示其使用情况。

如果实际使用量高于您的估算，请先检查 **提示词大小** 。较长的角色指令和较长的对话会增加每个回合的输入 token。

### 下一步

{% content-ref url="/pages/7a9f143ebd8418dc708460fd894f2170cf29cfa0" %}
[积分余额与计费周期](/api-docs/zh/ji-fen-yu-ji-fei/convai-credits/credit-balance-and-billing-cycle.md)
{% endcontent-ref %}

{% content-ref url="/pages/957124210cfad304d2cbc47c921f7e9ccbe01cae" %}
[Convai 积分如何运作](/api-docs/zh/ji-fen-yu-ji-fei/convai-credits/how-convai-credits-work.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.convai.com/api-docs/zh/ji-fen-yu-ji-fei/convai-credits/estimate-credit-usage.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
