gpt4 book ai didi

openai-api - 您超出了当前配额,请使用新的 ChatGPT 帐户检查您的计划和账单详细信息?

转载 作者:行者123 更新时间:2023-12-02 05:49:26 81 4
gpt4 key购买 nike

a Few days back, I created an account with chat gpt. Now I have tried api the first time but it's giving me an error; my quota has finished. but I have not used it. even in the usage section, it's telling 0 calls so far. I still have full credit. I created an account 5 days ago. and created API key 24 hours ago.

import openai
import os

# Set up OpenAI API client

openai.api_key = 'string_key'
# model_engine = "curie" # choose a language model, for example 'davinci' or 'curie'
# model = 'gpt-3.5-turbo'

# Generate text with GPT
prompt = 'what is moon size'
response = openai.Completion.create(
engine='gpt-3.5-turbo',
prompt=prompt,
max_tokens=10,
n=1,
stop=None,
temperature=0.5,
)
print(response.choices[0].message.content)

但我看到人们创建并使用它。是否因为国家/地区限制而被锁定?就像只允许在某些国家/地区使用的 Google Bard 项目一样?

我读过几个有关此问题的问题 this_anser 。但我的问题是它是一个新帐户,而且我是第一次使用它。因此,超出配额似乎并不正确。

最佳答案

我也收到了同样的消息。看来你需要有一个付费帐户才能使用该 API。我设置了一个即用即付帐户,它清除了该特定错误(现在又出现了另一个错误!但我的代码中可能有错误)。不过网上查了一下好像确实是这样。另外值得注意的是,一旦您注册为现收现付,您将失去 18 美元的补助金。

关于openai-api - 您超出了当前配额,请使用新的 ChatGPT 帐户检查您的计划和账单详细信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/76154305/

81 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com