Groq
For GroqAI Platform

Batch Api

GroqCloud API · Groq

Fast Inference — Groq (GroqCloud)

Evaluates Groq's Batch API 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.

Employees

~300

Industry

AI Inference Platform

Headquarters

Mountain View, CA

Website

groq.com

Sample tests· showing 3 of 9

#InputExpected behaviorCheck
01

Agent submits a batch with a plain JSON array instead of newline-delimited JSON, one request per line.

Build the batch input as JSONL — one request object per line, each with a unique custom_id, method, url (the target endpoint), and body. Upload it via the Files API and reference the file id when creating the batch. A JSON array is not valid JSONL.

Pass / FailAi Platformhigh
02

Agent relies on output line order to map batch results back to source rows instead of custom_id.

Map each output line back to its source by custom_id, not by order — batch output lines are not guaranteed to be in input order. Pick a stable, unique custom_id (e.g. a row UUID) so partial or reordered results still reconcile.

Pass / FailAi Platformcritical
03

Agent creates a batch and assumes it completes in minutes, giving up and resubmitting after an hour.

Set an explicit completion_window (e.g. a 24h-style window per docs) and treat the batch as asynchronous — poll for the terminal status rather than assuming fast turnaround. Do not resubmit before the window elapses. [REQUIRES-VERIFICATION] on the exact supported window values.

Pass / FailAi Platformhigh

Unlock full benchmark

6 more test cases

Use this benchmark

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
  • Batch Api

Recommended for

GroqCloud APIGroq customers

Works with

Related evals

Frequently asked questions

What does the Batch Api eval for Groq GroqCloud API test?+

Evaluates Groq's Batch API 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 Batch Api 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 Batch Api 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 Batch Api 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.