{"id":50882272,"url":"https://github.com/ulnit/ai-api-gateway","last_synced_at":"2026-06-15T14:01:06.594Z","repository":{"id":361628913,"uuid":"1255103416","full_name":"ulnit/ai-api-gateway","owner":"ulnit","description":"🔌 AI API Gateway — White-label AI model access. Resell GPT-4o, Claude 3.5, Gemini 2.0 with 30-50% markup. OpenAI-compatible API.","archived":false,"fork":false,"pushed_at":"2026-05-31T15:31:09.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-31T16:12:07.597Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ulnit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-31T12:09:47.000Z","updated_at":"2026-05-31T14:13:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ulnit/ai-api-gateway","commit_stats":null,"previous_names":["ulnit/ai-api-gateway"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/ulnit/ai-api-gateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulnit%2Fai-api-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulnit%2Fai-api-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulnit%2Fai-api-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulnit%2Fai-api-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ulnit","download_url":"https://codeload.github.com/ulnit/ai-api-gateway/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulnit%2Fai-api-gateway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34365597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-06-15T14:01:05.640Z","updated_at":"2026-06-15T14:01:06.542Z","avatar_url":"https://github.com/ulnit.png","language":"Python","funding_links":["https://paypal.me/ulnit/9"],"categories":[],"sub_categories":[],"readme":"# 🔌 AI API Gateway — White-Label AI Access\n\n**Resell AI model access with a 30-50% markup. Drop-in OpenAI-compatible API.**\n\n## What Is This?\n\nA white-label API gateway that wraps OpenRouter/OpenAI/Anthropic APIs. You buy credits at wholesale, we handle the infrastructure, you sell at retail.\n\n## 🌟 Featured In\n\nThis product is part of the **[ulnit Agent Store](https://ulnit.github.io/agent-store)** — 23 AI-powered products running 24/7 on a $35 Raspberry Pi.\n\n\u003e 💡 **Power Pairing:** Use **[AI Video Factory](https://github.com/ulnit/ai-video-factory)** to create faceless YouTube/TikTok content at zero cost, then offer your viewers AI API access through this gateway for recurring revenue.\n\n## Features\n\n- ✅ **OpenAI-compatible** — Drop-in replacement for any OpenAI SDK\n- ✅ **Usage tracking** — Per-key token counting and rate limiting\n- ✅ **Tiered pricing** — Free trial → Pro → Business\n- ✅ **Zero dependencies** — Runs on Raspberry Pi, $0 hosting cost\n- ✅ **White-label** — Your brand, your pricing, your customers\n\n## Pricing Tiers\n\n| Tier | Tokens/Month | Price | Use Case |\n|------|-------------|-------|----------|\n| 🆓 Starter | 100K | Free | Testing, personal use |\n| ⭐ Pro | 1M | $9/mo | Solo developers, small projects |\n| 🚀 Business | 10M | $29/mo | Teams, production apps |\n\n## Quick Start\n\n```bash\n# Get your API key\ncurl -X POST https://paypal.me/ulnit/9 -d \"email=you@example.com\"\n\n# Use it like OpenAI\ncurl https://your-gateway:8899/v1/chat/completions \\\n  -H \"Authorization: Bearer ag-YOUR_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"model\": \"openai/gpt-4o\", \"messages\": [{\"role\": \"user\", \"content\": \"Hello!\"}]}'\n```\n\n## Supported Models\n\nVia OpenRouter: GPT-4o, Claude 3.5 Sonnet, Gemini 2.0 Flash, DeepSeek V3, Llama 4, and 200+ more.\n\n## Why Resell AI APIs?\n\n1. **Growing market** — AI API usage is exploding (200% YoY)\n2. **Recurring revenue** — Monthly subscriptions, not one-time sales\n3. **Zero marginal cost** — Each additional customer costs nothing\n4. **First-mover advantage** — Most developers don't know they can resell\n\n## Architecture\n\n```\nYour Customers → AI API Gateway (Pi) → OpenRouter/OpenAI\n                  ↓\n            Usage tracking + Rate limiting\n                  ↓\n            PayPal.me billing ($9-29/mo)\n```\n\n## Get Started\n\n1. **Buy Pro tier**: [paypal.me/ulnit/9](https://paypal.me/ulnit/9)\n2. **Receive API key** via email within 24 hours\n3. **Start building** — same API as OpenAI\n\n---\n\n*Built by AI agents. Runs on a Raspberry Pi. Scales to thousands of users.*\n\n---\n\n## 🔗 Related Products\n\n| Product | Description | Price |\n|---------|-------------|-------|\n| [🤖 Agent Templates](https://github.com/ulnit/agent-templates) | Pre-built AI agent skills for 5 industries | $15-79 |\n| [📊 Trading Signals](https://github.com/ulnit/ai-trading-signals) | Daily A-share market intelligence | $29-99/mo |\n| [🎬 Video Factory](https://github.com/ulnit/ai-video-factory) | Automated video content pipeline | $9/mo |\n| [🔌 API Gateway](https://github.com/ulnit/ai-api-gateway) | White-label AI model reselling | $9/mo |\n| [🎨 Thumbnail Pro](https://github.com/ulnit/ai-thumbnail-pro) | AI thumbnail \u0026 social graphics generator | $5 |\n| [📱 Social Media Kit](https://github.com/ulnit/ai-social-kit) | Cross-platform auto posting engine | $7 |\n| [🏗️ Landing Page Factory](https://github.com/ulnit/ai-landing-factory) | Auto SEO landing page generator | $9 |\n| [🛠️ Agent Toolkit](https://github.com/ulnit/ai-agent-toolkit) | Zero-dep CLI tools for AI developers | $9 |\n| [📝 Resume Optimizer](https://github.com/ulnit/ai-resume-optimizer) | ATS-friendly resume enhancement | $5-15 |\n| [🤖 CS Bot](https://github.com/ulnit/ai-cs-bot) | White-label customer service chatbot | $19-49/mo |\n\n\u003e 🏪 [View All 23 Products →](https://ulnit.github.io/agent-store)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulnit%2Fai-api-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulnit%2Fai-api-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulnit%2Fai-api-gateway/lists"}