Welcome to the Passy.ai API reference documentation. Passy provides unified access to all major premium and open passy/ AI models through OpenAI-compatible and Anthropic-compatible REST APIs.
Base URLs
Passy supports two API formats:OpenAI Format
Anthropic Format
/v1Authentication
All API endpoints require authentication using one of these methods:Bearer Token (Recommended)
Get your API key from the Passy Dashboard, see guide here
Core Endpoints
https://api.passy.ai/v1/modelshttps://api.passy.ai/v1/chat/completions(OpenAI)https://api.passy.ai/v1/responses(Codex)https://api.passy.ai/v1/messages(Anthropic)
Advanced Features
Streaming
Real-time streaming responses with Server-Sent Events
Function Calling
Enable AI to interact with external tools and APIs
Quick Start
- cURL
- Python
- JavaScript
SDK Support
Passy is compatible with all popular AI SDKs, just swap theBaseURL and API Key
- Python:
openai,anthropic,langchain - JavaScript/TypeScript:
openai,anthropic,ai-sdk - Go:
go-openai - Ruby:
anthropic-rb - Rust:
async-openai - Java:
openai-java - C#:
OpenAI-DotNet

.png?fit=max&auto=format&n=kWt04qZJ2feLSVvu&q=85&s=025addac6f17d281b5a7490171c947c5)