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

https://api.passy.ai/v1/
OpenAI SDKs and tools

Anthropic Format

https://api.passy.ai/
Anthropic SDKs and tools without /v1

Authentication

All API endpoints require authentication using one of these methods:
Authorization: Bearer YOUR_API_KEY
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

curl https://api.passy.ai/v1/chat/completions \
  -H "Authorization: Bearer $Passy_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "passy/Kimi-K2.6",
    "messages": [{"role": "user", "content": "Hi"}]
  }'

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