3 models
Ranked by Harvey Legal Agent Benchmark
Reasoning Tools JSON 19.6

xAI's frontier model for long-running agents, coding, knowledge work, and visual projects

xai/grok-4.7 2026-09-21 500K context $2/M input $6/M output
27 providers
Reasoning Tools JSON 15.8

xAI's frontier model for long-running agents, coding, knowledge work, and visual projects

xai/grok-4.6 2026-08-12 500K context $2/M input $6/M output
34 providers
Reasoning Tools JSON 10.0

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

google/gemini-3.8-flash 2026-09-02 1.04858M context $0.825/M input $4.125/M output
32 providers