Understanding IBM Cloud subscriptions and resource units for watsonx Code Assistant
watsonx Code Assistant
The watsonx Code Assistant service works on a subscription basis. Learn about the relationship among your subscription, resource units, and tokens.
In generative AI, tokens are discrete pieces of data that, for language or code, can be a word, a character, or even a phrase (or sequence of words or characters). The models that underlie generative AI solutions predict content based on an understanding of context (which are previous tokens). When you query a model, it uses a number of tokens to accurately generate a response to your query.
When you use the IBM watsonx Code Assistant catalog page, what you're purchasing is entitlement to a number of resource units in your IBM Cloud subscription.
- One resource unit covers approximately 20 task prompts that use 500 tokens each
- A single developer requires approximately 15 resource units per month
- Use the catalog page to see what each plan offers and to estimate your costs
Your IBM Cloud subscription credits don't expire and you can use them on any service instead of, or in addition to, watsonx Code Assistant. Resource units are tied to usage, not time. When you run out, you can resubscribe by renewing your contract.