chatgpt-web icon indicating copy to clipboard operation
chatgpt-web copied to clipboard

页面加载时间及问答消耗token问题

Open xiaomenggit opened this issue 1 year ago • 1 comments

1.进入页面后,三个小球加载页面时间过长,加载时间受哪些因素影响,如何优化 2.如何计算每次问答所消耗的token

xiaomenggit avatar Mar 24 '23 02:03 xiaomenggit

1.进入页面后,三个小球加载页面时间过长,加载时间受哪些因素影响,如何优化 2.如何计算每次问答所消耗的token

加载时间取决于浏览器访问服务器的速度,需要加载一个大约2M的文件,如果在本地或者国内的服务器基本是秒开。或者你人优化到国外去基本也是秒开。

Multiple models, each with different capabilities and price points. Prices are per 1,000 tokens. You can think of tokens as pieces of words, where 1,000 tokens is about 750 words. This paragraph is 35 tokens.

这段英文大概35个token,750个单词大概消耗1000个token

weifeng12x avatar Mar 24 '23 16:03 weifeng12x

1.进入页面后,三个小球加载页面时间过长,加载时间受哪些因素影响,如何优化 2.如何计算每次问答所消耗的token

加载时间取决于浏览器访问服务器的速度,需要加载一个大约2M的文件,如果在本地或者国内的服务器基本是秒开。 或者你人优化到国外去基本也是秒开。

多种型号,每种型号都有不同的功能和价位。价格为每 1,000 个代币。您可以将令牌视为单词片段,其中 1,000 个标记大约是 750 个单词。这一段是 35 个代币。

这段英文大概35个token,750个单词大概消耗1000个token

感谢回复 1.vue页面组件复杂程度是否会对访问速度造成一点影响呢,是的话我打算优化下页面组件。 2.经测试来看手机网页加载时间远大于电脑加载时间,如何重点优化手机访问速度呢。

xiaomenggit avatar Mar 27 '23 02:03 xiaomenggit