Skip to main content
CrewAI uses LiteLLM internally. Prefix the RedPill model ID with openai/ so LiteLLM selects its OpenAI-compatible adapter.

Install

Build a crew

The first openai/ segment selects the LiteLLM provider. RedPill receives z-ai/glm-5.2 as the model ID.

Production checks

Keep max_iter bounded and set timeouts around the crew run. Select a model that declares tool support before adding tools. For confidential-only calls, change base_url to https://tee.redpill.ai/v1 and use an is_tee: true model.

Troubleshooting

References