MarsAI
Sign in Get Started
MarsAI · AI ROUTING LAYER 5M FREE CREDITS — VERIFY & CLAIM CREDIT PACKS FROM $0.99

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.

Desktop release Downloads CLI release Stars
Install the CLI 5M free credits · good to go
shell
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.

/v1/chat/completions/v1/messages/v1/embeddingscredit-plan billing

Works with your stack

◢MarsCLI ⌘OpenCode ◉Claude Code ◭Cline ⌖Kilo Code ▣Codex CLI ◈Cursor ✦Aider ↻Continue ZZed ≈Windsurf ◇Goose ◢MarsCLI ⌘OpenCode ◉Claude Code ◭Cline ⌖Kilo Code ▣Codex CLI ◈Cursor ✦Aider ↻Continue ZZed ≈Windsurf ◇Goose

Any OpenAI or Anthropic compatible client connects - set base URL, keep your workflow.

5M FREE CREDITS — VERIFY & CLAIM no card needed

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.

◆ Premium models - credits per call
marsai/claude-sonnet-5marsai/claude-opus-5marsai/claude-opus-5-5marsai/claude-opus-4-7marsai/claude-opus-4-8marsai/claude-sonnet-4-6marsai/claude-sonnet-5-5
◆ Free models - never drain your credits
marsai/auto-freemarsai/north-mini-code:freemarsai/MiniMax-M2.7-freemarsai/Meta-Llama-3_3-70B-Instruct-freemarsai/Qwen3.6-27B-freemarsai/Qwen3.8-27B-freemarsai/DeepSeek-V4-Flash-freemarsai/Qwen3.8-Flash-Nextmarsai/dots-3-note:freemarsai/Mistral-Small-3.2-freemarsai/glm-5.3-flash
MarsCLI - MarsAI

Desktop app & CLI

Same agent, same credits, two shapes. Pick what fits your desk.

▣

MarsAI Desktop

Windows x64 · macOS Apple Silicon · Linux x64/arm64

The 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 terminal

The same agent in your terminal. Device-code sign-in, whole model catalog, subagents and git workflows.

shell
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.

Taste
20M credits - 1 day
$0.99 / 24 hours
20.0M Premium Credits / 24 hours
$0.050 per 1M Premium Credits
  • ✓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
Get started
Starter
50M credits - 3 days
$2.49 / 3 days
50.0M Premium Credits / 3 days
$0.050 per 1M Premium Credits
  • ✓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
Get started
POPULAR
Pro
200M credits - 7 days
$6.99 / 7 days
200.0M Premium Credits / 7 days
$0.035 per 1M Premium Credits
  • ✓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
Get started
Max
500M credits - 30 days
$14.99 / 30 days
500.0M Premium Credits / 30 days
$0.030 per 1M Premium Credits
  • ✓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
Get started
BEST VALUE
Ultra
1B credits - 60 days
$24.99 / 60 days
1.0B Premium Credits / 60 days
$0.025 per 1M Premium Credits
  • ✓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
Get started
BUILD YOUR OWN
Custom pack
One-time credit pack — no subscription. Pick size, validity and rate limit; price updates live.
Daily request cap follows the rate tier: 10→300, 30→500, 60→1,000, 120→2,000, 240→5,000 requests/day.
— one-time
charged in USD · small processing fee while gateways are in verification
Get started

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).

1

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.

2

Load a credit plan

Pick a Premium Credit pack — your Wallet funds plans only. Daily check-ins stack bonus Premium Credits.

3

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.