Self-Hosted · Free for Individuals

Open-Source AI.
One API.
Free for Individuals.

Chat, code and build on models we host ourselves — OpenAI and Anthropic compatible, with no per-token charges. Businesses get a dedicated deployment.

Start Building → View Docs
# Configure in one command
curl -s https://thetrillioniar.me/setup/claude-code?key=sk-tr-xxx | bash

Everything You Need

A complete AI inference platform built for developers

⚡

Drop-in Compatible

Works with OpenAI SDK, Anthropic SDK, Claude Code, Codex. Just change the base URL.

🧠

Smart Auto-Routing

Send "auto" and our router picks the best model for coding, math, reasoning, or chat.

🔒

Docker Isolation

Every user runs in their own container. Your prompts never touch another user's data.

📊

Full Tracking

Tokens, latency, tool calls, costs — everything logged to your dashboard in real time.

💬

Built-in Chat

Chat interface with model selection, no API key needed. Just login and start talking.

🔑

API Key Scoping

Lock keys to specific models, IPs, or endpoints. Full control over access permissions.

How Our Models Work

Transparent about what's running under the hood

Trillionir AI provides OpenAI and Anthropic API compatibility using a pool of real open-source models running on our infrastructure. The branded model names (GPT-4o, Claude, Gemini) are compatibility aliases — they route to our benchmarked open-source models so your existing code works without changes.

Model Names → What Runs

smollm:135m → self-hosted chat model
nomic-embed-text → self-hosted embeddings
auto → best self-hosted model for your task
gpt-4o / claude / gemini → compatibility aliases

Why This Works

✓ OpenAI/Anthropic SDK compatible
✓ Runs entirely on our own infrastructure
✓ Task-optimized routing (coding, math, chat)
✓ Free for individuals — no per-token charges
✓ Your code works without modification

All benchmark scores on our community leaderboard are real — tested with actual prompts across coding, reasoning, math, creative, and chat categories.

Simple, Fair Pricing

One free plan for individuals. One Business plan, built around your deployment.

Business

Custom
  • Dedicated self-hosted deployment
  • Custom models on your own data
  • Unlimited rate limits & SLAs
  • Team seats & invoicing
  • Priority support & security review
Talk to Sales →

Start in Seconds

Works with your favorite tools out of the box

Python
from openai import OpenAI

client = OpenAI(
    api_key="sk-tr-your-key",
    base_url="https://thetrillioniar.me/openai"
)

response = client.chat.completions.create(
    model="auto",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
Node.js
import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: 'sk-tr-your-key',
  baseURL: 'https://thetrillioniar.me/openai',
});

const res = await client.chat.completions.create({
  model: 'auto',
  messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(res.choices[0].message.content);
cURL
curl https://thetrillioniar.me/openai/v1/chat/completions \
  -H "Authorization: Bearer sk-tr-your-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "auto",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'