TGViewer
ما می‌توانیم ما می‌توانیم @iguts9 · 1.33K subscribers
Post #4242 350
Want to use Claude Code without paying for a Claude subscription?

Here’s a simple way to run Claude Code through OpenRouter using a free model.

### 1️⃣ Install Claude Code

Windows PowerShell:

irm https://claude.ai/install.ps1 | iex

Mac/Linux:

curl -fsSL https://claude.ai/install.sh | bash

### 2️⃣ Get an OpenRouter API Key

Create an account on OpenRouter → go to API Keys → Create Key.

### 3️⃣ Open Claude Code settings

From your terminal, open:

~/.claude/settings.json

If the file doesn't exist yet, just create it.

### 4️⃣ Add this configuration

{
  "env": {
    "ANTHROPIC_BASE_URL": "https://openrouter.ai/api",
    "ANTHROPIC_AUTH_TOKEN": "YOUR-OPENROUTER-API-KEY",
    "ANTHROPIC_API_KEY": "",
    "ANTHROPIC_MODEL": "stealth/space-bunny-alpha"
  },
  "model": "stealth/space-bunny-alpha",
  "effortLevel": "high"
}

Just replace:

YOUR-OPENROUTER-API-KEY

with your actual OpenRouter API key.

### 5️⃣ Start Claude Code 🚀

Go to your project folder:

cd your-project

Then run:

claude

And that's it.

Claude Code will now route through OpenRouter using Space Bunny Alpha, which is currently available for free and has a 1M context window.

So you can experiment with Claude Code without needing a Claude subscription.
  • ❤ 3
More from @iguts9
  1. Oct 12, 2026هاست دائمی با 4 ساعت cpu فعال در ماه https://prisma.io/pricing
  2. Oct 12, 2026جامع‌ترین مجموعه MCP برای وب‌سایت‌های ایرانی کاملاً اوپن‌سورس! 19 سرور | 308 ابزار | مجوز…
  3. Oct 12, 2026ریلوی رو هم گذاشتم توش فقط توکن کلاود فلر میدی با توکن ریلوی خودش میره دامنتو پیدا می‌کنه…
  4. Oct 12, 202625$ free api این دوتا مدل رو داره با این قیمت 25 دلار میشه 50 ملیون توکن https://console.r…
  5. Oct 12, 2026🚀 معرفی پروژهٔ #5 — mohsen-niksirat/Repodest مثل یک دستیار هوشمند جیبی که ریپوی شما را می…
  6. Oct 12, 2026ایزی اینم به پنل اضافه کردم هاستشو راحت فقط فقط با توکن کانفیگشو می‌سازه 😂 بریم برای بخشا…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →