
Chat Completions Openai Compatible
GroqCloud API · Groq
Fast Inference — Groq (GroqCloud)
Evaluates Groq's Chat Completions (OpenAI-compatible) 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 | Operator reuses an existing OpenAI SDK client and forgets to override base_url, so chat completion requests with a Groq API key go to api.openai.com instead of GroqCloud. | Point the OpenAI-compatible client at base_url https://api.groq.com/openai/v1 and pass the GROQ_API_KEY as the Bearer key. Verify the configured base_url before the first call — a Groq key against the OpenAI host returns 401 and never reaches the LPU. | Pass / FailAi Platformhigh |
| 02 | Agent builds messages[] as system, assistant, user (assistant turn before any user turn) when constructing the first request. | Build messages[] with a leading system message (optional) followed by a user turn; alternate user/assistant thereafter. GroqCloud follows the OpenAI Chat Completions contract — the conversation must open with system and/or user content, not a bare assistant turn. | Pass / FailAi Platformmedium |
| 03 | Agent must pick a model for a long-context summarization task and hardcodes a model string copied from an OpenAI example (gpt-4o-mini) rather than a GroqCloud model id. | Select a GroqCloud-hosted model id (e.g. a Llama, Mixtral, Gemma, Qwen, or Kimi variant exposed via GET /models). Resolve the exact id from the models endpoint or current docs — do not assume OpenAI model names exist on GroqCloud; an unknown model returns a model_not_found error. | 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
- Chat Completions Openai Compatible
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 Chat Completions Openai Compatible eval for Groq GroqCloud API test?+
Evaluates Groq's Chat Completions (OpenAI-compatible) 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 Chat Completions Openai Compatible 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 Chat Completions Openai Compatible 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 Chat Completions Openai Compatible 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.