Easy steps go tocheaper models.
One API for your coding agents. phantom-1 starts each task on Standard, the cheaper models, and moves it to Frontier, the strongest, after a failed try or when the agent keeps failing.
Set up your coding agents with one command.
Works with Claude Code, Codex, Cursor (chat only) and 7 more agents.
Give this prompt to your agent. It installs the Phantom CLI, signs in (you approve in your browser), then runs phantom setup --yes, which sets up each coding agent it finds without asking again.
Inspect prompt
Set up Phantom for this coding agent:
1. curl -fsSL https://phantom.codes/install | sh
2. ~/.phantom/bin/phantom login
3. ~/.phantom/bin/phantom setup --yes
Docs: https://phantom.codes/docs#coding-agents
curl -fsSL https://phantom.codes/install | shInstalls the Phantom CLI, then runs phantom setup. Setup signs you in, saves an API key and lists the changes it will make to each coding agent it finds. It asks before it changes a file.
npm i -g @phantomcodes/cli && phantom setupNeeds Node 24. phantom setup signs you in, saves an API key and lists the changes it will make to each coding agent it finds. It asks before it changes a file.
- Claude Code
- Codex
- Cursor
- opencode
- Cline
- Aider
- Copilot CLI
- Goose
- Continue
- pi
Request: "Translate “this meeting could have been an email” into emojis.". phantom-1 picks Standard: a new task, preview picked in <1 ms. Standard, lower cost. Frontier, higher cost.
phantom-1 picks the tier.
phantom-1 cost 15% less per solved task than Claude Sonnet 5.5 alone.
A task counts as solved when the benchmark's own tests pass. Terminal-Bench 4.0 is a public test for coding agents. Averaged over 3 public runs, phantom-1 (replayed) solved 58% of the tasks and Claude Sonnet 5.5 alone solved 64%.
| phantom-1replayed | $14.21 |
|---|---|
| Claude Opus 5.5 | $19.59 |
| Claude Sonnet 5.5 | $18.50 |
| Claude Haiku 5.5 | $9.95 |
| DeepSeek V4.1 Flash | $2.38 |
Show run 1 detailHide run 1 detail
| phantom-1replayed | 59%39 of 66 |
|---|---|
| Claude Opus 5.5 | 67%43 of 64 |
| Claude Sonnet 5.5 | 62%41 of 66 |
| Claude Haiku 5.5 | 32%21 of 66 |
| DeepSeek V4.1 Flash | 23%15 of 66 |
At Phantom's prices. We did not run phantom-1 on the live service. We took the benchmark's recorded steps and sent each one to Standard or Frontier, as phantom-1 does today, then added up the cost.
See every resultWhat Phantom stores and what you pay.
Phantom stores no prompt or reply text.
Each call logs the key, model, token counts and cost. Providers keep their own data unless you send zdr: true, which limits a request to providers that keep none.
PrivacyEach call logs the key, model, token counts and cost. No prompt or reply text is stored.
phantom-1 starts each task on Standard.
It moves the task to Frontier after a failed try or when the agent keeps failing.
See the benchmarkOn run 1 of the 3 public Terminal-Bench 4.0 runs, one solved task cost $14.21 on phantom-1, replayed offline, and $18.50 on Claude Sonnet 5.5 alone: $4.29 less, 23%. The 15% headline averages all 3 runs.
Pay with a card or crypto.
You can pay with USDC (a dollar-pegged coin) on Solana, or an agent can pay with x402 (a way for software to pay over HTTP). Every payment adds to your workspace balance, the credit your keys share.
Add creditExample: three payments, one after another, each raise the same workspace balance.
Start free, then pay per request.
No subscription. Buy credit, and each request costs the provider's rate plus Phantom's 5%.
Free
$0
Free models only, up to 50 requests a day per workspace. No card required.
Pay as you go
$5 of credit to start
No monthly fee. Each request takes its price from the credit your keys share: the provider's rate plus Phantom's 5%. A card purchase adds Stripe's fee. Crypto adds none.
Your OpenAI key
$0 on Phantom
Send your own OpenAI key with a request. When an OpenAI model runs on it, OpenAI bills you and Phantom charges nothing.
Frequently asked questions
- Can I use Phantom for free?
- Yes. phantom-1:free runs free models at $0, up to 50 requests a day per workspace, or 200 through a coding agent. You don't need a card.
- Do I need a subscription?
- No. Phantom has no monthly plans. Use the free models, or buy credit and pay per request.
- What happens when I run out of credit?
- A call to a paid model fails with 402 insufficient_quota until you add credit. A call to phantom-1 runs on free models instead, within the daily limit. Send x-phantom-free: off to get the 402 instead.
- Can I cap what a key spends?
- Yes. Give each key a budget per month or per number of days, and a per-minute spend-rate cap.
- VISA
- Mastercard
- American Express
- Discover
- USDC
- pay.sh
Route your next prompt.
Give this prompt to your agent. It installs the Phantom CLI, signs in (you approve in your browser), then runs phantom setup --yes, which sets up each coding agent it finds without asking again.
Inspect prompt
Set up Phantom for this coding agent:
1. curl -fsSL https://phantom.codes/install | sh
2. ~/.phantom/bin/phantom login
3. ~/.phantom/bin/phantom setup --yes
Docs: https://phantom.codes/docs#coding-agents
curl -fsSL https://phantom.codes/install | shInstalls the Phantom CLI, then runs phantom setup. Setup signs you in, saves an API key and lists the changes it will make to each coding agent it finds. It asks before it changes a file.
npm i -g @phantomcodes/cli && phantom setupNeeds Node 24. phantom setup signs you in, saves an API key and lists the changes it will make to each coding agent it finds. It asks before it changes a file.
