The API platform

Access anywhere models with a single API.

Stop juggling dozens of vendor SDKs, authentication flows, and billing accounts. Our unified, OpenAI-compatible API lets you switch models and regions by simply changing a string in your payload.

phi-cloud · CH
$ POST /v1/chat/completions
  X-PHI: true   X-Region: CH

< HTTP/2 200
< x-phi-tier: phi
< x-phi-routed: infomaniak/CH
< x-phi-attempts: 1

The integration

Three lines from your model to ours.

Drop in our baseURL, pick any model from any vendor, and enforce PHI residency with a header. Nothing else in your stack changes.

request.ts
import OpenAI from 'openai';

// 1. Drop in our baseURL and your phi-cloud key
const client = new OpenAI({
  baseURL: 'https://api.phi-cloud.com/v1',
  apiKey: process.env.PHI_API_KEY,
});

const response = await client.chat.completions.create({
  // 2. Pick any model from any vendor
  model: 'claude-3-opus-20240229',
  messages: [{ role: 'user', content: 'Diagnose...' }],
  // 3. Enforce PHI compliance & region (e.g. Switzerland)
  extra_headers: {
    'X-PHI': 'true',
    'X-Region': 'CH'
  }
});

Features

One integration. Infinite possibilities.

We handle the complexity of routing, failover, and regional compliance. You focus on building.

Drop-in Replacement

Fully compatible with the OpenAI SDKs for Python, Node, and REST. Just change the base URL and you are live.

Universal Router

We abstract away vendor-specific API quirks. Send a standard payload, and we translate it perfectly for Anthropic, Google, Mistral, or Meta.

Unified Billing

Stop tracking costs across five different platforms. One invoice, per-token pricing, and exact cost attribution in every API response header.