Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpt-4o计价存在问题 #1546

Closed
5 tasks done
nonstopfor opened this issue Jun 20, 2024 · 8 comments
Closed
5 tasks done

gpt-4o计价存在问题 #1546

nonstopfor opened this issue Jun 20, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@nonstopfor
Copy link

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,尤其是常见问题部分
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述
gpt-4o在one-api网站上显示的计价有问题
复现步骤
使用openai-sb渠道,自定义添加gpt-4o模型
预期结果
one-api网站上显示的计价大概是官方价格的8倍左右,但从openai-sb的api上看到的余额是没问题的,说明是one-api的计价出现了问题
相关截图
如果没有的话,请删除此节。

@nonstopfor nonstopfor added the bug Something isn't working label Jun 20, 2024
@ye4293
Copy link
Collaborator

ye4293 commented Jun 21, 2024

你应该确认是不是openaisb有问题。他们的换算制度和one是不一样的,还有就是他们更新到最新的编码器了嘛?

@nonstopfor
Copy link
Author

nonstopfor commented Jun 21, 2024

openaisb的价格我已确认了没有问题(通过他们的余额查询接口),另外编码器看起来不是主要原因,价格差了大概7-8倍,应该不是由编码器导致的。我不确定是否和自定义添加gpt-4o有关系,因为现在默认的话渠道里头还是没这个模型

@QAbot-zh
Copy link

你看下日志里的模型倍率呢,oneapi 什么版本,要是太早的版本就更新下吧,默认渠道已经有 gpt-4o 了的

image

@nonstopfor
Copy link
Author

你看下日志里的模型倍率呢,oneapi 什么版本,要是太早的版本就更新下吧,默认渠道已经有 gpt-4o 了的

image

日志里的模型倍率是30,应该有问题。oneapi是最新的0.6.6的版本。我用的渠道是openai-sb那个,默认的还没有gpt-4o

@QAbot-zh
Copy link

日志里的模型倍率是30,应该有问题。oneapi是最新的0.6.6的版本。我用的渠道是openai-sb那个,默认的还没有gpt-4o

不应该啊,你肯定不是最新的,30是设置里没有的模型的缺省倍率,还是更新看看吧。或者手动设置一下,模型倍率2.5,补全倍率3
image

@nonstopfor
Copy link
Author

是最新的啊,我还用--version打印了是0.6.6。如何手动设置呢?我觉得可能就是因为自定义模型默认用了缺省倍率?因为openai-sb的渠道里头默认目前没有gpt-4o

@QAbot-zh
Copy link

进设置里改

Screenshot_20240622_123355

@nonstopfor
Copy link
Author

手动设置可以了,感谢!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants