How much does Claude Code cost if you only want to build one website?
Claude Code has no fee of its own, but you only get it with a paid Claude plan or prepaid API credit. For one website you may not need it: every build on this site works from a free Claude chat.
Short answer: if you want Claude Code itself, you need Claude Pro or a higher plan, or prepaid API credit. If you only want one website, you can follow every build on this site from a free Claude chat and host the result for £0 a month. Below: which way of paying applies to you, what our recorded builds used, and which numbers we never recorded.
There is no separate Claude Code fee, and no free version
Anthropic doesn’t charge for Claude Code on its own. At the time of writing (we read the pages on 9 October 2026), there are two ways to pay for it.
- A paid Claude plan. Anthropic’s pricing page says “Claude Code is included in all paid plans”, and the Free plan doesn’t include it. Pro costs $20 a month if you pay monthly, or $17 a month if you pay for a year ($200 up front). Max starts at $100 a month. Those are US dollar prices and the page showed no prices in pounds, so check yours when you sign up.
- API credit. You can sign in to Claude Code with a Claude Console account instead. Anthropic’s help page says that usage “will be billed at standard API rates”, separately from plan pricing.
The help page “Use Claude Code with your Pro or Max plan” adds a detail that matters if you’re watching what you spend: plan limits “are shared across Claude and Claude Code”. Chatting and building use the same five-hour and weekly allowance. When you run out, Pro and Max users can switch on usage credits to keep going, and those are charged separately on top of the plan.
Two ways to pay, and which one a beginner is on
If you signed up at claude.ai and have never entered card details, you’re on the Free plan and you don’t have Claude Code. For a first website, that’s fine.
If you pay a monthly amount, you’re on the plan route. Claude Code comes with your plan and there’s nothing extra to buy.
You’re only on the API route if you’ve created a Claude Console account and loaded credit onto it. Someone building a plain website has no reason to do that.
You may not need Claude Code for one site
Every build on this site is written so you can follow it in an ordinary Claude chat. Anthropic’s help centre says code execution and file creation “is available to all Claude users (Free, Pro, Max, Team, and Enterprise)”. Switch it on under Settings, then Capabilities, and Claude can give you files to download. You upload them to GitHub in your browser and Cloudflare puts them live. The set-up page walks you through this once.
For a website, Pro gives you a shortcut. Claude Code on the web comes with the Pro, Max and Team plans, and it can save a change straight to a branch of your GitHub repository. You merge that change on GitHub instead of downloading and uploading files. Anthropic’s docs say each of these sessions counts toward your plan’s usage limits, and “there’s no separate charge for the cloud VM” (the computer in Anthropic’s cloud that the session runs on).
What our recorded builds used
To record each build exactly, we run the prompts through Claude Code 2.1.287, Anthropic’s own command-line tool, with the model claude-sonnet-5-5 and only its file tools switched on. These are the figures those runs logged:
| Build | Run date | Claude’s working time | Tokens recorded per step |
|---|---|---|---|
| A three-page website | 1 October 2026 | 158.9 seconds | 1,106; 7,657; 11,807; 2,105; 1,638 |
| A CV website | 1 October 2026 | 211.7 seconds | 1,054; 7,785; 17,336; 1,516; 2,738 |
| A game | 1 October 2026 | 338.8 seconds | 1,094; 18,607; 19,157; 6,253; 2,450 |
| A flashcard app | 2 October 2026 | 527.6 seconds | 1,143; 22,205; 28,718; 28,810; 3,196 |
Tokens are the units Claude’s usage is measured in. The five steps of the simple website add up to 24,313 tokens. The game comes to about twice that and the flashcard app to more than three times as much. The more there is to build, the more of your allowance it uses.
We didn’t record three things: a cost in pounds or dollars for any build, which billing route paid for the runs, and how much of a plan’s allowance a build uses. So we can’t turn these figures into a price, and we won’t guess. All we can say is that a small site is the cheapest kind of build to make, and something the size of the flashcard app is more likely to hit the Free plan’s limit in a single sitting.
The costs that sit outside Claude: hosting, GitHub and a domain
A website needs somewhere to keep its files and somewhere to serve them from. For both, our builds used free plans.
- Cloudflare. Cloudflare’s pricing docs say “Requests to static assets are free and unlimited”. A static asset is a plain file, such as a web page or an image. Its Pages product allows 500 builds a month on the Free plan, up to 20,000 files per site and 25 MiB per file. A site made of a handful of files is far inside those limits.
- GitHub. GitHub Free is “$0 USD per month forever” and includes unlimited public and private repositories.
- A domain. This is optional. Cloudflare gives your site a free pages.dev address. We haven’t checked domain prices, so we don’t quote one.
That’s why the cost notes for the website, game and flashcard builds all say £0 a month on Claude’s Free plan, GitHub Free and Cloudflare’s free plan. If you’re comparing this with the paid website builders, our comparison of Wix, Squarespace, WordPress and Cloudflare sets them side by side.
The mix-up that catches people: plan versus API credit
A Claude plan and API credit are two separate accounts. Paying for a plan doesn’t add credit to a Console balance, and a Console balance doesn’t buy you a plan.
Our chatbot build shows where this matters. Its cost note says hosting is £0 at that size, but “each answer is paid from your prepaid Claude Console credit, separate from any Claude plan”. Your plan pays for Claude while it helps you build the site. Once the chatbot is live, each answer it gives a visitor is a fresh request to Claude, and those requests are paid from credit.
A plain website never runs into this. Anything you add that talks back to visitors will.
How to keep the bill at zero while you learn
- Start on Claude’s Free plan and switch on “Code execution and file creation” under Settings, then Capabilities.
- Use free accounts on GitHub and Cloudflare, and connect them once using the set-up page.
- Use the free pages.dev address until you’re sure you want your own domain.
- Don’t set up API credit unless your site has to answer visitors as they use it.
- If you hit the Free plan’s limit partway through a build, wait for it to reset before buying anything.
When it is worth paying for a plan
Pay when the Free plan keeps getting in your way. That might mean hitting the limit on most builds, or making bigger projects such as an app with several screens. It might also mean you’re tired of downloading and uploading files and want Claude Code on the web to save changes to GitHub for you.
For one website, start free. You can upgrade later without redoing anything, because your files live in your own GitHub repository either way.
Sources
7- Claude plans and pricing
- Claude help: Use Claude Code with your Pro or Max plan
- Claude help: create and edit files with Claude (all plans)
- Claude Code docs: get started with Claude Code in the cloud (Pro, Max and Team)
- Cloudflare Workers pricing (static asset requests free and unlimited)
- Cloudflare Pages limits
- GitHub pricing
Questions
Questions people ask.
Is Claude Code free?
No. Claude Code has no separate fee, but the Free plan doesn't include it. At the time of writing (9 October 2026), Anthropic's pricing page says "Claude Code is included in all paid plans". You can also pay for it with prepaid API credit at standard API rates.
Do I need a paid Claude plan to build a website?
Not for a simple site. Every build on this site can be followed in an ordinary Claude chat on the Free plan, with "Code execution and file creation" switched on. You upload the files to GitHub in your browser and Cloudflare puts them live. You only need a paid plan if you want Claude Code itself.
What is the difference between a Claude plan and API credit?
A plan is a monthly subscription, and Claude Code comes with the paid ones. API credit is money you load onto a Claude Console account in advance, and it is spent each time Claude answers. The two are separate, and paying for one doesn't cover the other. Our chatbot build shows the difference: its answers are paid from Console credit, separate from any plan.
Is Claude Pro worth it for a first website?
Usually not. The Free plan covers every build on this site. Pro starts to earn its cost if you keep hitting the Free plan's usage limits, or if you want Claude Code on the web to save changes to GitHub for you. At the time of writing it costs $20 a month, or $17 a month if you pay for a year ($200 up front). Those are US prices, so check the price for your country.
Will hosting my site cost anything?
Not for a plain site like ours. Cloudflare's docs say requests to static assets are free and unlimited, and GitHub Free costs $0 with unlimited public and private repositories. A domain name is the only thing you might pay for, and it's optional.