vercel-logotype Logovercel-logotype Logo
    • Frameworks
      • Next.js

        The native Next.js platform

      • Turborepo

        Speed with Enterprise scale

      • AI SDK

        The AI Toolkit for TypeScript

    • Infrastructure
      • CI/CD

        Helping teams ship 6× faster

      • Delivery network

        Fast, scalable, and reliable

      • Fluid compute

        Servers, in serverless form

      • AI Infrastructure

        AI Gateway, Sandbox, and more

      • Observability

        Trace every step

    • Security
      • Platform security

        DDoS Protection, Firewall

      • Web Application Firewall

        Granular, custom protection

      • Bot management

        BotID, Bot Protection

    • 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

    • Users
      • Platform Engineers

        Automate away repetition

      • Design Engineers

        Deploy for every idea

    • Tools
      • Resource Center

        Today’s best practices

      • Marketplace

        Extend and automate workflows

      • Templates

        Jumpstart app development

      • Guides

        Find help quickly

      • Partner Finder

        Get help from solution partners

    • 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

  • Enterprise
  • Docs
  • Pricing
  • All Posts
  • Engineering
  • Community
  • Company News
  • Customers
  • v0
  • Changelog
  • Press
  • No results found for "".
    Try again with a different keyword.

Follow us on

X

to hear about the changes first.

  • Aug 13, 2025

    Introducing the Runtime Cache API

    You can now access Vercel's Runtime Cache via API.

    The Runtime Cache is an ephemeral cache for storing and retrieving data across Functions, Routing Middleware, and Builds within the same region. It supports tag-based invalidation for precise and efficient cache control.

    You can get started with the API like this:

    import { getCache } from "@vercel/functions";
    export async function GET(request) {
    const cache = getCache();
    const cacheKey = 'blog';
    const value = await cache.get(cacheKey);
    if (value) {
    return value;
    }
    const res = await fetch("https://api.vercel.app/blog");
    const originValue = await res.json();
    await cache.set(cacheKey, originValue, {
    ttl: 3600,
    tags: ['blogs'],
    });
    return originValue;
    }

    You can monitor hit rates, invalidation patterns, and storage usage across your applications in the Observability dashboard's Runtime Cache tab.

    Runtime Cache reads and writes are billed regionally based on the runtime region.

    The Vercel Data Cache, used by unstable_cache() and fetch() caching in Next.js 13, remains in beta and is not billed during this period.

    You can still view your Vercel Data Cache usage under the Runtime Cache tab via the toggle at the top of the page.

    Learn more about Runtime Cache in the docs.

    Luba Kravchenko, Kelly Davis

  • Aug 12, 2025

    Claude Sonnet 4 now supports 1M token context in Vercel AI Gateway

    You can now leverage Claude Sonnet 4's updated 1 million-token context window with Vercel's AI Gateway with no other provider accounts required. This release from Anthropic enables significantly larger inputs such as full codebases (~75,000+ lines) or large document sets.

    AI Gateway lets you call the model with a consistent unified API and just a single string update, track usage and cost, and configure performance optimizations, retries, and failover for higher than provider-average uptime.

    To use it with the AI SDK v5, start by installing the package:

    pnpm i ai

    Then set the model to anthropic/claude-4-sonnet:

    import { streamText } from 'ai';
    import { largePrompt } from './largePrompt.ts';
    const result = streamText({
    headers: {
    'anthropic-beta': 'context-1m-2025-08-07',
    },
    model: 'anthropic/claude-4-sonnet',
    prompt: `You have a big brain. Summarize into 3 sentences: ${largePrompt}`,
    providerOptions: {
    gateway: { only: ['anthropic'] },
    },
    });

    Includes built-in observability, Bring Your Own Key support, and intelligent provider routing with automatic retries.

    To deliver high performance and reliability to Claude Sonnet 4, AI Gateway leverages multiple model providers under the hood, including Anthropic and Bedrock.

    Learn more about AI Gateway and view the new AI Gateway model leaderboard.

    AI Gateway: Track top AI models by usage

    The AI Gateway model leaderboard ranks the most used models over time by total token volume across all traffic through the Gateway. Updates regularly.

    View the leaderboard

    Walter Korman, Sam Chitgopekar, Harpreet Arora

  • Aug 12, 2025

    Auto-recharge available in AI Gateway

    enable auto recharge preview (dark)enable auto recharge preview (dark)

    Vercel AI Gateway now supports automatic credit recharging (top-ups), optionally refilling your balance before it runs out to keep your apps running without interruption.

    Auto-recharge is off by default and can be enabled or updated anytime in the AI Gateway dashboard or team billing settings. Set your top-up amount and trigger balance, optionally add a monthly spend limit, and your credits will automatically refill.

    Learn more about AI Gateway.

    Jeremy Philemon, Walter Korman, Harpreet Arora

Ready to deploy? Start building with a free account. Speak to an expert for your Pro or Enterprise needs.

Start Deploying
Talk to an Expert

Explore Vercel Enterprise with an interactive product tour, trial, or a personalized demo.

Explore Enterprise

Products

  • AI
  • Enterprise
  • Fluid Compute
  • Next.js
  • Observability
  • Previews
  • Rendering
  • Security
  • Turbo
  • v0

Resources

  • Community
  • Docs
  • Guides
  • Help
  • Integrations
  • Pricing
  • Resources
  • Solution Partners
  • Startups
  • Templates

Company

  • About
  • Blog
  • Careers
  • Changelog
  • Events
  • Contact Us
  • Customers
  • Partners
  • Shipped
  • Privacy Policy

Social

  • GitHub
  • LinkedIn
  • Twitter
  • YouTube

Loading status…

Select a display theme: