Docs: add pricing doc (#287)

Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
This commit is contained in:
Carson Yang
2023-09-12 20:06:09 +08:00
committed by GitHub
parent 8f953d1fc4
commit c8dee29dc4
10 changed files with 41 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

View File

@@ -19,7 +19,7 @@ weight: 720
具体部署方法可参考该项目的 [README](https://github.com/songquanpeng/one-api),也可以直接通过以下按钮一键部署:
[![](https://cdn.jsdelivr.us/gh/labring-actions/templates@main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-fastdeploy%3FtemplateName%3Done-api)
[![](https://fastly.jsdelivr.net/gh/labring-actions/templates@main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-fastdeploy%3FtemplateName%3Done-api)
## 安装 Docker 和 docker-compose

View File

@@ -19,7 +19,7 @@ MySQL 版本支持多实例,高并发。
直接点击以下按钮即可一键部署 👇
[![](https://cdn.jsdelivr.us/gh/labring-actions/templates@main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-fastdeploy%3FtemplateName%3Done-api)
[![](https://fastly.jsdelivr.net/gh/labring-actions/templates@main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-fastdeploy%3FtemplateName%3Done-api)
部署完后会跳转「应用管理」,数据库在另一个应用「数据库」中。需要等待 1~3 分钟数据库运行后才能访问成功。

View File

@@ -9,7 +9,7 @@ weight: 710
Sealos 的服务器在国外,不需要额外处理网络问题,无需服务器、无需魔法、无需域名,支持高并发 & 动态伸缩。点击以下按钮即可一键部署 👇
[![](https://cdn.jsdelivr.us/gh/labring-actions/templates@main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-fastdeploy%3FtemplateName%3Dfastgpt)
[![](https://fastly.jsdelivr.net/gh/labring-actions/templates@main/Deploy-on-Sealos.svg)](https://cloud.sealos.io/?openapp=system-fastdeploy%3FtemplateName%3Dfastgpt)
由于需要部署数据库,部署完后需要等待 2~4 分钟才能正常访问。默认用了最低配置,首次访问时会有些慢。

View File

@@ -0,0 +1,33 @@
---
title: '定价'
description: 'FastGPT 的定价'
icon: 'currency_yen'
draft: false
toc: true
weight: 10
---
[OpenAI 的 API 官方计费模式](https://openai.com/pricing#language-models)为:按每次 API 请求内容和返回内容 tokens 长度来定价。每个模型具有不同的计价方式,以每 1,000 个 tokens 消耗为单位定价。其中 1,000 个 tokens 约为 750 个英文单词。平台的 tokens 数量计算算法与 OpenAI 一致,您可以随时通过「使用记录」来查看余额消耗明细的说明,来对比计算是否一致。
![](/imgs/fastgpt-price.png)
以下是详细的价格表:
{{< table "table-hover table-striped-columns" >}}
| 计费项 | 价格: 元/ 1K tokens包含上下文 |
| ---------------------- | --------------------------------- |
| 知识库 - 索引 | 0.002 |
| 文件 QA 拆分 | 0.03 |
| FastAI-4k - 对话 | 0.015 |
| FastAI-16k - 对话 | 0.03 |
| FastAI-Plus-8k - 对话 | 0.45 |
| FastAI-Plus-32k - 对话 | 0.85 |
| 文心一言 - 对话 | 0.012 |
| 星火2.0 - 对话 | 0.01 |
| chatglm_pro - 对话 | 0.01 |
| 通义千问 - 对话 | 0.01 |
{{< /table >}}
{{% alert context="warning" %}}
FastAI-Plus也就是 GPT-4你懂得 系列模型 OpenAI 的定价高于 3.5 **几十倍**。如果您使用模型的场景字数较多,使用 FastAI-Plus 模型将产生非常大的消耗FastAI-Plus 模型分为两个版本8K token 内容上限和 32K token 内容上限,这两个版本请求响应的价格均不同。
{{% /alert %}}

View File

@@ -1 +1 @@
{"Target":"docs/scss/style.min.026ae092033ab78c35aa93b3849e74e3f20b34b3d852cf1f99085be776a0b91ecbb96098659f897a5cd2fb6c70e89b61.css","MediaType":"text/css","Data":{"Integrity":"sha384-AmrgkgM6t4w1qpOzhJ504/ILNLPYUs8fmQhb53aguR7LuWCYZZ+JelzS+2xw6Jth"}}
{"Target":"docs/scss/style.min.dfae72221c400d9e5816cbed333a16f8ea12c17463fb493c40bab5119dc455b63fe877d0b76b92a7d5c6c595331a243d.css","MediaType":"text/css","Data":{"Integrity":"sha384-365yIhxADZ5YFsvtMzoW+OoSwXRj+0k8QLq1EZ3EVbY/6HfQt2uSp9XGxZUzGiQ9"}}

View File

@@ -1 +1 @@
{"Target":"scss/style.min.6b64a5235d8d514196725e9d83ba69976d83035d04da47902aaa654606b9ca5c59ec04bd9353e328155f17f2c60a8b1f.css","MediaType":"text/css","Data":{"Integrity":"sha384-a2SlI12NUUGWcl6dg7ppl22DA10E2keQKqplRga5ylxZ7AS9k1PjKBVfF/LGCosf"}}
{"Target":"scss/style.min.4d48305d7fec6ad346a2319f83fc622c27253ec11be0c970ae5b04baa6074df3868a7239c250d323090fdb718523631c.css","MediaType":"text/css","Data":{"Integrity":"sha384-TUgwXX/satNGojGfg/xiLCclPsEb4MlwrlsEuqYHTfOGinI5wlDTIwkP23GFI2Mc"}}

View File

@@ -6,7 +6,7 @@
},
{
"source": "/imgs/:path*",
"destination": "https://cdn.jsdelivr.us/gh/labring/FastGPT@main/docSite/assets/imgs/:path*"
"destination": "https://fastly.jsdelivr.net/gh/labring/FastGPT@main/docSite/assets/imgs/:path*"
}
],
"headers": [