tools
Grounded Language Model
Grounded Language Model generates answers from retrieved documents, adds inline source attributions, and reduces unsupported claims in RAG applications.

Grounded Language Model is Contextual AI's model for retrieval-augmented generation and agentic applications. It prioritizes retrieved knowledge over pretrained knowledge, provides inline attributions, and can separate factual content from commentary.
Teams access it through the /generate API or Contextual AI agents. The service includes free credits for the first 1M input and 1M output tokens; additional usage is charged by token, and custom rate limits and pricing require contacting Contextual AI.
Features
- Generates responses grounded in retrieved documents
- Provides inline attributions to source documents
- Prioritizes retrieved knowledge over pretrained knowledge
- Supports an avoid_commentary control
- Can refuse to answer when supplied documents are not relevant
- Available through the standalone /generate API
- Available as the default model for new agents
Use cases
- Answer questions from enterprise knowledge bases
- Build customer-support assistants grounded in current policies
- Support engineering research over technical documentation
- Create finance research tools that cite source material
- Add grounded generation to an existing RAG pipeline
Pros
Cons
Pricing
- Starting price
- $3 / 1M tokens
- Pricing checked
- 2026-09-19
On-demand
$25 in free credits
- Pay-as-you-go pricing that scales with platform usage
Enterprise
Custom pricing
- Pricing tailored to performance and security needs
Generate
Input: $3 / 1M tokens; Output: $15 / 1M tokens
- Grounded language model component API