One API
207+ AI Models

Secure Integration, Best Routes, Accessible for everyone,everywhere

NEW

GPU TEE models are available now.

How It Works

Two Ways to Access 207+ AI Models

Our unified interface gives you flexible options for working with the latest LLMs

1

Manual Mode

Select models manually via API. Direct control over which LLM handles your specific requests.

// Example API call with manual model selection
fetch('https://api.redpill.ai/v1/chat/completions', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    model: "openai/o1-mini", // Specify exact model
    messages: [{ role: "user", content: "Hello" }]
  })
})

Best for:

  • Specific model benchmarking
  • Controlling costs with known models
  • Applications requiring consistent outputs
NEW
2

Auto Router Mode

The system dynamically selects the best model based on your query, optimizing for performance and cost.

// Example API call with Auto Router mode
fetch('https://api.redpill.ai/v1/chat/completions', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    mode: "redpill/auto", // Let the system choose
    messages: [{ role: "user", content: "Hello" }]
  })
})

Best for:

  • Optimizing cost-performance balance
  • Handling varied query types efficiently
  • Accessing the latest models automatically

How Our Auto Router Works

See Auto Router in Action

Watch how our system dynamically selects the optimal model for each prompt

U
User Input
R
Auto Router
M
Available Models
Anthropic icon
anthropic/claude-3.5-sonnet
Anthropic
OpenAI icon
openai/gpt-4o
OpenAI
Deepseek icon
deepseek/deepseek-chat
Deepseek
Google icon
google/gemini-flash-1.5-8b
Google
Meta icon
meta-llama/llama-3-70b-instruct
Meta
More models
207+ additional models

Our AI Router selects the optimal model for each specific query, balancing performance and cost

"
"

Trending Models

More Models

Key Benefits

Unified API For 191+ Models

Access top models like OpenAI, Anthropic and Llama —all in one API.

Best Provider Routing

Auto-routing to the best node for performance and cost.

Pay with Fiat or Crypto

Choose to top up or pay-as-you-go with fiat or crypto.

Open Network

Community-owned, open-source ecosystem.

Use Cases

Custom AI Applications

Build Intelligent Solutions

Create chatbots, data analysis tools, and more with ease.

Scalable AI Solutions

Scale Seamlessly

Adjust your usage as needed without worrying about limitations.

Developer-Friendly

Tools for Innovators

Direct access to all data, tooling, and features through multiple API endpoints.

App Showcases

Questflow

Questflow

A Collaborative Token-Gated Pragmatic Multi-Agent!

Agent Wars

Agent Wars

A Collaborative Token-Gated Pragmatic Multi-Agent!

Jarvis

Jarvis

A Collaborative Token-Gated Pragmatic Multi-Agent!

Open Market

Open Market

A marketplace that offers a dynamic platform where users can buy and sell datasets, machine learning models, and human labelling services.

Agent Zeta

Agent Zeta

An autonomous agent designed for financial and crypto research. It provides recommendations and can execute buy actions on-chain.

Electra

Electra

A Dapp for Web3 beginners to optimize collateral management and request loans on aave with ease and maximum benefits.

Red Pill API
supports multiple
LLM models

Get in Touch

Join us on Discord