• 運算
  • 客戶
  • 價格
登入
More Blog Posts
XDiscordLinkedInYouTube

產品

  • GPU
  • MaaS
  • Studio

開發者

  • 模型總覽
  • 技術文件
  • 詞彙表

公司

  • 關於我們
  • 部落格
  • 活動
  • 合作夥伴
  • 新創計劃
  • 職涯
  • 大使計畫
  • 使命與願景

熱門模型

    掌握 AI 最新動態

    提交即表示您瞭解我們會收集並使用您提交的資訊,其中可能包含個人資訊。

    XDiscordLinkedInYouTube

    Copyright ©2026 All rights reserved.

    隱私政策使用條款法律文件
    More Blog Posts
    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.

    2026年4月14日

    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