Archie627 said magpie has no Vercel AI Gateway. It is now a preset in
Add: Chat Completions and Responses at https://ai-gateway.vercel.sh/v1,
Anthropic Messages at https://ai-gateway.vercel.sh (Vercel takes the key
as Bearer there too), models.dev's "vercel" catalog, the vercel icon the
vercel-jev decision preset already used, and its API keys page. An
OpenCode or URL import at that host becomes the preset. READMEs and the
site's import pages (en, zh, ja) list it.
Its /v1/models (public, 505 rows today) marks each row's "type". Read
as before, the decision models (liquid/d1, typesafe-ai/jev) and realtime
voices showed as chat models, ElevenLabs voices were dropped, and
transcribers (elevenlabs/scribe-v2) showed as chat. At Vercel's host
alone (catalog.VercelGateway) the type now decides: evaluation and
realtime rows are left out, speech, transcription, embedding and
reranking rows get their Serves, image rows draw and video rows film.
The 48 "-batch" ids are left out: Vercel's docs say "Synchronous
requests don't accept -batch IDs". context_window gives the window.
Another host's "type" is read as before.
Run: TestVercelPreset and TestVercelLiveList (real rows from Vercel's
list in testdata, served through an httptest server, no network);
go test ./internal/catalog ./internal/provider on Linux (wsl-run) and
macOS (mote, -run Vercel|Preset|Import before mote stopped taking SSH);
gofmt; go vet linux, windows, darwin (CGO off).
Broken by hand: VercelGateway returning false turns TestVercelLiveList
red (decision, realtime, batch and transcriber rows back in chat); the
-batch skip alone turned off turns it red too.
Not tried: no Vercel key, so no real chat, Responses or Messages call;
only the public GET /v1/models. No GUI file reads the preset list by
name (the Add sheet is built from /api/presets), so no GUI run.