ModelRefs / Best AI Models for Legal Work

Best AI Models for Legal Work

Models for contract review and document analysis, ranked by long context, hallucination resistance and reasoning. A capability ranking, not legal advice.

Overview

This page answers: Which model is best for contract review and legal document analysis?

Candidates are ranked against the legal-ai use case using current ModelRefs evidence. The ordering below was computed when this page was built and is recomputed on every deploy; with JavaScript enabled it is re-ranked against the live catalogue on load.

How this ranking is produced

Recommendation engine phase-2.0.0, 16 benchmarks evaluated, aggregate freshness fresh. Computed from the canonical ModelRefs registry when this page was built on 2026-11-24, and recomputed on every deploy.

Each candidate below is a provisional fit signal under the stated constraints, not a guarantee, a certification, or a final ranking. Fit scores compare models against this use case's capability weights using current ModelRefs evidence; they are not accuracy rates, benchmark results, or production-readiness claims.

What we measure for Legal AI

Hallucination Resistance
100%
Long Context
90%
Reasoning
70%

Weights derived from the ModelRefs capability ontology. Scores sourced from primary benchmark leaderboards where available; expansion entries carry lower confidence (0.65).

Evidence behind this ranking

ModelRefs holds measured evidence for hallucination resistance, the capability this page weighs most, for 5 of 45 candidates. Only those are ranked. The others are listed after the ranking with what they lack.

Ranked candidates

  1. #1 GPT-5 — OpenAI

    Fit score 94 out of 100.

    • Strong hallucination resistance (99/100).
    • Strong tool use (97/100).
    • Strong reasoning (91/100).

    Measured: Hallucination Resistance (benchmark), Long Context (benchmark), Reasoning (benchmark).

    Capability evidence

    • Long Context — evidence confidence 40% — Top-tier long context (90/100). via browsecomp-long-context
    • Hallucination Resistance — evidence confidence 40% — Top-tier hallucination resistance (99/100). via longfact-concepts
    • Reasoning — evidence confidence 40% — Top-tier reasoning (91/100). via aime-2025, gpqa

    Confidence: 40% · Freshness: Evaluation date not disclosed · Evidence: 100% · Benchmarks: 100% · Stability: 88%

  2. #2 GPT-5 Mini — OpenAI

    Fit score 93 out of 100.

    • Strong hallucination resistance (99/100).
    • Strong long context (89/100).
    • Strong rag suitability (89/100).

    Measured: Hallucination Resistance (benchmark), Long Context (benchmark), Reasoning (benchmark).

    Capability evidence

    • Long Context — evidence confidence 40% — Top-tier long context (89/100). via browsecomp-long-context
    • Hallucination Resistance — evidence confidence 40% — Top-tier hallucination resistance (99/100). via longfact-concepts
    • Reasoning — evidence confidence 40% — Top-tier reasoning (87/100). via aime-2025, gpqa

    Confidence: 40% · Freshness: Evaluation date not disclosed · Evidence: 100% · Benchmarks: 100% · Stability: 88%

  3. #3 Gemini 3 Pro — Google

    Fit score 43 out of 100.

    • Strong multimodal (81/100).
    • Caution: Overall fit moderate (43/100) — consider alternatives.

    Measured: Hallucination Resistance (benchmark), Reasoning (benchmark). Not measured: Long Context.

    Capability evidence

    • Long Context — evidence confidence 40% — Underperforms on long context (0/100).

    Confidence: 40% · Freshness: Evaluation date not disclosed · Evidence: 67% · Benchmarks: 67% · Stability: 63%

  4. #4 GPT-4o — OpenAI

    Fit score 31 out of 100.

    • Strong multilingual (90/100).
    • Strong instruction following (80/100).
    • Caution: Weak coding (33/100).
    • Caution: Weak agentic (33/100).
    • Caution: Overall fit moderate (31/100) — consider alternatives.

    Measured: Hallucination Resistance (benchmark), Reasoning (benchmark). Not measured: Long Context.

    Capability evidence

    • Long Context — evidence confidence 40% — Underperforms on long context (0/100).
    • Hallucination Resistance — evidence confidence 40% — Underperforms on hallucination resistance (39/100). via simpleqa

    Confidence: 40% · Freshness: Evaluation date not disclosed · Evidence: 67% · Benchmarks: 67% · Stability: 63%

  5. #5 Phi-4 — Microsoft

    Fit score 17 out of 100.

    • Strong cost efficiency (100/100).
    • Strong multilingual (81/100).
    • Caution: Weak hallucination resistance (3/100).
    • Caution: Overall fit moderate (17/100) — consider alternatives.

    Measured: Hallucination Resistance (benchmark), Reasoning (benchmark). Not measured: Long Context.

    Capability evidence

    • Long Context — evidence confidence 40% — Underperforms on long context (0/100).
    • Hallucination Resistance — evidence confidence 40% — Underperforms on hallucination resistance (3/100). via simpleqa

    Confidence: 40% · Freshness: Stale 0% · Evidence: 67% · Benchmarks: 67% · Stability: 88%

Not ranked: no measured evidence yet

These models fit the use case on other capabilities, but ModelRefs holds no measured evidence for hallucination resistance for them, so it does not rank them. That is a gap in the evidence, not a finding about the models.

  • Gemini 1.5 Pro — Google
    No measured evidence for hallucination resistance in ModelRefs. Measured: Long Context (benchmark), Reasoning (benchmark).
  • Llama 3.1 70B — Meta
    No measured evidence for hallucination resistance in ModelRefs. Measured: Long Context (benchmark), Reasoning (benchmark).
  • DeepSeek V3 — DeepSeek
    No measured evidence for hallucination resistance in ModelRefs. Measured: Long Context (benchmark), Reasoning (benchmark).
  • Llama 3.1 405B — Meta
    No measured evidence for hallucination resistance in ModelRefs. Measured: Reasoning (benchmark).
  • Mistral Large 2 — Mistral AI
    No measured evidence for hallucination resistance in ModelRefs. Measured: Reasoning (benchmark).
  • Kimi K3.1 Pro — Moonshot
    No measured evidence for hallucination resistance in ModelRefs. Measured: Reasoning (benchmark).
  • o3 — OpenAI
    No measured evidence for hallucination resistance in ModelRefs. Measured: Reasoning (benchmark).
  • Gemini 2.5 Flash — Google
    No measured evidence for hallucination resistance in ModelRefs. Measured: Reasoning (benchmark).
  • Mixtral 8x7B — Mistral AI
    No measured evidence for hallucination resistance in ModelRefs. Measured: Reasoning (benchmark).
  • Ministral 3 14B — Mistral AI
    No measured evidence for hallucination resistance in ModelRefs. Measured: Reasoning (benchmark).

30 more candidates have no measured evidence for hallucination resistance.

Knowledge Graph signal

Independent cross-validation from the ModelRefs semantic graph. Models below were identified via graph traversal of benchmark to capability to use-case edges — a separate signal from the recommendation engine above.

Capability fit describes how strongly a model's measured capabilities match this use case. It is not an accuracy rate or production-readiness guarantee. Evidence confidence describes how complete and well-supported the evidence behind that fit is; missing or stack-level requirements lower confidence.

  1. #1 GPT-5 — evidence confidence 34%
  2. #2 BGE-M3 — evidence confidence 27%
  3. #3 GPT-5 Mini — evidence confidence 34%
  4. #4 Llama 3.1 405B — evidence confidence 70%
  5. #5 Gemini 1.5 Pro — evidence confidence 27%
  6. #6 Mistral Large 2 — evidence confidence 27%

Limits of this ranking

Coverage is uneven. A model ranks only where ModelRefs holds benchmark-eligible evidence for the capabilities this use case requires, so a strong model with thin evidence can rank low or be absent entirely. Confidence, evidence, and benchmark-coverage figures beside each candidate say how well supported its position is — read them before acting on the order.

Continue your research

Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to Best AI Models for Legal Work.