ChatGPT / 互联网技术 · 2024年4月2日

OpenAI API报错:无效请求错误,提示模型`gpt-4`不存在或您无权访问

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

一、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。

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

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

GPT-4模型肯定是存在的,而你在调用时提示Model_not_found是因为你的OpenAI API没有权限使用GPT-4 API。

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

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

  1. 退回3.5模型:OpenAI免费账号可以调用GPT-3.5模型;
  2. 升级成OpenAI付费账号:GPT-4模型已经对所有OpenAI付费用户开放了,这个需要绑定国外信用卡,如果你没有国外信用卡,那么可以考虑购买代充值服务。
OpenMagic API

Need more than content? Move into the product flow.

If you are here for model access, pricing, developer docs, or the future API console, the dedicated product path now lives on api.openmagic.ai.

登录免费注册