AIFeed

AI Gateway 上采用 BYOK 的团队现可使用自己的密钥进行回退

AI summary

采用自带提供商密钥(BYOK)的团队现在可以让失败的请求回退到自己的密钥,而不是 Vercel 密钥。关闭回退到 Vercel 密钥后,AI Gateway 会先尝试该模型其他提供商的自家密钥,再尝试已配置的回退模型(同样使用自家密钥);若没有提供商能处理,请求就会失败。

Translation(model translation, not the source's own text)

文章标题:AI Gateway 上的 BYOK 团队现在可以使用自己的密钥进行回退

正文:

题图
题图

在 AI Gateway 上自带提供商密钥(BYOK)的团队,现在可以回退到自己的密钥,而不再回退到 Vercel 密钥。

默认情况下,如果你的提供商密钥上的请求失败,AI Gateway 会用 Vercel 密钥重试。你现在可以关闭回退到 Vercel 密钥,这样失败的请求只会在你自己的密钥上重试。

你现在可以选择使用自己的密钥处理回退请求。

对于有严格合规要求(例如 HIPAA)或提供商协议要求将所有用量保留在自己账户上的团队,这让他们可以把 AI Gateway 当作跨所有提供商的单一 API 使用,而无需让任何一个请求经过 Vercel 密钥。

当你关闭回退到 Vercel 密钥后,AI Gateway 会先尝试用你的密钥调用该模型的其他提供商,然后尝试你已配置的任何回退模型(同样使用你自己的密钥)。如果没有提供商能够处理,请求就会失败。

要关闭回退到 Vercel 密钥,请在仪表盘中进入你的 AI Gateway Settings,关闭 Fallback to Vercel Keys 并选择 Disable Fallback。

使用自己的密钥处理回退请求需要已购买额度且余额为正,AI Gateway 对由你的密钥或私有模型成功处理的每 1,000 个请求(包括成功的回退请求)收取 $0.20。关闭回退后,web search 等 Gateway 工具将不可用。

参阅 BYOK 文档以了解更多。

Contributors

Pranav Kanchi

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by Vercel Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗