Repositories on the Free plan: 3 repositories and 50 refreshes a month
How the Free plan's limits on diagrams from repositories work, what counts as a repository and as a refresh, how to make room for another one, and what Pro changes.
Flowgraph Studio can draw a repository's services, CI pipeline, data model and packages from its own files, on every plan and without AI. On Free, that comes with two limits: diagrams from 3 repositories in all, and 50 refreshes a month. This guide explains what each one counts, how to see where you are, and how to make room when you need another repository.
Plan: Free, Pro and Pro Max. Free adds diagrams from 3 public repositories in all and refreshes them 50 times a month. Pro and Pro Max have no limit on either, and add private repositories.
The two limits
| Free | Pro and Pro Max | |
|---|---|---|
| Repositories diagrams can come from | 3 in all | No limit |
| Refreshes from a repository | 50 a month | No limit |
| Private repositories | No | Yes |
The repository limit is in all, not a month. Once diagrams from three repositories are in your account, a fourth needs a free place first (see below). The refresh limit is a month: it resets on the first of each month.
Diagrams from repositories also count toward your other Free limits, like any diagram: 25 diagrams in 3 projects. An import goes into a new project named after the repository when you have room for one, and into the open project when you don't.
What counts as a repository
A repository takes a place the first time you add diagrams from it. After that:
- More diagrams from it are always fine. Add the services diagram today and the data model next week; it's still one repository.
- Folders count as the same repository. Scanning
github.com/owner/shop/tree/main/apiand then.../tree/main/webuses one place. - Each host and name is its own repository.
github.com/owner/shopandgitlab.com/owner/shopare two.
Some things don't count at all:
- Scanning. You can scan any public repository, signed in or not, and see what it would draw. Only adding the diagrams to your account takes a place.
- Opening an existing diagram, editing it, styling it, exporting it or sharing it.
What counts as a refresh
A diagram made from a repository has a From GitHub button in the editor's top bar (or From GitLab, From Bitbucket, From Azure DevOps). In it, Refresh from GitHub reads the branch's latest commit and draws the diagram again, so you can see what changed and choose Replace this diagram or Add as a new diagram.
Each time you start a refresh, it counts as one, even when the diagram turns out to be up to date. Refreshing needs an account, because the count is kept by the server.
See where you are
- In the import dialog. Signed in on Free, Import repository shows a line like "Free plan: 2 of 3 repositories, 14 of 50 refreshes this month."
- In Account. The Plan section has two meters: Repositories imported from, and Refreshes this month with the day they reset.

When you reach a limit
A fourth repository. Adding its diagrams is refused, with a message that says why. To make room, delete every diagram from one of your three repositories. The next time you add diagrams from a new repository, that empty place is given to it. A few rules keep this fair:
- Once a month. One place can be freed this way each calendar month. If you've already freed one this month, wait for the next, or upgrade.
- Not straight away. A repository you imported in the last hour keeps its place, since its diagrams may still be saving to your account.
- Every diagram. If even one diagram from that repository is left, its place stays.
flowchart TD
add([Add diagrams from a new repository]) --> room{Fewer than 3<br/>repositories?}
room -->|yes| ok[Diagrams added]
room -->|no| empty{One of them has<br/>no diagrams left?}
empty -->|no| refuse[Refused: delete every<br/>diagram from one]
empty -->|yes| month{Already freed one<br/>this month?}
month -->|no| ok
month -->|yes| wait[Refused: next month,<br/>or upgrade]The 51st refresh. It's refused until the first of next month, and the message says the day. Your diagrams stay as they are, and you can still edit them by hand.
Moving between plans
- Upgrading lifts both limits at once. Pro and Pro Max also read private repositories and can make AI overviews of a repository.
- Going back to Free keeps every diagram you made. If they come from more than three repositories, you can still open, edit and refresh them, within 50 refreshes a month, but a new repository needs a freed place, as above.
Flowgraph keeps only each repository's name and when its place was taken, never its files or contents.
Choose your three well
- Scan first. The scan is free and needs no account, so look at what a repository draws before you add anything.
- Scan a folder of a large repository to get the part you care about.
- Refresh when it matters, such as before a review or a release, rather than after every commit.
For the import itself, see Draw a GitHub repository's architecture from its own files, and the guides for GitLab, Bitbucket and Azure DevOps.
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.