AI credits: what each action costs, when they reset, and buying more
How AI credits work in Flowgraph Studio: the price of each AI action, the monthly amount on Pro and Pro Max, carry-over on yearly billing, and credit packs that never expire.
Every AI feature in Flowgraph Studio draws on one balance: AI credits. A diagram drawn by AI, a LinkedIn explainer, a Prism explainer and a repository overview all take their price from the same monthly amount. This guide explains what each action costs, when credits come back, what happens to the ones you don't use, and how to buy more.
Plan: Pro and Pro Max. Pro includes 100 AI credits a month and Pro Max 300. Free has no AI credits, and credit packs can be bought only on Pro and Pro Max.
What each action costs
Each AI button shows its price before you use it, with your balance beside it, so you always know what a click will take.
| Action | Credits |
|---|---|
| A new diagram, or a change to the open one, with the AI assistant | 2 |
| A LinkedIn explainer | 2 |
| An animated explainer (a new diagram with its story, or the story for the open diagram) | 2 |
| A Prism explainer | 2 |
| Draft questions for a Prism explainer | 2 |
| A hand-drawn whiteboard sketch read by AI | 2 |
| A repository AI overview or request flow | 5 |
Some things cost nothing:
- A fix. If Mermaid can't read an answer, the app asks the AI to fix it once, for free.
- An explainer's layout suggestion, before you make the explainer.
- An overview someone already made of the same commit of a public repository (see AI architecture overview of a repository and AI request flow).
If a request fails on our side, its credits are given back.
So on Pro, 100 credits are about 50 AI diagrams or explainers a month, or 20 repository overviews, or any mix of the two. Pro Max's 300 are about 150.
Where to see your balance
- In the AI panels. Under the prompt, the price and your balance read like "2 credits · 86 of 100 credits left this month". Carried and bought credits are added to that line when you have them.
- In Account. The Plan section has a meter, AI credits this month, with the day they reset. Under it are your Bought credits and the packs you can buy.

When your balance is too low for an action, its button is turned off and a Buy credits button appears beside it. It opens Account at the credit packs.
When credits come back
Credits reset on the first of each month, at midnight UTC. This is the same on every billing period: monthly, quarterly and yearly plans all get the month's credits each month. A quarterly plan doesn't get three months at once.
What happens to the credits you didn't use depends on how you pay:
- Monthly and quarterly billing: unused credits end at the reset.
- Yearly billing: unused credits carry into the next month, up to half the monthly amount. That is up to 50 on Pro and up to 150 on Pro Max.
Carried credits last one month. They are used first, before the month's own, and any left at the next reset are gone. Only the month's own unused credits carry over, so credits can't pile up from month to month. Account shows what you carried, such as "100 credits this month + 30 carried from November (use by 1 December). Carried credits are used first."
Buy more with a credit pack
If you need more before the reset, buy a credit pack under Account:
- 100 credits for $6.99
- 300 credits for $17.99
Each pack is a one-time payment, not a subscription. Bought credits:
- Never expire. They stay until you use them.
- Are used last. Carried credits go first, then the month's own, then bought ones, the oldest pack first.
- Stay if your plan ends. They work again when you're back on Pro or Pro Max. AI features need one of those plans, so bought credits can't be spent on Free.
flowchart LR
action([An AI action]) --> carried["1. Carried credits<br/>yearly billing only"]
carried --> month["2. This month's credits"]
month --> bought["3. Bought credits<br/>oldest pack first"]Under Packs bought in Account, each pack is listed with the day you bought it, its credits, and how many are left. If a pack's payment is refunded, the credits not used yet are taken away, and the list says when it was refunded. Credits have no cash value and can't be moved to another account.
When you run out
An action that costs more than you have left is refused before anything is sent to the AI, with a message that says how many you have and when they reset. On Pro, it also says that Pro Max includes 300 a month. You can:
- Wait for the reset on the first of the month.
- Buy a credit pack with Buy credits.
- Upgrade to Pro Max from Account or the pricing page for three times the monthly credits.
Nothing else stops working. The editor, Manual mode, exports, imports from repositories without AI, and whiteboards (apart from a sketch read by AI) don't use credits.
Spend them well
- Change, don't redraw. Asking the AI assistant to change the open diagram costs the same as a new one, but keeps your layout and ids. Small changes by hand or in Manual mode are free.
- Check the shared overview first. For a popular public repository, an overview of the same commit may already exist, and then it's free.
- Draft questions once. Drafting Prism questions costs 2 credits a time. Edit the drafts you get rather than drafting again.
For the details of each feature, see AI credits and AI assistant in the docs, and Draw and change diagrams with the AI assistant.
More guides
- Edit Mermaid diagrams visually in VS CodeDrag, connect and restyle a Mermaid diagram on Flowgraph's canvas inside VS Code, and every change is written back into the .mmd file or Markdown block as ordinary code.
- Keep a diagram's style in its code with %% flowgraph-themeOne comment line keeps a Mermaid diagram's Flowgraph theme in the file, so it looks the same in your repository, in VS Code, from the CLI and through the render API.
- Preview Flowgraph diagrams in VS Code, with icons, layout and your themeInstall the Flowgraph Studio extension to preview Mermaid files and Markdown blocks in VS Code as Flowgraph draws them, see mistakes in plain words, and export SVG or PNG.