Access billing usage and cost data via API
Vercel now provides programmatic access to billing usage and cost data through the API and CLI using the FOCUS v1.3 open-standard format. Teams can stream cost data efficiently with 1-day granularity and integrate it into FinOps tools without custom transformation logic.
Vercel now supports programmatic access to billing usage and cost data through the API and CLI. The new endpoint returns data in the , allowing teams to ingest cost data into FinOps tools without custom transformation logic./billing/chargesFOCUS v1.3 open-standard format
The endpoint supports 1-day granularity with a maximum date range of one year. Responses are streamed as newline-delimited JSON (JSONL) to handle large datasets efficiently.
SDK usage
curl usage
CLI usage
For quick introspection, the command displays billing usage for the current period or a custom date range. This includes credit-use and costs for each service.vercel usage
View usage for the current billing period
View usage for a custom date range
Vantage has also released a native integration that connects Vercel teams to Vantage accounts. This automatically syncs usage and cost data alongside other tools, simplifying cost observability. Read the for details.Vantage announcement blog
Learn more in the and .API documentationCLI reference
Source: original entry ↗
More from Vercel
Follow Vercel to get its new changes in your feed and email digest.
OpenAI Decisions API now available on AI Gateway
OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.
Timestamp attributes now supported in Vercel Flags
Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.
Glyph Cluster now available in stealth on AI Gateway
Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.