Systems & tools
RaceLLM
High-concurrency Go CLI that fires one prompt at multiple LLMs simultaneously, streams results in parallel via SSE, and renders a live BubbleTea dashboard showing each model racing to the finish.
01 · Problem
Compare model responses under a prompt you choose.
I built RaceLLM to send one prompt to several models and inspect their responses in the same terminal session.
02 · Implementation
Fan out requests and stream the results back.
The Go CLI uses goroutines for concurrent requests, channels for incoming tokens, and SSE streams feeding a live BubbleTea dashboard.
One prompt fans out to parallel model streams.
- One promptUse the same input for the selected model requests.
- Concurrent requestsSend the prompt to the configured models using goroutines.
- SSE streamsCollect arriving output through channels.
- Live terminalRender the model streams with BubbleTea.
Response timing depends on provider, model, network, and request settings.
Tools behind the work
Go · Concurrency · SSE · BubbleTea · CLI
Continue exploring
SecureSense