In AI, inference is the process of running a trained model to generate outputs from new inputs — as distinct from training, which creates the model. Every time a lawyer submits a query to a legal AI tool, inference occurs.
Last reviewed: 2026/05/19
The context window is the maximum amount of text — measured in tokens — that a large language model can process at one time, determining how much document content, conversation history, and instructions the model can consider when generating a response.
Tech / ModelA large language model (LLM) is an AI system trained on large volumes of text data to predict and generate human-like text; it serves as the core engine underlying most legal AI tools for research, drafting, and document analysis.
Tech / ModelTraining data is the corpus of text and examples used to train a large language model, establishing its capabilities, knowledge, and limitations; the quality, recency, and composition of training data directly affects the model's reliability for legal tasks.
AI-powered legal research with citation-validated answers from Westlaw.
Conversational legal research with real-time Shepard's citation validation.
The most expensive legal AI in the market — Am Law 100 firms only.
Thomson Reuters' GPT-backed legal research and drafting with Westlaw integration (relaunched as CoCounsel Legal, 2025).
Purpose-built US legal AI covering research, drafting, and compliance.
Move from this definition to role-based legal AI shortlists and the selection criteria that matter for each type of legal team.
Am Law 200 and global firm workflows: accuracy at scale, security compliance, and matter-level auditability.
60 legal AI tools vetted for the solo lawyer: tight budget, no IT team, billable-hours pressure.
Last reviewed: 2026/05/19. Definitions are written by the LawyerAI Editorial team. Commercial relationships are disclosed and do not determine editorial scores or conclusions. See our Sponsorship & Affiliate Disclosure.
In AI, inference is the process of running a trained model to generate outputs from new inputs — as distinct from training, which creates the model. Every time a lawyer submits a query to a legal AI tool, inference occurs.
Understanding inference versus training helps lawyers think clearly about two questions: what data the AI uses to generate its output, and what happens to the data submitted to the tool.
At inference time, the model generates responses based on its fixed training parameters plus the input provided in the current session. The model does not learn from the lawyer's query; it uses the query as context to generate the most likely useful response. This means that submitting a confidential client document during an inference session does not (in itself) cause that document to become part of the model's training — though the vendor's data retention practices may separately determine whether submitted data is stored or used.
The distinction also clarifies the hallucination dynamic. During inference, the model has access to: (1) its training knowledge, which has a cutoff date; (2) any content retrieved via RAG; and (3) the content in the current context window. It cannot access information outside these sources. A lawyer asking a legal research AI about a case decided after the model's training cutoff needs to either use a RAG-based tool with current content or supply the relevant case text directly.
For latency-sensitive workflows, inference speed — how quickly the model generates output — is a practical consideration. More capable models with longer context windows generally have higher latency.
Legal AI tools run inference on cloud infrastructure provided by either the AI vendor, the underlying LLM provider, or both. This means that document content submitted for AI analysis is processed on external servers. The privacy implications depend on the vendor's data handling terms: whether content is retained, whether it is used for model training, and where it is stored (data residency).
Enterprise legal AI vendors typically provide contractual commitments that inference data is not used for training, is encrypted in transit and at rest, and is not retained beyond a defined session period. Paxton AI and similar tools targeting firms with strict confidentiality requirements offer deployment options designed to minimize data exposure during inference.
For firms with the most sensitive matters, on-premise deployment options allow inference to run on the firm's own infrastructure, avoiding third-party server exposure entirely — though this typically requires significant technical infrastructure and reduces access to the most capable cloud-based models.