Open Benchmark

Which LLM provider
wins on structured output?

We ran 125 real executions across 5 providers, 5 schema types, and 5 prompts each โ€” using the Reliant reliability layer to measure success rate and latency for structured JSON output.

125Executions
5Providers
5Schema types
100%Overall success

Speed leaderboard

Average latency across all 5 schema types. All providers achieved 100% validation success.

#1 ๐Ÿ† FASTEST
Groq
llama-3.3-70b-versatile
255ms
avg latency
โœ“ 100% success
#2
Mistral
mistral-small-latest
271ms
avg latency
โœ“ 100% success
#3
Anthropic
claude-haiku-4-5
473ms
avg latency
โœ“ 100% success
#4
OpenAI
gpt-4o-mini
876ms
avg latency
โœ“ 100% success
#5
Gemini
gemini-2.5-flash
1529ms
avg latency
โœ“ 100% success
Groq
255ms
255ms
Mistral
271ms
271ms
Anthropic
473ms
473ms
OpenAI
876ms
876ms
Gemini
1529ms
1529ms

Latency heatmap

Average latency (ms) per provider per schema. Greener = faster.

SchemaAnthropicOpenAIGeminiGroqMistral
Contact Extraction526ms826ms1354ms340ms281ms
Sentiment Analysis554ms763ms2243ms291ms263ms
Ticket Classification405ms1158ms2419ms182ms237ms
Contract Extraction399ms764ms828ms188ms304ms
Product Extraction482ms869ms803ms274ms272ms

What the data says

Patterns worth knowing before choosing your provider for structured output.

โšก
Groq is 6x faster than Gemini

At 255ms average, Groq with Llama 3.3 70B is the fastest option by far. Ideal for latency-sensitive pipelines. Gemini 2.5 Flash averaged 1,529ms โ€” over 6x slower.

๐Ÿ’ฐ
Mistral is the best cost/speed ratio

271ms average latency, 100% success rate, and the lowest cost per token among all providers tested. For high-volume batch processing, Mistral Small is the smart choice.

๐ŸŽฏ
All providers hit 100% success

With Reliant's validation and retry layer, every provider achieved 100% structured output success. Without it, raw success rates vary significantly โ€” especially on complex schemas.

๐Ÿ›๏ธ
Anthropic Haiku punches above its weight

At 473ms, Claude Haiku is the fastest Anthropic model and delivers strong structured output quality. Best choice when you need Anthropic's reasoning with lower latency.

๐Ÿ“Š
Schema complexity matters for Gemini

Gemini peaked at 2,419ms on Ticket Classification but was faster on simpler schemas like Product Extraction (803ms). Complex schemas with enum constraints slow it down more than others.

๐Ÿ”„
Multi-provider fallback is your safety net

Configure Groq as fallback for Anthropic to get both quality and speed resilience. If your primary provider is slow or down, Reliant automatically routes to the next one.

How we ran this

Full transparency on the benchmark setup.

Setup
  • โ†’5 providers tested in parallel
  • โ†’5 schema types ร— 5 prompts = 25 per provider
  • โ†’125 total executions
  • โ†’Models: cheapest tier of each provider
  • โ†’Max 2 retries per execution
  • โ†’Concurrency: 3 parallel per batch
Schema types
  • โ†’Contact Extraction (name, email, phone)
  • โ†’Sentiment Analysis (enum + confidence score)
  • โ†’Ticket Classification (priority + category enums)
  • โ†’Contract Extraction (numeric values + dates)
  • โ†’Product Info Extraction (mixed types + boolean)

Run your own benchmark

Use Reliant to test your schemas against every provider โ€” with automatic validation, retry, and fallback.

Start free โ†’ reliant.ia.br