explaingit

alange/tinyclaude

Analysis updated 2026-05-18

5TypeScriptAudience · developerComplexity · 3/5LicenseSetup · moderate

TLDR

A proxy that spreads Claude API requests across multiple accounts and providers to dodge rate limits, with caching and analytics.

Mindmap

mindmap
  root((TinyClaude))
    What it does
      Load balances requests
      Avoids rate limits
      Multi provider fallback
    Tech stack
      TypeScript
      Bun
      Docker
    Use cases
      Combos and failover
      Prompt cache keepalive
      Usage dashboard
    Audience
      Developers
      Claude Code users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Spread Claude Code requests across several accounts to avoid hitting rate limits.

USE CASE 2

Fail over automatically between Claude, Bedrock, Vertex AI, and other providers.

USE CASE 3

Keep Anthropic's prompt cache warm on a schedule to cut repeated processing costs.

USE CASE 4

Monitor token usage, latency, and errors for every request from a dashboard.

What is it built with?

TypeScriptBunNode.jsDocker

How does it compare?

alange/tinyclaudecprecioso/tubecasterfarique/cursor-chat-explorer
Stars555
LanguageTypeScriptTypeScriptTypeScript
Last pushed2025-03-29
MaintenanceStale
Setup difficultymoderatemoderateeasy
Complexity3/52/52/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Needs at least one Claude or provider account added and an environment variable set to redirect traffic through the proxy.

MIT license: free to use, modify, and redistribute with minimal restriction.

In plain English

TinyClaude is a proxy server that sits between your coding tools and the Claude API, spreading requests across several accounts and providers so you do not hit rate limits. Instead of calling Claude directly, you point tools like Claude Code at this proxy, and it decides which account or provider handles each request. The proxy supports many backends: Claude through OAuth or the Claude Console API, Amazon Bedrock, Google Vertex AI, OpenAI-compatible services, and several other providers including OpenRouter, Ollama, and xAI. You can group these into named fallback chains, called combos, so if one account runs out of capacity the proxy automatically switches to the next one in the chain, then switches back once the original account's limits reset. To cut down on wasted tokens, the proxy compresses large tool-result payloads before sending them along, and it can replay cached requests on a schedule to keep the prompt cache active, which can save on repeated processing costs. It also tracks token usage, latency, and errors for every request and shows this information on a dashboard you can view in a browser at localhost:8080/dashboard. Getting started is meant to be simple: install it globally through bun or npm, or run it without installing using npx, then add an account with a single command and set an environment variable so your existing tools send requests through the proxy instead of directly to Claude. Pre-built binaries are available for people who do not want to install a package manager, and the project also supports running inside Docker or as a systemd service, along with optional API-key protection if you want to restrict who can use the proxy. The project builds on ideas from a few similar open-source tools and credits them directly in the README. It is licensed under MIT, so you are free to use, modify, and redistribute it with minimal restriction.

Copy-paste prompts

Prompt 1
Help me install TinyClaude and add my first Claude account to it.
Prompt 2
Show me how to set up a combo that falls back from Claude to Bedrock.
Prompt 3
Explain how to point Claude Code at my local TinyClaude proxy.
Prompt 4
Walk me through running TinyClaude as a systemd service.

Frequently asked questions

What is tinyclaude?

A proxy that spreads Claude API requests across multiple accounts and providers to dodge rate limits, with caching and analytics.

What language is tinyclaude written in?

Mainly TypeScript. The stack also includes TypeScript, Bun, Node.js.

What license does tinyclaude use?

MIT license: free to use, modify, and redistribute with minimal restriction.

How hard is tinyclaude to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is tinyclaude for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.