ChatGPT博客
分享ChatGPT中文教程和资讯
ChatGPT Plus代升级 ChatGPT 账号/ChatGPT 代注册 OpenAI API代充值

OpenAI API报错invalid_request_error,提示The model `gpt-4` does not exist or you do not have access to it

OpenAI API key

调用OpenAI API key时,报错invalid_request_error,具体的code是model_not_found,详细的信息:The model `gpt-4` does not exist or you do not have access to it。这篇文章ChatGPT中文网就分享下这个问题的原因和解决方法。

一、OpenAI API gpt-4 not found问题描述

如下图,在调用OpenAI API key时报错invalid_request_error,提示model_not_found,详细的错误信息The model `gpt-4` does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.(模型gpt-4不存在或您无权访问它):

OpenAI API gpt-4 not found

二、OpenAI API gpt-4 not found问题原因

GPT-4模型肯定是存在的,而你在调用时提示model_not_found是因为你的OpenAI API没有权限使用GPT-4 API,这个ChatGPT中文网其实之前就分享过了:《为什么用不了GPT-4 API?怎样才能开通调用4.0 API的权限?

三、OpenAI API gpt-4 not found解决方法

如果你在调用OpenAI API key时遇到了这个问题,那么可以:

  1. 退回3.5模型:OpenAI免费账号可以调用GPT-3.5模型;
  2. 升级成OpenAI付费账号:GPT-4模型已经对所有OpenAI付费用户开放了,这个需要绑定国外信用卡,如果你没有国外信用卡,那么可以考虑购买代充值服务:《OpenAI API代充值余额,解锁GPT-4.0 API,解除每分钟限制调用3次API的Limits》。

「ChatGPT研修班」知识星球上线啦,早鸟价249元/年!

上百篇教程,带你从0到1玩赚ChatGPT点击了解详情

ChatGPT知识星球

赞(0)
未经允许不得转载:ChatGPT博客 » OpenAI API报错invalid_request_error,提示The model `gpt-4` does not exist or you do not have access to it