Billing infrastructure for AI

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

Setup

Set up plans, credit systems, grants, and markups on model pricing.

Meter

Run fast balance checks, synchronous event ingestion, and balance updates so customers never go below zero.

Bill

Give customers an AI-native portal with usage dashboards, credit top-ups, upgrades, and downgrades.

Native support for credit based plans

Dollar denominated or virtual currency, credit grant policies, synchronous balance updates.

Let's add open source models like GLM 5.1
to model selection dropdown
Thought 6s
Searched model selection dropdown
Read ModelSelector.tsx
model-options.ts+18

Added an Open source group with GLM 5.1, Qwen3 Coder, and Kimi K2.
Kept existing provider ordering unchanged.

Updated dropdown labels
Checked keyboard selection
Ran typecheck
ModelSelector.tsx+12-3

Done. The selector now includes open source models alongside hosted providers.

Add a follow up
Grant billing
Balance (credits)
1,214
Monthly Pro plan credit grant36 / 1,250
Trial credit grant62 / 250
Session cost
$0.36
Usage
18.4k tokens

Integration with inference providers and LLM routers

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

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,
});

Monetize your AI app with Grant

Get started