2026-06-13 21:08:37 +07:00
export default {
2026-06-14 14:32:59 +07:00
id : "vercel-ai-gateway" ,
2026-06-14 18:49:38 +07:00
priority : 160 ,
2026-06-14 14:32:59 +07:00
alias : "vercel-ai-gateway" ,
aliases : [
"vercel" ,
],
uiAlias : "vercel" ,
2026-06-14 13:15:48 +07:00
display : {
2026-06-14 14:32:59 +07:00
name : "Vercel AI Gateway" ,
icon : "deployed_code" ,
color : "#111827" ,
textIcon : "VG" ,
website : "https://vercel.com/ai-gateway" ,
notice : {
text : "Unified OpenAI-compatible endpoint from Vercel. Use your AI Gateway API key, then pick models with provider/model IDs like anthropic/claude-sonnet-4.6 or openai/gpt-5.4." ,
apiKeyUrl : "https://vercel.com/dashboard/~/ai-gateway" ,
},
2026-06-14 13:15:48 +07:00
},
category : "apikey" ,
2026-06-14 14:32:59 +07:00
transport : {
baseUrl : "https://ai-gateway.vercel.sh/v1/chat/completions" ,
2026-06-15 18:18:04 +07:00
thinkingFormat : "openai" ,
2026-06-14 14:32:59 +07:00
retry : {
"429" : 2 ,
},
usage : {
url : "https://ai-gateway.vercel.sh/v1/credits" ,
2026-06-14 13:15:48 +07:00
},
},
2026-06-14 14:32:59 +07:00
serviceKinds : [ "llm" , "embedding" , "image" , "imageToText" , "webSearch" ],
embeddingConfig : { baseUrl : "https://ai-gateway.vercel.sh/v1/embeddings" },
imageConfig : { baseUrl : "https://ai-gateway.vercel.sh/v1/images/generations" },
searchViaChat : { defaultModel : "openai/gpt-4o-mini" , pricingUrl : "https://vercel.com/docs/ai-gateway/pricing" },
modelsFetcher : { url : "https://ai-gateway.vercel.sh/v1/models" , type : "openai" },
passthroughModels : true ,
features : {
usage : true ,
usageApikey : true ,
2026-06-14 13:15:48 +07:00
},
2026-06-13 21:08:37 +07:00
};