Lower your Vercel AI Gateway spend.

Wrap your AI SDK calls. Connect your Vercel billing.

Category
Gateways
Connects with
SDKBilling
Spend by modelVercel AI Gateway

$2,834

  • openai/gpt-6.2-sol$1,640
    support-reply
  • anthropic/claude-sonnet-5-5$980
    chat-stream
  • google/gemini-4-hydrogen$214
    doc-search

OPT-21 · support-reply

Reuse the support-reply answer when a customer reloads the chat

In progressOwner Sam Okafor

$194–$238estimated per month

How it works with Vercel AI Gateway.

Tracked vs billed for Vercel AI Gateway.

Tracked$2,834
recorded as calls runlast 30 days
Billed$3,057
on your Vercel billlast 30 days
Gap$223
billed but not tracked7.3% of the bill
ModelBilledStatus
  • openai/gpt-6.2-sol$1,640Matched
  • anthropic/claude-sonnet-5-5$1,203Gap $223

    $223 billed but not tracked: an edge route that streams without the wrapper.

  • google/gemini-4-hydrogen$214Matched
  1. 1Wrap your AI SDK calls

    Add these lines where you call the AI Gateway.

    import { init, trackGenerateText } from "@superpenguin/js";import { generateText } from "ai";init({ apiKey: process.env.SP_API_KEY });const trackedGenerateText = trackGenerateText(generateText, {  provider: "vercel_ai_gateway",  functionId: "support-reply",});
  2. 2Connect your Vercel billingOptional

    In SuperPenguin, open Integrations > Vercel AI Gateway and add an AI Gateway API key. Billing docs →