- Category
- Developer Tools
- Rank
- No. 4220Tools index
Previous survey · No. 4082 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Data Processing
- Interfaces
- CLI
- GitHub
- 7 stars
- Latest release
- v1.1.1
- Date
About
sjq is a command-line filter for OpenAI-compatible streaming responses. It reads chat completion and Responses API streams as they arrive and prints only what each event adds, one short line per token, and separates reasoning tokens from answer tokens. It also prints timing such as time to first token and tokens per second. The README reports that envelope fields make up about 99 percent of a typical stream, so filtering them also saves context for coding agents.
At a glance
sjq reads streaming model responses and extracts incremental output with timing. It is worth trying if raw server-sent events make it hard to tell when the answer started or which fields carried text.
Good fit
Developers debugging OpenAI-compatible streaming endpoints from a terminal.
Consider something else when
Skip it if you need a parser for another protocol or a production latency benchmark.
Start here
Pipe a synthetic stream with two text deltas through the tool. Compare the displayed chunks with the original events, then check timing with a live test request if needed.
Cost and requirements
The command reads a stream from standard input. Your request tool still handles credentials and provider charges. Avoid retaining output that contains sensitive model responses.
Limits to know
A delta can contain part of a token or several tokens. Observed timings include the request and network path you chose.
Sources checked 2026-11-05. Source-based assessment.
Similar tools
Tags
Tech Stack
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.