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

Google's most intelligent Flash model, engineered for long-horizon software engineering, autonomous agents, and complex enterprise workflows

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