[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[AI SDK](/c/ai-sdk/62)

# Claude model in the AI Gateway experiences stream interruption issues

62 views · 0 likes · 2 posts


Shadowssdt (@shadowssdt) · 2025-09-28

IDE: Cline

Example: “Help me write a 500-line bubble sort algorithm in Python“

it works fine with OpenRouter but gets truncated when using Vercel AI Gateway with Claude models.


Shadowssdt (@shadowssdt) · 2025-09-30

It seems to be a “Max Output” issue. Can you increase the default max_tokens of Claude’s model to 64k, like OpenRouter does?