Skip to content

ulnit/ai-api-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”Œ AI API Gateway β€” White-Label AI Access

Resell AI model access with a 30-50% markup. Drop-in OpenAI-compatible API.

What Is This?

A white-label API gateway that wraps OpenRouter/OpenAI/Anthropic APIs. You buy credits at wholesale, we handle the infrastructure, you sell at retail.

Features

  • βœ… OpenAI-compatible β€” Drop-in replacement for any OpenAI SDK
  • βœ… Usage tracking β€” Per-key token counting and rate limiting
  • βœ… Tiered pricing β€” Free trial β†’ Pro β†’ Business
  • βœ… Zero dependencies β€” Runs on Raspberry Pi, $0 hosting cost
  • βœ… White-label β€” Your brand, your pricing, your customers

Pricing Tiers

Tier Tokens/Month Price Use Case
πŸ†“ Starter 100K Free Testing, personal use
⭐ Pro 1M $9/mo Solo developers, small projects
πŸš€ Business 10M $29/mo Teams, production apps

Quick Start

# Get your API key
curl -X POST https://paypal.me/ulnit/9 -d "email=you@example.com"

# Use it like OpenAI
curl https://your-gateway:8899/v1/chat/completions \
  -H "Authorization: Bearer ag-YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "openai/gpt-4o", "messages": [{"role": "user", "content": "Hello!"}]}'

Supported Models

Via OpenRouter: GPT-4o, Claude 3.5 Sonnet, Gemini 2.0 Flash, DeepSeek V3, Llama 4, and 200+ more.

Why Resell AI APIs?

  1. Growing market β€” AI API usage is exploding (200% YoY)
  2. Recurring revenue β€” Monthly subscriptions, not one-time sales
  3. Zero marginal cost β€” Each additional customer costs nothing
  4. First-mover advantage β€” Most developers don't know they can resell

Architecture

Your Customers β†’ AI API Gateway (Pi) β†’ OpenRouter/OpenAI
                  ↓
            Usage tracking + Rate limiting
                  ↓
            PayPal.me billing ($9-29/mo)

Get Started

  1. Buy Pro tier: paypal.me/ulnit/9
  2. Receive API key via email within 24 hours
  3. Start building β€” same API as OpenAI

Built by AI agents. Runs on a Raspberry Pi. Scales to thousands of users.

About

πŸ”Œ AI API Gateway β€” White-label AI model access. Resell GPT-4o, Claude 3.5, Gemini 2.0 with 30-50% markup. OpenAI-compatible API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages