Every frontier model.
One red-hot API.
OpenAI & Anthropic compatible gateway. Drop-in base URL, keep your SDKs, route across private upstreams with failover — billed in simple credit packs. Verify Discord + Telegram and claim 5M Free Credits — no card needed.
npm install -g @mars_ai/marscli@latest
mars
Run mars, sign in with the device code, start shipping. Prefer a GUI? Grab the desktop app — same agent, same credits.
Works with your stack
Any OpenAI or Anthropic compatible client connects - set base URL, keep your workflow.
One signup. 18 models ready.
Claim 5M Free Credits (valid 7 days) by verifying Discord + Telegram after signup. Free-tier models stay free — 10 requests/min, 100 requests/day. Premium frontier models bill credits only when you call them, with up to 5,000 requests/day on the biggest pack.
Desktop app & CLI
Same agent, same credits, two shapes. Pick what fits your desk.
MarsAI Desktop
Windows x64 · macOS Apple Silicon · Linux x64/arm64The full coding agent as a desktop app — edits files, runs commands, opens PRs. Sign in with an API key and your MarsAI credits travel with you. Self-updating.
Mars CLI
npm · any terminalThe same agent in your terminal. Device-code sign-in, whole model catalog, subagents and git workflows.
npm install -g @mars_ai/marscli@latest
mars
Built for developers
Gateway first. Identity, billing and routing stay inside MarsAI.
Compatible by default
OpenAI and Anthropic request shapes through one documented endpoint.
Desktop, CLI & IDE ready
Desktop app for Windows, macOS and Linux; device-code OAuth for MarsCLI, OpenCode, Cline, Codex and more — no API-key juggling.
Route with control
Provider priority, model mapping, health checks and automatic failover.
Credit accounting
Premium Credit plans first. Exact input/output usage stored per request.
Community rewards
Daily check-ins, referral grants and a weekly leaderboard — straight to your balance.
Credit packs, no subscription
Pay once, burn at your model's rate — or build a custom pack below. Premium Credits expire with the pack — full pricing & model rates.
- ✓20,000,000 Premium Credits for 24 hours
- ✓Free Credits always burn first — this plan tops up Premium
- ✓10 requests / min
- ✓300 requests / day
- ✓All published models — burn 1×–1× by model
- ✓Streaming, tools & vision
- ✓MarsCLI + API key access
- ✓Full model catalog while it lasts
- ✗Repeat packs: one per account per 7 days
- ✗Over 10 RPM - Starter gives 30
- ✓50,000,000 Premium Credits for 3 days
- ✓Free Credits always burn first — this plan tops up Premium
- ✓30 requests / min
- ✓500 requests / day
- ✓All published models — burn 1×–1× by model
- ✓Streaming, tools & vision
- ✓Everything in Taste
- ✓First-purchase referral bonus to your referrer
- ✗Over 30 RPM - Pro gives 60
- ✗Validity past 3 days
- ✓200,000,000 Premium Credits for 7 days
- ✓Free Credits always burn first — this plan tops up Premium
- ✓60 requests / min
- ✓1000 requests / day
- ✓All published models — burn 1×–1× by model
- ✓Streaming, tools & vision
- ✓Everything in Starter
- ✓A full week of heavy building
- ✗Over 60 RPM - Max gives 120
- ✗Validity past 7 days
- ✓500,000,000 Premium Credits for 30 days
- ✓Free Credits always burn first — this plan tops up Premium
- ✓120 requests / min
- ✓2000 requests / day
- ✓All published models — burn 1×–1× by model
- ✓Streaming, tools & vision
- ✓Everything in Pro
- ✓A full month of runway
- ✗Over 120 RPM - Ultra gives 240
- ✗Validity past 30 days
- ✓1,000,000,000 Premium Credits for 60 days
- ✓Free Credits always burn first — this plan tops up Premium
- ✓240 requests / min
- ✓5000 requests / day
- ✓All published models — burn 1×–1× by model
- ✓Streaming, tools & vision
- ✓Everything unlocked - every limit lifted
- ✓Best $/M rate on the platform
- ✓60-day runway for long projects
- ✓Priority Discord support
All credit packs are one-time purchases — no subscription. Premium Credits are prepaid and expire at the end of the pack's validity. API requests burn Free Credits first, then Premium Credits, at each model's burn multiplier. Renew in time - renewals never remove existing credits. Daily request limits: while any pack is active you get that pack's requests/day cap (best active pack wins); without an active pack the free tier applies (100 requests/day).
| Model | Group | Premium burn | Free Credit burn | Input $/1M | Output $/1M | Mode |
|---|---|---|---|---|---|---|
| marsai/claude-opus-4-7 | Token Usage - | in / out $ | 12× | $6.00 | $30.00 | Paid |
| marsai/claude-opus-4-8 | Token Usage - | in / out $ | 12× | $6.00 | $30.00 | Paid |
| marsai/claude-opus-5 | Token Usage - | in / out $ | 12× | $6.00 | $30.00 | Paid |
| marsai/claude-opus-5-5 | Token Usage - | in / out $ | 9.6× | $4.80 | $24.00 | Paid |
| marsai/claude-sonnet-4-6 Claude | Token Usage - | in / out $ | 7.2× | $3.60 | $18.00 | Paid |
| marsai/claude-sonnet-5 | Token Usage - | in / out $ | 4.8× | $2.40 | $12.00 | Paid |
| marsai/claude-sonnet-5-5 | — | in / out $ | 2× | $2.00 | $12.00 | Paid |
"Premium burn" is the group multiplier: billed Premium Credits = actual tokens × burn. <1× burns slower, >1× faster. "Free Credit burn" shows the multiplier when spending Free Credits — models marked Premium only never accept Free Credits. Free-access models charge nothing at all.
Create account
Sign up free. Verify Discord + Telegram and 5M Free Credits land instantly (valid 7 days). Then connect MarsCLI or grab your sk-mars- key.
Load a credit plan
Pick a Premium Credit pack — your Wallet funds plans only. Daily check-ins stack bonus Premium Credits.
Point & call
Set base URL to /v1 in any OpenAI/Anthropic tool. Requests route, failover and bill automatically.
Start with 5M free credits
Free-tier models stay free. Paid models bill credits only when you call them. Discord community live.