Understand AI tokens in Bolt

Understanding tokens and how tokens are consumed is critical to using Bolt effectively. A simple definition of tokens:
Tokens are small pieces of text.
“I”, “love”, “cats”, ”!” are all examples of a token. AI tokens are the basic building blocks that help AI understand and generate text. This is how all AI apps work, not just Bolt. When you chat with Bolt, it breaks down your message into tokens, analyzes what you’re saying, and then figures out the best tokens to string together for its response.

Token limits

Bolt has a limit on how many tokens it can work with in each conversation, and this includes both your input (like questions or documents) and Bolt’s output (like responses or generated code).

Token costs

When you use Bolt, the cost is typically calculated based on how many tokens get processed - so using fewer tokens means lower costs. In the table below, you can find an approximate guide for estimating token costs for code tasks:
TaskApprox. token cost
Simple function (10 lines)50-100 tokens
Medium script (50 lines)300-500 tokens
Complex logic (100+ lines)1000+ tokens
Full application (~1000 lines)8000+ tokens
It’s important to note that most of your token usage comes from Bolt reading, understanding, and syncing your project files. Bigger projects mean more tokens get used with each message. You can optimize your token usage and get better results by following our best practices in Prompting effectively and Maximizing token efficiency.

Token reset

Your token allowance resets on a regular schedule, but the timing depends on your plan type.
  • For users on a free plan: tokens reset on the 1st of each calendar month.
  • For users on a paid subscription plan: tokens reset on the renewal date.
    Example: If you subscribed to a paid plan on July 15, your tokens will reset on the 15th of every month thereafter.
If you cancel your paid subscription mid-month and have used more than 1 million tokens, you’ll need to wait until next month to get free tokens. For example, if you’ve used 3 million tokens in July and downgrade to the free plan (1 million token limit), you’ll need to wait until August 1, 2025 to continue working on your projects.

Buy more tokens

When you need more tokens, the most cost-effective option is to upgrade to a higher-tier plan. You can upgrade your plan in Settings > Subscriptions & Tokens. Additionally, on this page, you can view your current token balance, including your rollover tokens. Token Balance Pn If you’re on the highest available plan (Pro 1000 or Team 1000) or any annual subscription plan, you can purchase additional tokens by going to Settings > Subscriptions & tokens and clicking the Reload tokens button. Reload Tokens Pn Any tokens purchased as a reload do not expire.
Although tokens purchased as a reload never expire, free plans do have a daily usage limit of 150K. Upgrading back to a paid plan removes that limitation.
For more information on Bolt subscription plans and what’s included, check out our Pricing page.

Token rollover

In this section, we explain how token rollover works and answer some common questions.
Tokens associated with a paid subscription will roll over for an additional month as of July 1, 2025, remaining valid for a total of two months. Please note that you still need to maintain a paid subscription to access any rollover tokens.
To view your token usage, navigate to your account, Settings > Subscriptions & tokens. You’ll see your current token allocation, including any rollover tokens. Token Balance Pn