Turn AI Features Into Revenue

OpenCredits handles checkout, credits, and routing.
You earn revenue on every AI request.

AI Credits are sold by OpenCredits. Your app drives usage and earns referral share.

Plug into OpenAI SDKs Anthropic SDKs Vercel AI SDK Claude Code

Three steps to Monetization

OpenCredits handles the spend layer. You ship the product.

1

Embed checkout

Embed OpenCredits checkout so users can buy AI Credits inside your app.

2

Route AI requests

Route requests with the user's key using our OpenAI/Anthropic-compatible API.

3

Earn referral share

Earn tracked referral share as users spend through your app.

Ship faster.
Monetize sooner.

No wallet logic, no token metering, no custom checkout.

  • OpenAI-style and Anthropic-style endpoints
  • Keep your SDK flow and change the base URL
  • Embedded OpenCredits checkout, no payment code required
  • Referral share tracked automatically
  • Skip the billing stack and AI infrastructure
// 1. Add the SDK
<script src="https://opencredits.ai/assets/sdk.js"></script>

// 2. Initialize
OpenCredits.init({
  publishableKey: 'oc_pk_...',
  onPurchaseCompleted(data) {
    console.log('User key:', data.user_key);
  }
});

// 3. Open checkout
OpenCredits.open();
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.opencredits.ai/v1',
  apiKey: userKey,  // from checkout
})

const response = await client.chat.completions.create({
  model: 'anthropic/claude-sonnet-4-20250514',
  messages: [{
    role: 'user',
    content: 'Hello!'
  }],
})
import Anthropic from '@anthropic-ai/sdk'

const client = new Anthropic({
  baseURL: 'https://api.opencredits.ai',
  apiKey: userKey,  // from checkout
})

const message = await client.messages.create({
  model: 'anthropic/claude-sonnet-4-20250514',
  maxTokens: 1024,
  messages: [{
    role: 'user',
    content: 'Hello!'
  }],
})

Become an OpenCredits Partner

Set your commission, choose your models
and shape the AI experience in your app.

Commission

Set your referral percentage

Earned on every AI request through your app.

AI Models

Pick the models that fit your app

Shape the AI experience around your use case.

Dashboard

Track usage, revenue, and users

Monitor everything from one place.

A better experience for your users

No external providers. No API keys to manage.
Users buy credits and use AI right inside your app.

Buy credits in-app

No redirects or external checkouts. Users buy credits right where they use AI.

No accounts to create

No AI provider keys to manage. Users just top up and go.

All models included

GPT, Claude, Gemini, Deepseek, GLM, Kimi, and 170+ more. One balance covers all.

Credits that make sense to users

Users see estimated usage per feature before they buy.

OpenCredits ×
$50
5,000 credits
$5 $10 $25 $50 $100
Estimated requests at 5K tokens
Claude Opus 4.6 ~534 requests
GPT 5.3 Codex ~1,016 requests
GLM 5 ~3,810 requests
Total 5,000 credits
Continue
$20
2,000 credits
$5 $10 $25 $50 $100
Estimated usage
CV generations ~200
Cover letters ~400
Skill summaries ~800
Total 2,000 credits
Continue
$10
1,000 credits
$5 $10 $25 $50 $100
Estimated usage
Conversations ~1,000
Quick answers ~4,000
Deep research threads ~300
Total 1,000 credits
Continue
$25
2,500 credits
$5 $10 $25 $50 $100
Estimated usage
Long-form articles ~50
Blog post outlines ~250
Social media posts ~500
Total 2,500 credits
Continue

Turn AI usage into revenue

Embed checkout, route your first request, and start earning referral shares.
No billing or AI stack to build.

Read the docs → Sign up

Credits are sold by OpenCredits. Partner apps may receive referral compensation based on credit usage, but they do not sell or hold your credits.