rd

Run Claude Code on GMI Cloud, No Subscription Needed

Skip the $100–200/month Anthropic Max plan. Route Claude Code through GMI Cloud and pay only for what you use – same models, no rate limits, no quota caps.

April 14, 2026

Anthropic's Claude Code is one of the best AI coding tools right now. But the official Max plan costs $100–$200/month, and the pay-as-you-go API comes with rate limits that kill long agentic sessions. There's a better path: route Claude Code through GMI Cloud and pay only for what you actually use, same models, no quotas, no monthly commitment.

Why GMI Cloud?

The token pricing is identical to Anthropic directly, $3/$15 per 1M tokens for Sonnet 4.6. The real wins are:

  • No monthly subscription, pure pay-as-you-go
  • No rate limits throttling your Claude Code sessions
  • No quota caps pausing your agentic workflows mid-task
  • Works natively with the Anthropic SDK via ANTHROPIC_BASE_URL

For a solo dev doing occasional sessions, this easily beats paying $20–$200/month upfront.

Full Setup Guide

Step 1 – Get Your GMI API Key

  1. Go to console.gmicloud.ai and sign in
  2. Click Organization Settings → API Keys → Create API Key
  3. Name it, click Create, and copy it immediately – it won't show again

Step 2 – Open Your Terminal

Open a fresh terminal window on your Mac.

Step 3 – Open the .zshrc File

nano ~/.zshrc

Step 4 – Scroll to the Bottom

Use the ↓ arrow key to go to the very last line.

Step 5 – Paste These Lines

Replace your_gmi_api_key_here with your real key:

export ANTHROPIC_BASE_URL=https://api.gmi-serving.com

export ANTHROPIC_AUTH_TOKEN=your_gmi_api_key_here

export API_TIMEOUT_MS=600000

export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1

export ANTHROPIC_MODEL="anthropic/claude-sonnet-4.6"

export ANTHROPIC_SMALL_FAST_MODEL="anthropic/claude-sonnet-4.6"

export ANTHROPIC_DEFAULT_SONNET_MODEL="anthropic/claude-sonnet-4.6"

export ANTHROPIC_DEFAULT_OPUS_MODEL="anthropic/claude-opus-4.6"

export ANTHROPIC_DEFAULT_HAIKU_MODEL="anthropic/claude-haiku-4.6"

Step 6 – Save and Exit

Press Ctrl + X, then Y, then Enter.

Step 7 – Apply the Changes

source ~/.zshrc

Step 8 – Clear Any Old Anthropic Session

claude /logout

Step 9 – Launch Claude Code

claude

No login screen. No $5 prompt. No rate limits. Claude Code connects straight to GMI Cloud.

Build AI Without Limits

GMI Cloud helps you architect, deploy, optimize, and scale your AI strategies

Ready to build?

Explore powerful AI models and launch your project in just a few clicks.

Get Started