Skip to content
0% platform fee on every token

Every model.
One connection.
Surge speed.

One OpenAI compatible endpoint in front of every provider. SurgeX reads each request, eliminates every route that cannot serve it, and races what is left.

BASE URLhttps://surgex.network/api/v1
Claude Code
Codex
Cursor
Your app
https://surgex.network/api/v1
gpt-4.1-nano
gpt-4.1-mini
o4-mini
gpt-4.1

4

Models

in the live catalog

0%

Platform fee

per token, forever

1

Providers

1 adapters shipped

0

With failover

two or more live routes

Built to be the fastest and cheapest way to reach a model.

Two things decide what a request costs you in time and in money: the route it takes, and what the gateway adds on top. We race the first and add nothing to the second.

0%

Nothing per token

You pay each provider’s published rate exactly. The fee is taken once, at deposit. Gateways that take a cut of every token charge you forever.

See the arithmetic

2

Routes raced, not one tried

A route that misses its own observed median for first token gets overtaken by one already in flight. The loser is killed before it bills you a token.

How routing works

0

Switches mid answer

Failover happens before a single character reaches you. Splicing two providers into one response corrupts it, so once the stream starts we commit.

Read the docs

1

Receipt on every call

Provider, model, everything else considered, first token time, and the exact cost as a decimal string. Never take our word for the arithmetic.

See the rankings

Works with the clients you already use

Nothing to install and no SDK of ours to learn. If it speaks the OpenAI or Anthropic wire format, it speaks SurgeX.

Claude Code

Point ANTHROPIC_BASE_URL at SurgeX and keep the SDK you have.

Cursor

Custom OpenAI base URL in settings. One key, every model.

Codex

OpenAI compatible out of the box. Swap the base URL and go.

Three steps. Then it is just an endpoint.

  1. 1

    Get a key

    Sign in with your wallet. No account form, no email, no waiting.

  2. 2

    Add credit

    Deposit USDC on chain. The fee is taken once, here, and never again.

  3. 3

    Point your client

    Swap the base URL and the key. Nothing else in your code moves.

curl https://surgex.network/api/v1/chat/completions \
  -H "Authorization: Bearer $SURGEX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "surgex/auto",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Before you get a key

Do I have to change my code?

One line. Any OpenAI compatible client works unchanged, and the Anthropic SDK gets a real /v1/messages surface rather than a translation shim. The payload and response shapes stay byte for byte identical.

What do you take per token?

Nothing. You pay each provider’s published rate exactly. The platform fee is taken once when you add credit, and it never touches the per token price again.

What happens when a provider goes down?

The request moves to the next qualifying route before a single character reaches you. After the first byte SurgeX never switches, because splicing two providers into one answer corrupts it.

How do I know what I was charged for?

Every response carries a routing receipt: which provider served it, which model, what else was considered, first token time, and the exact cost as a decimal string. You never take our word for the arithmetic.

One key. Every model. Nothing per token.

Sign in with a wallet, add credit, and point your client at one URL.