Turn Usage Into Revenue

A billing platform built for AI companies

01Ingest
Ingest usage & inference on behalf of your users.
02Aggregate
Transform raw signals into billable usage.
03Charge
Generate charges & collect payments automatically.

Event-based usage billing. Checkouts that convert. Realtime metrics. Worldwide tax handled. 

Polar is the financial layer for a new generation of intelligent software. 

Built for the shape of AI.

From token-metered APIs to autonomous agents and GPU workloads. Polar fits how modern AI products actually charge.

AI completionsWrap any model from the Vercel AI SDK with the Polar LLMStrategy. Token usage is metered and billed automatically on every call.
1import { Ingestion } from '@polar-sh/ingestion'
2import { LLMStrategy } from '@polar-sh/ingestion/strategies/LLM'
3import { generateText } from 'ai'
4import { openai } from '@ai-sdk/openai'
5 
6const llm = Ingestion({ accessToken: process.env.POLAR_ACCESS_TOKEN })
7 .strategy(new LLMStrategy(openai('gpt-4o')))
8 .ingest('openai-usage')
9 
10const { text } = await generateText({
11 model: llm.client({ customerId: user.id }),
12 prompt,
13})

Eveything you need
for a flat fee

One flat rate covers payment processing, global tax compliance, and reliable support. No monthly fees, no setup costs.

4%+ 40¢
per transaction
  • Global tax & VAT compliance included
  • Fraud protection & chargebacks handled
  • Volume discounts for high-growth teams
  • No monthly or setup fees