convez.ai
PluginIntegração & APIsIntermediário
ramc10

Shunt — Pool de Rate Limits Claude

ramc10/shunt

Pooling de rate limits Claude com failover automático e compartilhamento em LAN

Ver no GitHub
InicialPluginScore · de 0 a 100

Proxy local que combina múltiplas contas Claude em um único endpoint, distribuindo requisições para a conta com mais capacidade disponível. Elimina throttling (429) mantendo a sessão ativa até liberação de limite e funciona com qualquer SDK OpenAI ou Anthropic.

Instalação

$npx convez-ai ramc10/shunt

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
8
Forks
2
Acompanhando
1
Saúde
42%
Último commit
há 5 meses
Versão
v0.1.147
Issues abertas
11
Contribuidores
1

Casos de uso

  • Potencializar limites de API combinando múltiplas contas Claude Pro
  • Manter sessões de agentes ininterruptas sem erros 429
  • Compartilhar pool de rate limits com equipe via LAN ou Cloudflare Tunnel

Veredito

Solução criativa e bem-implementada em Rust para problema real de quem usa Claude intensivamente. Reduz fricção operacional significativa, mas exige gestão manual de múltiplas contas e apenas funciona com provedores que expõem rate limits via API.

README

A tradução para o português deste README ainda está na fila.

shunt

Pool your Claude rate limits. Never get throttled mid-session again.

crates.io downloads license platform

shunt.live


Shunt is a local proxy that combines your Claude Code accounts into one endpoint. It auto-routes every request to the account with the most headroom, fails over silently when one hits a limit, and holds your connection open until capacity frees up — your agent session never sees a 429.

Works with: Claude Code · Cursor · Codex CLI · Windsurf · any OpenAI or Anthropic SDK

Providers: Anthropic · OpenAI · Gemini · Groq · Mistral · DeepSeek · OpenRouter · Together · Fireworks · Ollama · local models


Install

macOS / Linux — one command:

curl -sSf https://raw.githubusercontent.com/ramc10/shunt/main/install.sh | sh

via Cargo

cargo install shunt-proxy

Quick start

shunt setup      # import your Claude Code session + configure your shell
shunt start      # start the proxy

That's it. Claude Code and your other tools route through shunt automatically.

Add more accounts to grow your pool:

shunt add-account personal   # another Claude account (OAuth)
shunt add-account work       # another Claude account
shunt add-account codex      # ChatGPT Pro (device-code flow)
shunt add-account groq       # Groq (prompts for API key)

What shunt does

Combines your rate limits

N accounts = N × the limit you already pay for. Three Claude Pro accounts means three 5-hour windows and three 7-day windows, pooled and automatically load-balanced.

Fails over silently

When an account hits its limit, the next request goes to whichever account has capacity. No 429 errors, no broken loops. If every account is drained, shunt holds the connection open and retries the moment the first one resets.

Live status

shunt status
  ◆  main                                        Claude Pro
    you@example.com

    ✓  available
    5h  ████████████████░░░░  81% left  ·  resets in 2h 28m
    7d  █████████████████░░░  85% left  ·  resets in 4d 16h

  ────────────────────────────────────────────────────────

  ◆  work                                        Claude Pro
    alt@example.com

    ✓  available
    5h  ██████████████████░░  92% left  ·  resets in 2h 28m
    7d  █████████████░░░░░░░  65% left  ·  resets in 4d 5h

Share with your team

shunt share              # LAN sharing — prints a connect code
shunt share --tunnel     # any network via Cloudflare tunnel
shunt share <code>       # on another machine — configures everything

Commands

shunt setup              # first-time setup
shunt start              # start the proxy
shunt stop               # stop the proxy
shunt restart
shunt status             # account utilization
shunt monitor            # live fullscreen dashboard
shunt logs               # recent logs
shunt logs -f            # follow logs
shunt config             # manage accounts interactively
shunt add-account <name> # add an account or provider
shunt remove-account <name>
shunt logout [name]      # log out of an account
shunt use [account]      # pin routing to a specific account
shunt use auto           # restore automatic routing
shunt model set <name>   # force all requests through a model
shunt model clear        # restore client-supplied model
shunt strategy set <name># change routing strategy at runtime
shunt share              # share on LAN
shunt share --tunnel     # share via Cloudflare tunnel
shunt share <code>       # connect to a shared proxy
shunt disconnect         # revert to localhost-only
shunt live               # persistent tunnel via relay
shunt update             # update to latest

MIT License

Ver o original no GitHub

Bom para

Relacionados