whereismyai
Sjq
Sjq is a command-line tool that parses OpenAI-compatible chat completion streams and displays token deltas.
Sjq is a command-line tool designed to process OpenAI-compatible chat completion streams and Server-Sent Events. It reads the stream as it arrives, strips repetitive envelope data, and keeps only what each event adds, reducing token overhead. It supports chat completions and the Responses API, handling reasoning tokens, tool calls, and metadata changes. Users can pipe streams into sjq, run curl commands through it, or replay saved stream files. It provides timing metrics including time to first token, speed, and connection timings.
Sjq at a glance
- Best for: Software engineer
- Runs on: CLI
- Pricing: Open source
- Released: October 2026
- Category: AI coding tool
- Website: github.com/vivgrid/sjq
Key features
- Reads LLM streams and outputs token deltas
- Parses Server-Sent Events
- Shows timing metrics like TTFT and speed
- Runs curl commands directly
- Replays saved stream files
- Outputs metadata changes
Use it for
- Debugging streaming LLM responses
- Reducing input tokens for coding agents
- Monitoring AI generation speed and timing
Alternatives to Sjq
- jevgrep — Reduces coding agent costs by providing targeted, relevant repository context.
- LangChain4j — Integrates LLMs and vector stores directly into Java applications.
- OpenCode — Works with 75+ model providers, local models, and existing subscriptions
- AI SDK — Switch providers easily and stream real-time responses without custom parsing.
- JFrog Boost — Lowers token usage for AI coding agents through input filtering.
- Jep — Connects multiple coding agents to your mobile device or desktop through one interface.
- pstack — Improves AI coding agent outcomes with rigorous workflows.
- Oracle — Provides a single entry point for multiple pro AI agents and session management.
- jcode — Optimized for massive parallelism with low memory usage per session.
- Amazon Q Developer — It offers agentic capabilities to automate complex coding, testing, and upgrade tasks.
- TOON — It reduces token usage by 42.6% while maintaining JSON-equivalent accuracy.
- Wy — Links file changes directly to agent chat transcripts.
All Sjq alternatives