Skip to content

Conversation

@sashimikun
Copy link

Issue: #16

PR Description:

  • Updated apps/web/app/docs/ai-sdk/page.tsx and apps/web/app/docs/quick-start/page.tsx to use process.env.AI_GATEWAY_MODEL with a fallback to anthropic/claude-haiku-4.5.
  • Added a "Choosing a Model" section to apps/web/app/docs/ai-sdk/page.tsx with a cost/quality comparison table for Haiku, Sonnet, and Opus.
  • Added a link to the Vercel AI Gateway model list in the documentation.

Screenshot:
image

- Updated `apps/web/app/docs/ai-sdk/page.tsx` and `apps/web/app/docs/quick-start/page.tsx` to use `process.env.AI_GATEWAY_MODEL` with a fallback to `anthropic/claude-haiku-4.5`.
- Added a "Choosing a Model" section to `apps/web/app/docs/ai-sdk/page.tsx` with a cost/quality comparison table for Haiku, Sonnet, and Opus.
- Added a link to the Vercel AI Gateway model list in the documentation.
@vercel
Copy link
Contributor

vercel bot commented Jan 18, 2026

@google-labs-jules[bot] is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

const result = streamText({
model: 'anthropic/claude-haiku-4.5',
model: process.env.AI_GATEWAY_MODEL || 'anthropic/claude-haiku-4.5',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation uses outdated or incorrect Claude model identifiers that don't match current Vercel AI Gateway API

Fix on Vercel

<p className="text-sm text-muted-foreground mb-4">
See the full list of available models in the{" "}
<a
href="https://vercel.com/docs/ai/models"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
href="https://vercel.com/docs/ai/models"
href="https://vercel.com/docs/ai-gateway/models-and-providers"

Documentation link points to non-existent URL https://vercel.com/docs/ai/models which returns a 404 error

Fix on Vercel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant