Skip to content

Latest commit

Β 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Unified AI API

A single API endpoint that gives you access to GPT-4, Claude, Gemini, Llama, Mistral, and 30+ other AI models through one unified interface.

No API keys to manage. No credit cards on random providers. One integration, all models.

🎯 The Problem

  • Every AI provider needs a separate API key
  • Each has different SDKs, auth methods, and pricing
  • Models change, deprecate, and get replaced
  • Managing multiple bills is a nightmare

βœ… The Solution

One API endpoint. One API key. All the models.

POST https://api.unified-ai.example.com/v1/chat
Authorization: Bearer YOUR_API_KEY

{
  "model": "gpt-4",
  "messages": [{"role": "user", "content": "Hello!"}]
}

πŸš€ Available Models

Category Models
πŸ’Ž Premium GPT-4, GPT-4 Turbo, Claude 3 Opus, Claude 3.5 Sonnet
⚑ Fast GPT-4o Mini, Claude 3 Haiku, Gemini 1.5 Flash
πŸ†“ Free Tiers Llama 3.3 70B, Mistral, Mixtral, DeepSeek, Qwen
🎨 Image DALL-E 3, Stable Diffusion XL, Flux
πŸ”Š Audio Whisper (speech-to-text), TTS
πŸ” Search Web search augmented generation

πŸ’° Pricing

Plan Price Requests/month Models
Starter $10/mo 1,000 GPT-4o Mini, Llama, Mistral
Pro $50/mo 10,000 All models including GPT-4, Claude
Enterprise Custom Unlimited All models + dedicated infra

Pay-as-you-go: $0.01 per request (no subscription needed)

πŸ“‹ How to Get Access

  1. Join the waitlist: Open a GitHub issue with "API Access Request" as the title
  2. I'll send you your API key and documentation
  3. Start using it immediately

πŸ”§ Quick Start

# cURL
curl -X POST https://api.unified-ai.example.com/v1/chat \
  -H "Authorization: Bearer your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o-mini",
    "messages": [{"role": "user", "content": "Hello, world!"}]
  }'

# Python
import requests

response = requests.post(
    "https://api.unified-ai.example.com/v1/chat",
    headers={"Authorization": "Bearer your_api_key"},
    json={
        "model": "claude-3-haiku",
        "messages": [{"role": "user", "content": "Hello!"}]
    }
)
print(response.json()["choices"][0]["message"]["content"])

# JavaScript
const response = await fetch("https://api.unified-ai.example.com/v1/chat", {
  method: "POST",
  headers: {
    "Authorization": "Bearer your_api_key",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    model: "gemini-1.5-flash",
    messages: [{role: "user", content: "Hello!"}]
  })
})
const data = await response.json()
console.log(data.choices[0].message.content)

πŸ” Security & Reliability

  • All requests encrypted via TLS 1.3
  • Rate limiting: 100 req/min (Starter), 1000 req/min (Pro)
  • 99.9% uptime SLA for Pro and Enterprise
  • Automatic failover between providers
  • No data logged or stored

πŸ“ž Contact

Open an issue, or email: doublecluccas@gmail.com


Built with g4f, Stealth Layer, and ❀️ from Johannesburg

πŸ’° Support This Project

This project provides free access to a unified AI API. If you find it valuable:

Built by luccas12348486

About

πŸ€– Unified AI API β€” GPT-4, Claude, Gemini, and more via single endpoint. Pay-per-use API access.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages