MarsAI
Sign in Get Started

Your gateway to the model universe

More possibilities.
One API.

Build with frontier AI in the tools you already use. One MarsAI key connects your app, editor and terminal to a growing model catalog — OpenAI & Anthropic compatible, billed in simple credit packs.

No card required. 5M free credits after Discord and Telegram verification.

21 published models OpenAI & Anthropic compatible Explore the catalog
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. 20 models ready.

Claim 5M Free Credits (valid 7 days) by verifying Discord + Telegram after signup. Free-tier models stay free — 30 requests/min, 200 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-6
◆ Free models - never drain your credits
marsai/auto-freemarsai/MiniMax-M2.7-freemarsai/Meta-Llama-3_3-70B-Instruct-freemarsai/Qwen3.6-27B-freemarsai/dots-3-note:freemarsai/Mistral-Small-3.2-freemarsai/DeepSeek-V4.1-Flash:freemarsai/ising-calibration-1.5-31b:freemarsai/nemotron-3-nano-omni-30b-a3b-reasoning:freemarsai/step-5-preview:freemarsai/nemotron-3.5-lightning:freemarsai/lfm-3-1.7b:freemarsai/nemotron-3-ultra-550b-a55b:freemarsai/flint-v1.0:free
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.

Space for what comes next

Keep the tools you love.
Give your next idea more room.

Your editor. Your workflow. A wider model universe.

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.

FREE FOREVER
Free tier
Everything you need to try every model — no card, no wallet.
$0 / forever
5M Free Credits at signup*
+ daily check-in rewards on top
  • ✓5M Free Credits after verifying Discord + Telegram (valid 7 days)
  • ✓Daily check-in streak rewards — up to 30M per claim as your streak grows
  • ✓Free-access models stay free, no credits burned
  • ✓Free Credits burn first on paid models too
  • ✓30 requests / min · 200 requests / day
  • ✓Ad-supported — the ads you see keep this tier free
Get started free

*Free Credits expire with their validity and burn before Premium Credits. Ads appear on some in-app pages.

Taste
30M credits - 1 day
$0.99 / 24 hours
30.0M Premium Credits / 24 hours
$0.033 per 1M Premium Credits
  • ✓30,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
70M credits - 3 days
$2.49 / 3 days
70.0M Premium Credits / 3 days
$0.036 per 1M Premium Credits
  • ✓70,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
500M credits - 7 days
$6.99 / 7 days
500.0M Premium Credits / 7 days
$0.014 per 1M Premium Credits
  • ✓500,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
1B credits - 30 days
$14.99 / 30 days
1.0B Premium Credits / 30 days
$0.015 per 1M Premium Credits
  • ✓1,000,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
3B credits - 60 days
$24.99 / 60 days
3.0B Premium Credits / 60 days
$0.008 per 1M Premium Credits
  • ✓3,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 (30 requests/min, 200 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.

Before you launch

A few things
worth knowing.

Ask us a question
Can I keep my existing SDK?

Yes. MarsAI accepts OpenAI and Anthropic request formats. Set the MarsAI base URL and use your MarsAI API key. The documentation includes request examples.

How do I get the free credits?

Create an account and verify both Discord and Telegram to claim 5M Free Credits. The grant is available once per account and expires after seven days.

Do I need a subscription?

No. Paid credit packs are one time purchases. Each pack has its own credit allowance and validity period, shown before purchase.

Does every model use the same number of credits?

No. Credit usage depends on the model and its pricing rules. Check the model rates before calling a model, then review your request history in the dashboard.

Can I use MarsAI in my terminal?

Yes. Mars CLI connects through device authentication. You can also use compatible clients such as OpenCode and Cline, or choose the desktop app.

Where can I see my usage?

Your dashboard includes request history, credit balances and API key controls. You can inspect usage while keeping the same API key across the published catalog.

Start with 5M free credits

Free-tier models stay free. Paid models bill credits only when you call them. Discord community live.