[自投自抢,解决了]关于NEW-API渠道配置的问题,求助站里的公益站大佬

前两天薅到了GCP300,就在上面开了个小鸡,尝试部署了个new-api,想把vertex中转回来免翻墙用,在配置渠道的时候遇到点问题,老模型没问题,新模型报错404.

模型名称配置为:**gemini-2.5-pro,**点击测试返回成功

模型名称配置为:gemini-3-pro-preview,点击测试返回下面的报错


Publisher Model `projects/$项目名称$/locations/us-central1/publishers/google/models/gemini-3-pro-preview` was not found or your project does not have access to it. Please ensure you are using a valid model version. For more information, see: https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions

检查了gcp控制台中vertex api的配置也没看出来哪里有问题

试图翻一下官方api接口文档,结果越看越糊涂,估计今晚是搞不定了,求助站里的公益大佬,这里要怎么配置才能用上pro 3和大香蕉?

2 个赞

解决了,区域要配置为global,参考官方api调用示例

vertex能输出吗?我的总报错诶

输出没问题