<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: ahmed adel</title>
    <description>The latest articles on DEV Community by ahmed adel (@aaserag1).</description>
    <link>https://dev.to/aaserag1</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4050348%2F0b160b72-1a14-457c-8dbf-ba1e89c2cf56.png</url>
      <title>DEV Community: ahmed adel</title>
      <link>https://dev.to/aaserag1</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aaserag1"/>
    <language>en</language>
    <item>
      <title>Bypass AI API Rate Limits &amp; Achieve 100% Uptime with SmartCore LLM Proxy</title>
      <dc:creator>ahmed adel</dc:creator>
      <pubDate>Tue, 28 Jul 2026 02:11:43 +0000</pubDate>
      <link>https://dev.to/aaserag1/bypass-ai-api-rate-limits-achieve-100-uptime-with-smartcore-llm-proxy-1kcl</link>
      <guid>https://dev.to/aaserag1/bypass-ai-api-rate-limits-achieve-100-uptime-with-smartcore-llm-proxy-1kcl</guid>
      <description>&lt;h1&gt;
  
  
  🚀 Bypass AI API Rate Limits with SmartCore LLM Proxy
&lt;/h1&gt;

&lt;p&gt;Hitting &lt;strong&gt;HTTP 429 Rate Limits&lt;/strong&gt; on Google Gemini, DeepSeek, or OpenAI can crash your AI backend or assistant (like Hermes AI).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SmartCore LLM Proxy&lt;/strong&gt; is a lightweight local gateway built with LiteLLM that automatically load-balances requests and routes to fallback models whenever your primary key hits a limit.&lt;/p&gt;




&lt;h2&gt;
  
  
  💡 How It Works
&lt;/h2&gt;

&lt;p&gt;Instead of calling LLM APIs directly, your app points to &lt;code&gt;http://127.0.0.1:4000&lt;/code&gt;:&lt;/p&gt;

&lt;p&gt;Instead of calling LLM APIs directly, your app points to &lt;code&gt;http://127.0.0.1:4000&lt;/code&gt;:&lt;br&gt;
[ App / Hermes AI ] ──▶ [ SmartCore LLM Proxy ] │ ┌───────────────────────┴───────────────────────┐ ▼ ▼ &lt;a href="https://dev.toPrimary"&gt; Gemini 1.5 Pro &lt;/a&gt; ──(On 429)──▶ &lt;a href="https://dev.toFallback"&gt; Gemini 1.5 Flash / DeepSeek &lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Primary Route:&lt;/strong&gt; Sends requests to your main model.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automatic Cooldown &amp;amp; Fallback:&lt;/strong&gt; Put rate-limited endpoints on a 60s cooldown and failover instantly.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  3. &lt;strong&gt;Zero Code Changes:&lt;/strong&gt; Works with any OpenAI-compatible client.
&lt;/h2&gt;

&lt;h2&gt;
  
  
  🛠️ Quick Setup (4 Steps)
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Clone &amp;amp; Install
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
bash
git clone https://github.com/aaserag1/SmartCore-LLM-Proxy.git
cd SmartCore-LLM-Proxy
pip install "litellm[proxy]"
2. Configure Keys (config.yaml)
Add your API keys and fallbacks in config.yaml:

yaml


model_list:
  - model_name: gemini-1.5-pro
    litellm_params:
      model: gemini/gemini-1.5-pro
      api_key: "YOUR_GOOGLE_KEY"
  - model_name: deepseek-coder
    litellm_params:
      model: deepseek/deepseek-chat
      api_key: "YOUR_DEEPSEEK_KEY"
router_settings:
  cooldown_time: 60
  fallbacks: 
    - gemini-1.5-pro: ["deepseek-coder"]
3. Run Gateway
Double-click Run_LiteLLM.bat or run:

bash


python -m litellm --config config.yaml --port 4000 --host 127.0.0.1
4. Connect Your App
Set your app's Base URL to http://127.0.0.1:4000.

🔗 Open Source &amp;amp; Contribution
Check out the project and leave a ⭐ on GitHub!

🐙 GitHub: https://github.com/aaserag1/SmartCore-LLM-Proxy
👨‍💻 Author: Ahmed Adel (Abo Adel)
5:09 AM




&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>backend</category>
      <category>llm</category>
    </item>
  </channel>
</rss>
