Popular Frameworks
RedPill’s OpenAI-compatible API works seamlessly with popular AI frameworks and SDKs.OpenAI SDK
Official OpenAI Python and TypeScript SDKs
LangChain
Build complex AI applications with LangChain
Vercel AI SDK
Build streaming AI UIs with React and Next.js
Langfuse
LLM observability and analytics
Quick Start
All integrations follow the same pattern:1
Install the SDK
Install your preferred framework or SDK
2
Configure Base URL
Point to RedPill’s API endpoint:
https://api.redpill.ai/v13
Add API Key
Use your RedPill API key for authentication
4
Choose Models
Select from 50+ models with provider prefix (e.g.,
openai/gpt-5)Why Use RedPill?
Hardware-Protected Privacy
Hardware-Protected Privacy
All requests flow through hardware-protected secure enclaves, regardless of which framework you use.
50+ Models
50+ Models
Access models from OpenAI, Anthropic, Google, DeepSeek, and more through a single API.
OpenAI-Compatible
OpenAI-Compatible
Works with any tool that supports OpenAI’s API format - just change the base URL.
Confidential AI
Confidential AI
Use Phala’s confidential models for end-to-end private AI processing.
Integration Comparison
| Framework | Best For | Language | Difficulty |
|---|---|---|---|
| OpenAI SDK | Simple integrations | Python, TypeScript | Easy |
| LangChain | Complex AI apps, RAG | Python, TypeScript | Medium |
| Vercel AI SDK | React/Next.js UIs | TypeScript | Easy |
| Langfuse | Observability | Python, TypeScript | Easy |
Example: Switch to RedPill
Before (Direct OpenAI)
After (RedPill with Privacy Protection)
That’s it! Just 2 small changes and you get hardware-enforced privacy protection + access to 50+ models.
Community Integrations
These tools also work with RedPill’s OpenAI-compatible API:- Continue - AI code assistant for VS Code
- Cursor - AI-powered code editor
- LibreChat - ChatGPT-like interface
- BetterChatGPT - Web UI for OpenAI API
- ChatGPT Next Web - Self-hosted ChatGPT web UI