docs: flag that the default model needs paid AI Gateway credits#3
Open
ShawnPana wants to merge 1 commit into
Open
docs: flag that the default model needs paid AI Gateway credits#3ShawnPana wants to merge 1 commit into
ShawnPana wants to merge 1 commit into
Conversation
A fresh deploy builds and runs, but the default anthropic/claude-opus-4.8 routes through the Vercel AI Gateway, which returns "Free tier users do not have access to this model" without paid credits. Document the gateway-credits requirement and the no-gateway direct-provider path (ANTHROPIC_API_KEY) in ENVIRONMENT.md and the README Deploy step. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Deploy verification surfaced this: a fresh deploy builds and the app runs, but the default
anthropic/claude-opus-4.8routes through the Vercel AI Gateway, which returns "Free tier users do not have access to this model" at request time unless the account has paid gateway credits. So a new deployer can't browse out of the box and the cause isn't obvious.Changes (docs only)
docs/ENVIRONMENT.md— restructures the model-credential section into two clear paths: A) AI Gateway (with a callout that it needs paid credits) and B) direct provider (ANTHROPIC_API_KEY, no gateway/credits).README.md— adds a note under the Deploy step pointing at the same.No code changes.
🤖 Generated with Claude Code
Summary by cubic
Clarifies that the default model
anthropic/claude-opus-4.8runs through the Vercel AI Gateway and requires paid credits, which otherwise triggers “Free tier users do not have access to this model.” UpdatesREADME.mdanddocs/ENVIRONMENT.mdto show two setup paths: A) AI Gateway (paid credits) and B) direct provider usingANTHROPIC_API_KEYwith a one-line model change.Written for commit 207d3c4. Summary will update on new commits.