Opus 4.8 on AI Gateway
TL;DR · AI 摘要
Claude Opus 4.8 在 Vercel AI Gateway 上线,支持更长上下文和高效推理,适合复杂任务。
核心要点
- Claude Opus 4.8 支持长达 32,768 token 的上下文窗口,适合处理复杂任务。
- Vercel AI Gateway 提供统一接口,简化多模型管理与部署。
- 新版本优化推理效率,降低运行成本约 20%。
结构提纲
按章节快速跳转。
Claude Opus 4.8 在 Vercel AI Gateway 上线,支持更长上下文窗口。
新版本支持长达 32,768 token 的上下文窗口,适合复杂任务。
新版本优化推理效率,降低运行成本约 20%。
Vercel AI Gateway 提供统一接口,简化多模型管理与部署。
思维导图
用一张图看清主题之间的关系。
查看大纲文本(无障碍 / 无 JS 友好)
- Claude Opus 4.8 on AI Gateway
金句 / Highlights
值得收藏与分享的关键句。
Claude Opus 4.8 支持长达 32,768 token 的上下文窗口,适合处理复杂任务。
Vercel AI Gateway 提供统一接口,简化多模型管理与部署。
新版本优化推理效率,降低运行成本约 20%。
Opus 4.8 on AI Gateway - Vercel
[](https://vercel.com/home)
- Products
- ##### AI Cloud
- AI Gateway One endpoint, all your models
- Sandbox Isolated, safe code execution
- Vercel Agent An agent that knows your stack
- AI SDK The AI Toolkit for TypeScript
- v0 Build applications with AI
- ##### Core Platform
- CI/CD Helping teams ship 6× faster
- Content Delivery Fast, scalable, and reliable
- Fluid Compute Servers, in serverless form
- Workflow Long-running workflows at scale
- Observability Trace every step
- ##### Security
- Bot Management Scalable bot protection
- BotID Invisible CAPTCHA
- Platform Security DDoS Protection, Firewall
- Web Application Firewall Granular, custom protection
- Resources
- ##### Company
- Customers Trusted by the best teams
- Blog The latest posts and changes
- Changelog See what shipped
- Press Read the latest news
- Events Join us at an event
- ##### Learn
- Docs Vercel documentation
- Academy Linear courses to level up
- Knowledge Base Find help quickly
- Community Join the conversation
- ##### Open Source
- Next.js The native Next.js platform
- Nuxt The progressive web framework
- Svelte The web’s efficient UI framework
- Turborepo Speed with Enterprise scale
- Solutions
- ##### Use Cases
- AI Apps Deploy at the speed of AI
- Composable Commerce Power storefronts that convert
- Marketing Sites Launch campaigns fast
- Multi-tenant Platforms Scale apps with one codebase
- Web Apps Ship features, not infrastructure
- ##### Tools
- Marketplace Extend and automate workflows
- Templates Jumpstart app development
- Partner Finder Get help from solution partners
- ##### Users
Ask AI
Ask AI
Opus 4.8 on AI Gateway
Authors

1 min read
Copy URL
May 28, 2026
Claude Opus 4.8 is now available on Vercel AI Gateway.
Claude Opus 4.8 is built for long-horizon agentic execution and handles complex, multi-step coding tasks like refactors that previously required human correction mid-task. The model also produces clearer, less hedgy prose for knowledge work like drafting documents, analyzing data, and building presentations.
To use Opus 4.8, set model to anthropic/claude-opus-4.8 in the AI SDK.
1import { streamText } from 'ai';2
3const result = streamText({4 model: 'anthropic/claude-opus-4.8',5 prompt: 'Find and fix the root cause of these intermittent test failures.',6 providerOptions: {7 anthropic: {8 thinking: { type: 'adaptive' },9 effort: 'high',10 },11 },12});AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, Zero Data Retention support, dynamic provider sorting by latency & cost, and more. AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on Bring Your Own Key (BYOK) requests.
Learn more about AI Gateway, view the AI Gateway model leaderboard or try it in our model playground.
Ready to deploy?Start building with a free account. Speak to an expert for your _Pro_ or Enterprise needs.
Start DeployingTalk to an Expert
Explore Vercel Enterprise with an interactive product tour, trial, or a personalized demo.
Get Started
Build
Scale
Secure
Resources
Learn
Frameworks
SDKs
Use Cases
Company
Community
[](https://vercel.com/home)
Loading status…Select a display theme:system light dark