Skip to content
freetier.wiki

Type at least 2 letters.

Enter to open · Esc to close

Netlify Functions

Netlify Functions run on the Free plan's shared 300 monthly credits at 10 credits per GB-hour, with a hard cap that pauses your projects when credits run out, and the signup card rule is not confirmed.

Netlify Functions runs server-side code next to your Netlify site, deployed from the same Git repository. It is for front-end and Jamstack developers who need small APIs, webhooks, or background jobs.

By NetlifyComputeChecked ✓ 23 Nov 2026

Changed in Oct 2026: Clarified shared deployment credits, function memory limits, and usage warnings.

Is it a fit?

Good fit

Use it to add small server-side code, APIs, or background jobs to a site that already deploys on Netlify.

  • jamstack sites
  • static site APIs
  • simple backend tasks

Not a fit

Avoid it for background work that must run longer than 15 minutes, or when you cannot let a busy site use up the shared 300 credit pool.

  • background work longer than 15 minutes
  • a pool of credits shared with builds and bandwidth

You add a TypeScript or JavaScript file to the netlify/functions folder of your project and push it to Git. Netlify builds and deploys it with your site, and you can also deploy with the Netlify CLI. It suits front-end developers who want a small API next to a static or framework site.

What the free plan gives you

Functions have no separate free quota. They draw from the team-wide credit pool of the Free plan, which is 300 credits per month. Compute costs 10 credits per GB-hour, and the default function memory is 1 GB. Web requests, including requests to your functions, cost 2 credits per 10k requests.

Production deploys cost 15 credits each, and bandwidth costs 20 credits per GB. All of these share the same 300 credits. Synchronous functions have a 60-second limit, scheduled functions 30 seconds, and background functions 15 minutes. Database usage and AI inference share the same pool too. Raising memory up to 4 GB needs a Pro or Enterprise credit-based plan.

When you hit a limit

The Free plan has a hard limit. Netlify says the free plan has hard monthly limits that cannot be exceeded or incur any costs. When the credits are used up, your web projects pause until the next billing cycle, and visitors see a Site not available page.

If one project passes its limits, all projects on your team pause. Netlify's billing FAQ says it warns you by email and in the app at 50%, 75%, 90%, and 100% of usage; the pricing page lists only 50%, 75%, and 100%. You can resume projects by upgrading your plan. Paid plans can add credits with auto recharge, which is off by default.

Gotchas

  • Your functions, production deploys, and bandwidth all share one 300 credit pool, so a busy site can pause your functions too.
  • Accounts created before September 4, 2025 may be on a Legacy plan, where functions are billed by request count instead of credits.
  • Pausing affects the whole team, not only the function that used the credits.

Alternatives in this atlas

Questions people ask

Are Netlify Functions free?

Yes, on the Free plan. They share the 300 credits you get each month with production deploys, bandwidth, and requests.

What happens when I run out of Netlify credits?

All your web projects pause until the next billing cycle, or until you upgrade. The free plan cannot incur costs.

Do Netlify Functions need a credit card?

The pricing page does not say a card is needed for the Free plan. It says the free plan is always free with hard monthly limits.

How to get started

  1. Sign up for a free Netlify account and import your project from Git.
  2. Run npm install @netlify/functions in your project.
  3. Create a file such as netlify/functions/hello.mts that exports a default handler returning a Response.
  4. Test locally with the Netlify Vite plugin for Vite-based frameworks, or use the Netlify CLI for Next.js and other frameworks.
  5. Push to your Git provider so Netlify builds and deploys the function, then open the path you set in the config.

Other free compute options

Same category, safest first.

Cloudflare · Compute
100,000 requests/day · 10ms CPU time/request · Up to 100 Workers per account
Billing risk: None
No card
1,000,000 Function Invocations/month included · 4 CPU-hrs Fluid Active CPU/month included · 360 GB-hrs Fluid Provisioned Memory/month included
Billing risk: None
No card
Cloudflare · Compute
100,000 requests per day, shared with Workers requests · 3,000 steps per day · 1 GB-month of storage
Billing risk: None
No card
Trigger.dev · Compute
$5 compute credits per month · 20 concurrent runs · Unlimited tasks
Billing risk: None
No card