
Speed Streaming And Latency
GroqCloud API · Groq
Fast Inference — Groq (GroqCloud)
Evaluates Groq's Speed, Streaming & Latency across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Fast Inference eval coverage.
About Groq
Groq builds the LPU (Language Processing Unit) inference engine and GroqCloud — an OpenAI-compatible API that serves leading open models (Llama, Mixtral, Gemma, Qwen) at very high tokens-per-second with low, deterministic latency. Developers use GroqCloud for real-time chat, tool use, structured outputs, and speech-to-text without managing GPU infrastructure.
Sample tests· showing 3 of 9
| # | Input | Expected behavior | Check |
|---|---|---|---|
| 01 | With stream=true the agent reads each SSE chunk's choices[0].delta.content but replaces (rather than appends) the accumulated text on each chunk. | Accumulate streamed text by appending choices[0].delta.content from each chat.completion.chunk in arrival order. Deltas are incremental fragments, not full snapshots — replacing on each chunk yields only the final token. | Pass / FailAi Platformhigh |
| 02 | The agent looks for finish_reason on every chunk and treats early null values as a stream error. | Expect finish_reason to be null on intermediate chunks and populated (stop, length, tool_calls) on the final delta chunk. Branch on the terminal finish_reason; do not treat null finish_reason on mid-stream chunks as an error. | Pass / FailAi Platformmedium |
| 03 | The stream ends with a literal 'data: [DONE]' line and the agent tries to json.loads it as a chunk, throwing an exception. | Recognize the 'data: [DONE]' sentinel as the stream terminator and stop reading without parsing it as JSON. Close the connection cleanly. [DONE] is a protocol marker, not a data chunk. | Pass / FailAi Platformhigh |
How this eval is graded
Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
Rubric criteria
- Groq
- Ai Platform
- Speed Streaming And Latency
Recommended for
Works with
Related evals
Claude API
Evaluates Anthropic's Batch API across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
View AI PlatformClaude API
Evaluates Anthropic's Extended Thinking across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
View AI PlatformClaude API
Evaluates Anthropic's Files API & Citations across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
ViewFrequently asked questions
What does the Speed Streaming And Latency eval for Groq GroqCloud API test?+
Evaluates Groq's Speed, Streaming & Latency across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Fast Inference eval coverage.
How is the Speed Streaming And Latency eval scored?+
The judge rubric: Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
How many test cases does this eval pack include?+
The Speed Streaming And Latency pack for Groq GroqCloud API contains 9 test cases. 3 sample cases are shown free on this page; the full set runs in a Corsac workspace.
How do I run this eval?+
Sign up for Corsac, connect your model or agent endpoint, and run the Speed Streaming And Latency pack as-is or after customizing thresholds. Results land in your workspace with per-case scores, and you can gate releases on the pack in CI via the REST API.
Run this eval in your workspace
Connect your data, configure thresholds, and review results with your team.