Overview

Bonsai allows you to connect your existing AI subscriptions, giving you the ability to use models you have a subcription for at no additional cost. Currently, Claude (Anthropic) subscriptions are supported. ChatGPT (OpenAI) subscription support is coming soon.

Managing Subscriptions with Bonsai CLI

Prerequisites

You can manage subscriptions with Bonsai CLI. To install Bonsai CLI, run:
npm install -g @bonsai-ai/cli
Once the CLI’s installed, log into your Bonsai account with:
bonsai login

Linking a Subscription

To connect your Claude subscription to Bonsai:
bonsai sub link
Once linked, Bonsai will automatically use your Claude subscription when you use Anthropic models, giving you the ability to use these models at no additional cost.

Unlinking a Subscription

If you need to disconnect a subscription from Bonsai:
bonsai sub unlink
After unlinking, any future requests to the model provider will use Bonsai credits.