مرّر فوق النص للترجمة · Hover text to translate · Tap on mobile
OmniRoute with Claude CodeOmniRoute مع Claude CodeOmniRoute with Claude Code
Run Claude Code on free and alternative AI providers through one local routerشغّل Claude Code عبر مزودي ذكاء اصطناعي مجانيين وبدائلهم من خلال موجّه محلي واحدشغّل Claude Code عبر مزودي ذكاء اصطناعي مجانيين وبدائلهم من خلال موجّه محلي واحد
OmniRoute is a free, open local router that lets **Claude Code** talk to 160+ AI providers and models - including free-tier providers - while keeping Claude Code as your coding interface.
**How it works:** Claude Code -> OmniRoute (localhost:20128) -> your chosen provider/model.
**Highlights:**
- Create separate profiles per model (e.g. glm52, kimi-k27, deepseek-pro) with `omniroute setup-claude`
- Switch models without leaving Claude Code via `omniroute launch --profile <name>`
- Auto fallback, compression, MCP/A2A support, desktop app and PWA
- Your keys stay local; the dashboard runs at http://localhost:20128
> Note: free access means a provider may expose Claude through its own service and limits - not "Claude Pro for free".OmniRoute هو موجّه محلي مجاني ومفتوح يتيح لـ **Claude Code** التواصل مع أكثر من 160 مزود ونموذج ذكاء اصطناعي - بما في ذلك المزودين ذوي الخطط المجانية - مع إبقاء Claude Code واجهتك للبرمجة.
**كيف يعمل:** Claude Code -> OmniRoute (localhost:20128) -> المزود/النموذج الذي تختاره.
**أبرز الميزات:**
- أنشئ ملفات تعريف منفصلة لكل نموذج (مثل glm52 و kimi-k27 و deepseek-pro) عبر `omniroute setup-claude`
- بدّل النماذج دون مغادرة Claude Code عبر `omniroute launch --profile <name>`
- تبديل تلقائي عند الأخطاء، ضغط، ودعم MCP/A2A، مع تطبيق سطح مكتب و PWA
- مفاتيحك تبقى محلية؛ لوحة التحكم تعمل على http://localhost:20128
> ملاحظة: الوصول المجاني يعني أن المزود قد يوفر Claude عبر خدمته الخاصة وبحدوده - وليس "Claude Pro مجاناً".OmniRoute is a free, open local router that lets **Claude Code** talk to 160+ AI providers and models - including free-tier providers - while keeping Claude Code as your coding interface.
**How it works:** Claude Code -> OmniRoute (localhost:20128) -> your chosen provider/model.
**Highlights:**
- Create separate profiles per model (e.g. glm52, kimi-k27, deepseek-pro) with `omniroute setup-claude`
- Switch models without leaving Claude Code via `omniroute launch --profile <name>`
- Auto fallback, compression, MCP/A2A support, desktop app and PWA
- Your keys stay local; the dashboard runs at http://localhost:20128
> Note: free access means a provider may expose Claude through its own service and limits - not "Claude Pro for free".
1. Install Claude Code1. ثبّت Claude Code1. Install Claude Code
Open Terminal and run: curl -fsSL https://claude.ai/install.sh | bash - then restart Terminal and verify with: claude --versionافتح الطرفية وشغّل: curl -fsSL https://claude.ai/install.sh | bash - ثم أعد فتح الطرفية وتحقق عبر: claude --versionOpen Terminal and run: curl -fsSL https://claude.ai/install.sh | bash - then restart Terminal and verify with: claude --version
Run: npm install -g omniroute - then start it with: omniroute - and open http://localhost:20128 in your browser.نفّذ: npm install -g omniroute - ثم شغّله بالأمر: omniroute - وافتح http://localhost:20128 في المتصفح.Run: npm install -g omniroute - then start it with: omniroute - and open http://localhost:20128 in your browser.
3
3. Add a provider & create your API key3. أضف مزوداً وأنشئ مفتاح API3. Add a provider & create your API key
In the dashboard go to Providers -> Add Provider and connect the provider you want (free tiers supported). Then create an API key (looks like oma_live_xxx) - keep it private, never share or screenshot it.في لوحة التحكم انتقل إلى Providers <- Add Provider واربط المزود الذي تريده (تدعم الخطط المجانية). ثم أنشئ مفتاح API (يشبه oma_live_xxx) - احتفظ به سراً ولا تشاركه أو تلتقط له لقطة شاشة.In the dashboard go to Providers -> Add Provider and connect the provider you want (free tiers supported). Then create an API key (looks like oma_live_xxx) - keep it private, never share or screenshot it.
4
4. Let OmniRoute configure Claude Code4. دع OmniRoute يضبط Claude Code4. Let OmniRoute configure Claude Code
Run: omniroute setup-claude - this creates profiles under ~/.claude/profiles/ (one per connected model). Inspect them with: ls ~/.claude/profilesنفّذ: omniroute setup-claude - سينشئ ملفات تعريف تحت ~/.claude/profiles/ (ملف لكل نموذج متصل). اعرضها عبر: ls ~/.claude/profilesRun: omniroute setup-claude - this creates profiles under ~/.claude/profiles/ (one per connected model). Inspect them with: ls ~/.claude/profiles
5
5. Launch Claude Code through OmniRoute5. شغّل Claude Code عبر OmniRoute5. Launch Claude Code through OmniRoute
Run: omniroute launch --profile glm52 (or any profile you created). Claude Code now works through OmniRoute - switch models anytime by launching a different profile. Tip: Claude Code talks to http://localhost:20128 without /v1.نفّذ: omniroute launch --profile glm52 (أو أي ملف تعريف أنشأته). سيعمل Claude Code الآن عبر OmniRoute - بدّل النماذج وقتما تشاء بتشغيل ملف تعريف آخر. ملاحظة: يتحدث Claude Code مع http://localhost:20128 دون /v1.Run: omniroute launch --profile glm52 (or any profile you created). Claude Code now works through OmniRoute - switch models anytime by launching a different profile. Tip: Claude Code talks to http://localhost:20128 without /v1.