We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@glide-the
请问sdk是否有计算输入tokens数的API? 如果没有, 请问使用 https://github.com/openai/tiktoken 是否可行?
我希望在发送文本前可以粗略计算出 本次花费 = (输入tokens数 * 输入费率 + 本次响应最大tokens限制数 * 响应费率)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@glide-the
请问sdk是否有计算输入tokens数的API? 如果没有, 请问使用 https://github.com/openai/tiktoken 是否可行?
我希望在发送文本前可以粗略计算出 本次花费 = (输入tokens数 * 输入费率 + 本次响应最大tokens限制数 * 响应费率)
The text was updated successfully, but these errors were encountered: