Billing infrastructure for AI

Purpose built for startups, Grant makes billing easy.
Monetize, upsell inference, attribute costs and improve margins.

Native support for credit based plans

Design your pricing how you want. Dollar denominated or virtual currency, credit grant policies, synchronous balance updates.

Explore Billing

Integration with inference providers and LLM routers

Integrate seamlessly with SDKs from OpenAI, Anthropic, Vercel and OpenRouter.

Learn more about Router
12345678910111213
import OpenAI from 'openai';
import Grant from 'grant';

const response = await openaiClient.responses.create({
  model: 'gpt-5.2',
  instructions: 'You are a coding assistant that talks like a pirate',
  input: 'Are semicolons optional in JavaScript?',
});

await grantClient.events.ingest({
  customer: customer.id,
  usage: response.usage,
});