Skip to main content
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

OpenAI SDKs and tools

Anthropic Format

Anthropic SDKs and tools without /v1

Authentication

All API endpoints require authentication using one of these methods:
Get your API key from the Passy Dashboard, see guide here

Core Endpoints

  • https://api.passy.ai/v1/models
  • https://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

SDK Support

Passy is compatible with all popular AI SDKs, just swap the BaseURL 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

Need Help?

WhatsApp Support

Book a Call

Feedback