Note: This article is for customers procuring Contextual AI through (1) monthly subscriptions tied to agents and datastores and (2) usage-based consumption of component APIs. Customers on custom enterprise contracts should reach out to their account managers for any billing-related questions.

Agents and Datastores

The monthly Agent/Datastore subscription allows you to use Contextual as an end-to-end RAG solution. This includes access to the following capabilities:

  • Parsing and extraction of documents uploaded into a datastore(s)
  • Retrieval, including filtering and reranking
  • Generation using our best-in-class Grounded Language Model optimized for RAG use cases
  • Evaluation and tuning of agents

Unit of billing and cadence

  • Unit: Each agent and datastore is an independent unit of billing. The amount that will be billed is based on the usage tier chosen for the agent or datastore.
  • Cadence: Agents and datastores are billed prospectively every 30 days, starting from the date they are created.
    • You will be charged separately for each agent and datastore that is renewed
  • Management: Subscriptions for agents and datastores can be viewed and managed from the Workspace Settings > Subscriptions page.
  • Cancellations: Cancelled subscriptions take effect after the current 30-day period for a given agent or datastore.

Free trial

Each workspace receives a 30-day free trial comprising:

  • 1 micro-tier agent
  • 1 micro-tier datastore

To activate the free trial, you must create your first micro agent/datastore and add a valid payment method. The trial agent and datastore will automatically convert into paid versions unless they are deleted or cancelled prior to the end of the free trial period.

Example

The example above shows a workspace with 4 subscriptions:

  • Agent 1 and Datastore 1 are part of the 30-day free trial. After the trial period is over, the customer will be billed for the subsequent 30-days of usage on 4/17/2025.
  • Agent 2 and Datastore 2 are active subscriptions created on 3/18/2025. The initial 30-day period was paid for upon creation.
    • In addition, Datastore 2’s subscription is cancelled. Because the current period of usage is already paid for, Datastore 2’s subscription will remain active until the end of its current billing period (4/18/2025).

Component APIs

Component APIs allow you to leverage Contextual’s leading models in existing pipelines. The available endpoints are:

  • /generate: Generate responses using a LLM created specifically for RAG use cases
  • /rerank: Accurately rerank your retrievals and express your rules and preferences through natural language
  • /lmunit: Evaluate model responses through natural language unit tests

To use component APIs, you must:

  1. Create a new, or join an existing, workspace on Contextual
  2. Create an API key

Billing

Component APIs are billed through pre-paid “credits” based on your usage. The $/token price for each endpoint is shown on the Admin > Standalone APIs page, along with your usage and remaining balance.

To increase your balance, you must first add a valid payment method to your account. You can then specify a dollar-amount to be added to your balance.

Free trial

Each newly created workspace is given $24 worth of free credits to use on any of the component endpoints. You do not need to store a valid payment method to use the free trial credits.