You can download the software, inspect its code and, within its licence terms, modify it or run it yourself. Yet a company built around that same software can charge a monthly subscription, sell an enterprise contract or earn consulting fees. What, exactly, is the customer buying?
Usually, it is something the code alone does not deliver: a service that stays online, a migration completed correctly, a support team that answers, or capabilities needed to operate across a large organisation. Open source changes what can be copied and shared. It does not remove the work of turning software into a dependable product.
Open-source businesses earn money in several ways: hosting software, supporting important systems, selling additional capabilities, providing services or funding ongoing maintenance. A subscription company, a volunteer library and an independent consultant can all participate in open source while earning money in very different ways.
First, separate the project, the company and the maintainer
A project is the software and the community developing it. A company may employ contributors, sell services around the project or commercialise additional features. A maintainer is a person responsible for work such as reviewing changes, preparing releases and responding to problems. Those three do not necessarily share a bank account.
When a hosting company earns money from an open-source application, its revenue does not automatically flow to every contributor or to the libraries underneath it. Conversely, a developer may earn a salary for maintaining a project even when that project has no sales operation. Asking who receives the payment is essential to understanding the business.
There is also a basic licensing distinction. Under the Open Source Initiative’s definition, open source involves rights to use, modify and redistribute software, including commercial use. A public GitHub repository alone does not establish those rights. Software with restrictions on particular commercial uses can be source-available without meeting that definition.
Nor does an open-source licence require every copy to be supplied at a zero price. Charging for distribution is compatible with open source, provided the licence’s conditions and the recipient’s rights are respected. The commercial difficulty is that recipients may also have redistribution rights. A business therefore needs a reason for customers to keep choosing its offer.
Seven ways money reaches open-source businesses
| Model | Who pays? | What the payment buys |
|---|---|---|
| Managed hosting | A team that wants the application without operating it | A hosted service, capacity, backups and ongoing operations |
| Support subscriptions | An organisation running important systems | Supported releases, maintenance and access to expertise |
| Open core | A team needing more than the open-source core | Additional commercial capabilities, often alongside support |
| Dual licensing | A business choosing different licensing terms | A commercial licence from the relevant rights holder |
| Professional services | A customer with an implementation problem | Migration, integration, customisation, training or ongoing care |
| Maintainer funding | Individuals, employers or organisations using dependencies | Sponsorship, funded maintenance or agreed project work |
| Ecosystem products | Users of a larger software platform | Extensions, managed integrations and associated services |

These models can overlap. A company can sell a hosted service to one customer and a supported deployment on the customer’s infrastructure to another. An agency can charge for implementation and then retain an ongoing maintenance contract.
1. Hosting: the code is available, but somebody must run it
Installing an application is one task. Operating it means handling upgrades, database changes, monitoring, backups, restoration tests, account access, outages and capacity. A hosted provider turns those continuing responsibilities into a service.
WordPress provides a familiar example. WordPress.org distributes software that users can deploy with a hosting provider of their choice. WordPress.com is a hosted service operated by Automattic, with free and paid offerings. The software project and the commercial service are related, but they are not interchangeable organisations or products.
The paying customer may know perfectly well that another deployment option exists. Choosing the managed service can still be rational: keeping a site functioning may be more valuable than taking on its operation. A self-hosting user with an experienced team may reach the opposite conclusion.
The provider must also cover the cost of delivery. Sharing infrastructure across customers can improve efficiency, but storage, bandwidth, support and reliability work remain real expenses. The subscription is revenue for accepting those responsibilities, not proof that they have disappeared.
2. Support: paying for a maintained product and a responsible supplier
Organisations running critical systems need to know which versions are supported, how updates are delivered and who will help when something fails. A support subscription gives the supplier a continuing commercial relationship around those needs.
Red Hat describes its subscriptions as providing tested enterprise software, updates, life-cycle management, technical support and access to expertise. That is a broader offer than charging someone to answer an occasional question.
The commercial value is predictability. A customer can budget for a supported platform instead of assembling all the necessary expertise internally. The supplier, in turn, must fund the engineers, testing and support processes required to deliver what it promises.
A contract can define responsibilities and response targets. It cannot make software infallible. Buyers still need to examine the actual service level, exclusions and scope of support rather than treating the word “enterprise” as a guarantee.
3. Open core: an open foundation with commercial additions
In an open-core model, a useful part of the product is open source, while other capabilities have commercial terms. A developer may work comfortably with the core; a larger organisation may pay for the controls, coordination or support its deployment requires.
GitLab explicitly describes itself as open core, containing both open-source and proprietary source-available code. Its commercial plans combine capabilities such as advanced development workflows, priority support, security and governance, with hosted and self-managed deployment options.
This illustrates two separate decisions: where the software runs, and which capabilities the customer buys. Running an application on your own infrastructure does not necessarily grant access to all its commercial features. Equally, paying for software does not necessarily mean sending your data to a shared cloud service.
The difficult product decision is where to draw the boundary. An inadequate community edition gives people little reason to adopt it. Moving previously accessible capabilities behind a paywall can undermine trust. The company needs a valuable paid offer while preserving a credible reason for the open project to exist.
4. Dual licensing: choosing a different set of permissions
Dual licensing offers software under alternative licences. One route follows the conditions of an open-source licence. Another involves paying the appropriate rights holder for commercial terms suited to the customer’s intended use.
Qt offers both commercial and open-source licensing options. Its community options include GPL and LGPL licences, with differences across components. A commercial agreement can provide alternative terms and associated services.
This does not mean every business using Qt must buy a commercial licence. Proprietary applications can be compatible with LGPL terms when their requirements are met. The component, deployment and licence matter. The economic mechanism is the sale of an alternative licensing arrangement, not a universal tax on commercial users.
Founders also need the necessary rights to offer that alternative. Publishing a repository does not give its owner unlimited power to relicense contributions made by other people. Contributor arrangements and third-party dependencies have to support the proposed model.
5. Services: customers pay to get a working result
A company may have permission to use software but lack the time or expertise to deploy it well. Consultants and agencies can charge for data migration, integrations, configuration, training, accessibility work and ongoing maintenance.
For a Moroccan service business, the useful offer could be a supported deployment, French and Arabic documentation, an integration with a client’s existing tools and a clear restoration process. The customer is buying an implemented result and continuing help, rather than exclusivity over the underlying code.
This can be a viable business without becoming a large software vendor. Its constraint is delivery capacity: an hour spent on one client cannot simultaneously serve ten others. Reusable tooling and standard packages can improve efficiency, but custom services should not be mistaken for effortlessly scalable subscription revenue.
6. Funding maintainers: money without a SaaS paywall
A small library may be essential to many applications yet have no obvious hosted version to sell. Its funding problem is different from that of a complete business application.
GitHub Sponsors supports one-time and recurring payments to eligible contributors and organisations. Other possibilities include employer-funded maintenance, grants or contracts for specific work. These can support development without restricting access to the code, but funding is not automatic simply because a project is widely used.
Tidelift describes another mechanism: customers buy subscriptions around managing open-source dependencies, while participating maintainers are paid to undertake defined maintenance, security and licensing responsibilities.
Here, the buyer is helping fund the health of software it depends on. That is distinct from buying a proprietary feature. It also shows why a successful open-source economy needs more than profitable applications at the top: somebody must support the components underneath them.
7. The ecosystem: earn money around a shared platform
Open software can support a market for extensions, integrations, hosting and specialist services. A customer may obtain the base platform without a licence payment, then pay another supplier to add a capability or manage it.
The WordPress distinction helps again: customers can choose among service providers rather than buying everything from a single owner of the underlying application. An extension supplier may charge for supported distribution, updates, installation help or a hosted service connected to the extension. The rights over each component still follow its licence.
The important accounting point is that ecosystem revenue belongs to the businesses receiving those payments. It is not automatically revenue of the original project, its foundation or every volunteer who contributed to it.
The licence determines whether competitors can sell the code too
A common misunderstanding is that an open-source licence prevents somebody else from making money with the software. Genuine open-source licences permit commercial use. They differ in the conditions attached to modification, distribution and, in some cases, network use.
MIT and Apache 2.0 are permissive examples. They allow commercial reuse subject to their terms, including relevant notices and other obligations. They do not impose a general requirement to publish the source code of every product built with them. Nor does permission to reuse code automatically include the right to present a competing service under the original supplier’s brand; Apache 2.0 explicitly addresses trademark limits.
Copyleft licences attach sharing requirements to covered software in specified circumstances. The AGPL’s network provision, for example, requires a modified version to offer its corresponding source to users interacting with it remotely over a network, where the provision applies. That is not a ban on charging for hosting, and it is not a blanket demand to publish a company’s customer data or every unrelated internal application.
Source-available licences can draw a different boundary. n8n describes itself as source-available under its Sustainable Use License, rather than OSI open source. Its licensing explanation discusses commercial restrictions intended to help sustain the business. Publicly readable code and free permitted self-hosting therefore do not establish unrestricted rights to resell a hosted version.
These distinctions affect the business model. A licence can encourage broad reuse, require certain improvements to remain shareable, or reserve particular commercial uses. Calling all three approaches “open source” obscures the choice being made. Before building an offer, examine the actual version and licence of each relevant component.
If others can copy it, why do customers stay?
A fork is a separately developed copy of a codebase. It gives another team a starting point, not the original company’s customers, operations, reputation or future work. The competitor must still maintain the product, secure its service, handle migrations, answer support requests and persuade buyers to trust it.
This is where a business can develop advantages that are expensive to reproduce: a reliable service, strong documentation, useful integrations, specialist expertise and relationships with customers. None is guaranteed by having an open repository. They must be built and renewed.
Forks are nevertheless a real competitive possibility. The Linux Foundation’s 2023 announcement of OpenTofu describes the project as a response to Terraform’s move from the Mozilla Public License to the Business Source License. The example shows that licensing changes can produce a new community and supplier ecosystem, rather than simply moving every user towards a paid plan.
Openness can also make adoption easier. Developers can evaluate code, test a deployment, fix an integration and understand how their data moves. A working community can extend the product’s reach. The commercial question is whether that adoption creates demand for something the company can reliably sell.
Contributors have their own reasons to participate: they may need a fix, want experience, care about the project or be paid by an employer. Their contributions are not a replacement for the work of running a product team. Reviewing patches, documenting behaviour and supporting releases still take time. More submissions can increase that workload.
Stars, revenue and profit measure different things
A GitHub star records attention. It does not establish that the person deployed the software, uses it regularly or has a budget. Downloads can include automated jobs and repeat installations. Neither is a direct measure of paying customers.
Reported revenue, company valuation and personal earnings are different figures. Revenue measures sales before expenses; a valuation estimates what a company is worth; personal earnings depend on salary, distributions and ownership. None of these figures alone establishes a typical outcome for open-source projects. A valuation is not money arriving from customers.
Consider a hypothetical service with 100 customers paying $20 each month. Its monthly recurring revenue, or MRR, is $2,000. Multiplying that by 12 gives a $24,000 annualised run rate, often described as ARR. That calculation is not a guarantee of the next year’s receipts: customers can cancel, change plans or fail to renew. One-time implementation fees should be separated from recurring subscription revenue.
If monthly infrastructure and API costs are $600 and a support allocation is $400, the service has $1,000 left before other expenses. Development, customer acquisition, administration and tax still have to be funded. All these figures are illustrative, not an estimate of a particular company’s margins.

Even substantial revenue is not the same as operating profit. In its 1 December 2026 results announcement, GitLab reported $293.6 million of revenue for the quarter ended 31 October 2026, alongside a $41.1 million GAAP operating loss. The company also reported positive non-GAAP operating income, calculated with specified adjustments. Those measures answer different questions; a headline revenue figure alone does not describe profitability.
A small founder does not need to reproduce GitLab’s economics. But the same discipline applies: understand what each customer pays, what serving that customer costs and how long the customer stays.
AI changes the cost structure, not the need for a customer
AI-assisted coding can help a team prototype an application, understand a codebase or prepare a contribution. It may reduce some development effort, but testing, maintenance, customer support and product decisions still require work. A faster prototype does not establish that the resulting product is reliable, differentiated or wanted by buyers.
Readable code and clear documentation can make a tool easier for developers and coding agents to evaluate and integrate. Whether that becomes a useful distribution channel depends on actual adoption and customer behaviour. A founder should measure installations, successful integrations and paid retention rather than assume that agent discovery will generate a business.
AI-enabled applications also introduce operating costs. A hosted product may pay for model inference, external APIs, storage and background jobs every time a customer uses it. “Unlimited” pricing can become expensive when a small number of users generate heavy workloads. Bringing a personal API key may shift some costs to the customer, but it changes the offer and does not remove the supplier’s other responsibilities.
Public code alone also establishes neither safety nor insecurity. Review quality, dependency maintenance, access controls and deployment practices matter. Self-hosting can give an organisation more control over where data is processed, but that organisation also accepts responsibility for its configuration and operation. Those responsibilities are part of what a managed supplier can be paid to handle.
What this means for Moroccan founders, agencies and buyers
For a Moroccan founder, open source can support an exportable software product, a specialised service business or paid maintenance of infrastructure used internationally. The practical starting point is the buyer’s problem, rather than the ambition to accumulate stars.
Imagine a local agency offering a managed application for 600 MAD per month. A client could instead spend 200 MAD on a server, but expects four hours of monthly administration. If the client values that time at 150 MAD per hour, its comparison becomes 800 MAD for infrastructure and time against the 600 MAD service. These are deliberately hypothetical assumptions, not market prices or a claim that all self-hosting costs more.

The comparison changes if the client already has an operations team, needs a customised deployment or faces workloads outside the managed plan. It must also compare what each option actually includes. A cheap service with no usable backup or clear support scope may offer less value than a properly managed internal installation.
For the agency, the opportunity is to define a service it can deliver repeatedly: installation, documented updates, restore testing, agreed support and an exit process. French and Arabic onboarding or integrations with existing customer workflows may add value. They do not excuse unclear ownership, unsupported promises or ignoring the underlying licences.
For a buyer, the useful questions are concrete: Who maintains this version? What does the subscription include? Who pays for infrastructure and AI usage? How can data be exported? What happens when the contract ends? Which changes can another supplier maintain? Source access can improve the available options, but it is not a substitute for answers.
Design the paid offer before treating openness as a growth strategy
A team evaluating this approach can start with five decisions:
- Name the payer. Distinguish a developer who wants to experiment from the organisation buying a production service.
- Define the transaction. Specify whether the invoice buys hosting, features, licensing terms, support or a completed implementation.
- Explain the free option honestly. Make its capabilities, licence and operating requirements clear without making self-hosting artificially confusing.
- Test delivery economics. Measure infrastructure and API usage, support time, retention and the cost of acquiring customers.
- Fund the continuing work. Plan for reviews, security maintenance and dependencies, including the upstream projects the business relies on.
Open source can make software easier to adopt, adapt and share. A durable business develops a paid offer around work that somebody needs done well and repeatedly. The code gives people options. Customers pay when the service, expertise or additional product is worth choosing.




Discussion
Add your perspective.
A question, a different perspective or experience to share? Add to the conversation.