n4n

n4n AI · unified gateway

One API,
every model.

n4n AI sits in front of 240+ models behind a single OpenAI-compatible endpoint. We route each request to the cheapest healthy provider, retry failures for you, and meter usage per token — no subscription.

240+ models · pay per token · prepaid credits

The portfolio

More apps, one account.

n4n is a family of connected tools that share one login, one balance and one design language. n4n AI is live today; the rest of the portfolio is on its way.

n4n AI Live

Unified AI gateway — one API in front of 240+ models with routing, fallback and usage metering.

Open n4n.ai
n4n Mail In development

Fast, AI-assisted mail that gets your team to inbox zero.

n4n Social In development

Publish and schedule across every social channel from one queue.

n4n Web In development

Build and host sites and landing pages without leaving n4n.

How routing works

Keep your SDK. Change one line.

01

Send an OpenAI-format request

Point your existing OpenAI client at n4n.ai/api/v1 with an n4n_ key. Streaming included.

02

We pick the endpoint

Each model maps to ranked provider endpoints. If one is rate-limited or degraded, the request moves to the next healthy one automatically.

03

Pay per token

Top up prepaid credits with PayPal or crypto. Every request is metered to the micro-dollar — no subscription, no minimums.

Quick start

# any OpenAI-compatible client works
curl https://n4n.ai/api/v1/chat/completions \
  -H "Authorization: Bearer n4n_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-5",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Start building on n4n AI.

Sign in with Google, create a key and send your first request in under a minute.

Open the console