Latest in AI
Vercel MCP AI Gateway: How to check which team pays
Run one small model call, verify the billed team, and separate a useful prototype from an agent that quietly spends your shared credits.
Vercel MCP can now call AI Gateway models directly from a connected assistant. The December 2 update adds generation, extraction and decision tools. You don't need a separate Gateway key, but the calls are billed against a Vercel team's credits. Verify that team before asking an assistant to iterate on an output.
Pick the tool by what you need back
Vercel's tool reference documents four calls. The difference is what you can check downstream.
| Tool | Useful first task |
|---|---|
generate_ai_gateway_text | Rewrite a short fixture while preserving a known ID. |
generate_ai_gateway_image | Make one mock product image. The tool can return up to four. |
generate_ai_gateway_decision | Classify a synthetic ticket into one of two predefined categories. |
generate_ai_gateway_extraction | Pull named fields out of a synthetic receipt and check what happens when a field is missing. |
If someone needs a receipt number to join two records, give them an extraction field instead of a summary. The extraction result can include a source location, a missing value, or a refusal. Keep those distinct in any prototype that consumes the result.
Make exactly one billed call first
Use a development team you're allowed to bill and an existing Vercel MCP connection. The docs say calls use the team in teamId, and a team-bound connection is billed to its bound team. Confirm both before the test; don't rely on the project folder open in the editor. Check the model's rate in the Gateway model catalog.
For a cheap first test, ask the assistant to make exactly one text call with a selected model and this fixture: “Rewrite 'Demo order A-104 is ready.' in one sentence without changing the ID.” Tell it to stop after one response, not to retry, and not to edit files. Inspect the tool result for the resolved model, token usage and generation ID. Check the actual charge in the intended team's Gateway activity. If the connection or billing trail is ambiguous, confirm it before running a longer chain.
A chain has more than one billable step
The launch example generates thumbnails and then scores them. For a budget comparison, start with one thumbnail and one score. Image generation and scoring are different model calls, and the decision tool accepts one input per call. A confidence fallback can trigger another billable run; its answers carry no confidence according to the reference.
Put an explicit call budget on the prototype before you add multiple candidates or retries. Record total spend per image you would actually use, rather than just the amount the image tool cost. If the assistant rejects six candidates before choosing one, those attempts belong in the total.
Decide when the prototype should move into your app
MCP is a quick way to see which input and output contracts work for a team. A customer-facing feature should make model choice, budgets, request attribution and fallbacks predictable in its own application code. I'd move the workflow there once the output becomes a product dependency. Otherwise, a small change to the assistant prompt can quietly change both the result and who runs up the bill.
I'm Paras. I work on technical writing and launch stories for AI products.
I help teams explain where a developer shortcut is useful and where it stops being the right production interface.