Softwr

Cloud · head to head

Azure Functions vs GitLab CI/CD

Azure Functions logo

Azure Functions

Cloud

Event-driven serverless compute on Azure

From
Free
Free plan
Yes
GitLab CI/CD logo

GitLab CI/CD

Developer Tools

Automatically build, test, deploy, and monitor your applications with GitLab CI/CD

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Where Azure Functions falls short: the newer Flex Consumption plan's free grant is smaller still, at 250,000 executions and 100,000 GB-seconds per month.
  • Where GitLab CI/CD falls short: compute minute quotas for Premium and Ultimate tiers not disclosed in documentation.

How do Azure Functions and GitLab CI/CD differ?

Azure Functions and GitLab CI/CD differ on pricing model (Usage-based against Freemium) and category (Cloud against Developer Tools). Only the attributes on which Azure Functions and GitLab CI/CD actually diverge.

Attributes where Azure Functions and GitLab CI/CD differ
AttributeAzure FunctionsGitLab CI/CD
Pricing modelUsage-basedFreemium
CategoryCloudDeveloper Tools

Identical on both: starting price (Free), free tier (Yes), platforms (Web).

Not yet recorded: founded for Azure Functions.

What is each one used for?

Azure Functions is most often brought in for event-driven computing; GitLab CI/CD for reducing open source project infrastructure costs with public project discounts. The jobs each tool is most often brought in to do.

Azure Functions

  • Event-driven computingnot GitLab CI/CD
  • Serverless application backendnot GitLab CI/CD
  • Scalable API endpointsnot GitLab CI/CD

GitLab CI/CD

  • Reducing open source project infrastructure costs with public project discountsnot Azure Functions
  • Enforcing monthly CI/CD spending limits and quota notificationsnot Azure Functions
  • Allocating compute minutes to open source contributors affordablynot Azure Functions
  • Forecasting CI/CD spending patterns across multiple projectsnot Azure Functions
  • Providing private runners for cost control without owning infrastructurenot Azure Functions

Where do Azure Functions and GitLab CI/CD fall short?

Azure Functions's most cited limit: the newer Flex Consumption plan's free grant is smaller still, at 250,000 executions and 100,000 GB-seconds per month. GitLab CI/CD's: compute minute quotas for Premium and Ultimate tiers not disclosed in documentation. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Azure Functions

  • Consumption plan free grant is capped at 1 million executions and 400,000 GB-seconds of resource consumption per month per subscription, billed per GB-second beyond that
  • The newer Flex Consumption plan's free grant is smaller still, at 250,000 executions and 100,000 GB-seconds per month
  • Premium plan avoids per-execution charges but bills continuously for allocated core seconds and memory regardless of invocation volume
  • Memory is rounded up to the nearest 128 MB and execution time to the nearest 1 ms for billing, so small overages round upward

GitLab CI/CD

  • Compute minute quotas for Premium and Ultimate tiers not disclosed in documentation
  • Additional compute minutes beyond quota incur charges; exact pricing not specified
  • Free tier namespaces on GitLab.com receive 400 compute minutes a month, and extra minutes must be bought separately
  • Compute minutes are multiplied by a cost factor, up to 12 for the largest Linux runners, so big runners use the quota much faster
  • macOS and Windows GitLab-hosted runners are listed as Beta, with macOS runners carrying cost factors of 6 and 12

How much do Azure Functions and GitLab CI/CD cost?

Azure Functions is free to use; GitLab CI/CD is free to use. Plan by plan below, from each vendor's own pricing page.

Azure Functions

Free
  • Consumption PlanOn request
    • 1 million requests free monthly
    • 400,000 GB-seconds free monthly
    • Billed per second and executions
  • Flex Consumption PlanOn request
    • 250,000 executions free monthly
    • 100,000 GB-seconds free monthly
    • Event-driven scaling
  • Premium PlanOn request
    • No execution charges
    • At least one instance required
    • Includes automatic scaling and VNET access

GitLab CI/CD

Free
  • FreeFree
    • 400 compute minutes per month for free tier namespaces
    • Linux x86-64 runners at 1x cost factor
  • PremiumOn request
    • Higher monthly compute minute quotas than free tier
    • Additional compute minutes available for purchase
  • UltimateOn request
    • Highest monthly compute minute allocations
    • Additional compute minutes available for purchase

Which should you pick?

Choose Azure Functions if

  • You want to start without paying.

Choose GitLab CI/CD if

  • You want to start without paying.

Questions people ask

Is Azure Functions or GitLab CI/CD better?
It depends on the job. Azure Functions fits event-driven computing; GitLab CI/CD fits reducing open source project infrastructure costs with public project discounts. Azure Functions starts at Free and GitLab CI/CD at Free.
Which is cheaper, Azure Functions or GitLab CI/CD?
Azure Functions starts at Free and GitLab CI/CD at Free.
Does Azure Functions or GitLab CI/CD run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use Azure Functions for free?
Both have a free tier, so you can try either at no cost before committing.
What is Azure Functions best used for?
Azure Functions is most often used for event-driven computing, serverless application backend, scalable api endpoints. Of those, event-driven computing and serverless application backend are not what GitLab CI/CD is typically brought in for.

Answered from the vendors’ own pages

Azure Functions: Does Azure Functions have a free tier?

Yes, Azure Functions includes a monthly free grant of 1 million requests and 400,000 GB-seconds on the Consumption Plan, or 250,000 executions and 100,000 GB-seconds on Flex Consumption.

Source
GitLab CI/CD: How many GitLab CI compute minutes does the free tier include?

The free tier of GitLab CI includes 400 compute minutes per month for free tier namespaces on GitLab.com.

Source
Azure Functions: What is Azure Functions' pricing model?

Azure Functions uses usage-based pricing. Consumption plans charge per second of resource consumption and per execution, measured in gigabyte-seconds and rounded to the nearest 128 MB.

Source
GitLab CI/CD: What is the cost factor for different GitLab CI runner types?

Linux x86-64 small runners cost 1x; medium runners cost 2x; large runners cost 3x. macOS and Windows runners have cost factors of 6-12x and are in beta status.

Source
Azure Functions: What is the minimum execution time for Azure Functions?

The minimum execution time is 100 milliseconds on Consumption plans. Premium plans charge based on core seconds and allocated memory.

Source
GitLab CI/CD: Do public open-source projects get discounts on GitLab CI compute minutes?

Public open-source projects receive a 0.5x discount on compute minutes. Public forks of GitLab open-source projects receive a 0.008x discount.

Source
Share

Related pages

Other head to heads