To use Open Interpreter with a model from AI21, set the model flag:

interpreter --model j2-light

Supported Models

We support any model from AI21:

interpreter --model j2-light
interpreter --model j2-mid
interpreter --model j2-ultra

Required Environment Variables

Set the following environment variables (click here to learn how) to use these models.

Environment VariableDescriptionWhere to Find
AI21_API_KEYThe API key for authenticating to AI21’s services.AI21 Account Page