Outsource or hire a developer?

Summary: outsourcing developers is often more cost-effective when a company needs to get started quickly, lacks a specific skill set, has fluctuating demand, or has an in-house team tied up with day-to-day operations. Direct hiring makes sense when software is at the core of the business and the knowledge needs to stay in-house. In this article, you’ll learn what goes into the cost of a hired developer, what changes when you outsource, five situations where outsourcing wins, and what to include in the contract.

Outsource or hire a developer: which is more cost-effective?

It depends on the situation, and the decision becomes clearer when you break it down into four questions: what it really costs, how quickly you need results, which skill set is missing, and how much of the knowledge needs to stay within the company.

In most cases where a company needs to expand its team for a period, fill a skills gap, or move faster, outsourcing wins. When software is the core product and the team will grow steadily for years, direct hiring is usually the better option. The sections below show how to reach that conclusion using your company’s numbers.

In this article, "outsourcing" means hiring a specialized company that provides developers, whether through staff augmentation, a squad, or a project. These models are covered in detail in the article on IT outsourcing.

How much does it really cost to hire a developer?

Salary is only part of the equation. When hiring a developer under Brazil’s CLT employment system, the company pays for other items required by law:

Item What the law says Legal basis
FGTS 8% of compensation, deposited every month Law 8,036/1990, art. 15
13th-month salary One extra month’s salary per year, equivalent to 1/12 per month (8.33%) Constitution, art. 7, VIII
Vacation Annual vacation with at least one-third extra pay on top of the regular salary (11.11% per month) Constitution, art. 7, XVII
INSS contribution 20% of wages paid to employees under the general system Law 8,212/1991, art. 22

FGTS, 13th-month salary, and vacation pay with the additional one-third add up to about 27% of salary, not including INSS. The amount of INSS and other contributions depends on the company’s tax classification, and your accountant can tell you which rules apply.

In addition to payroll costs, the total includes items that don’t appear on the payslip:

  • Benefits: health insurance, meal vouchers, allowances, and bonuses provided for in company policies or collective bargaining agreements.
  • Recruiting: team time, job ads, platforms or consulting, and the hiring process, which often takes weeks or months depending on the skill set.
  • Equipment and licenses: laptop, access, and tools.
  • Time to become productive: a new professional needs to learn the system, team, and business before delivering at the expected pace.
  • Replacement: when someone leaves, the company has to repeat the hiring process, loses accumulated knowledge, and pays termination costs.
  • Management: someone at the company needs to lead, provide feedback, and support career development.

To compare this with an outsourcing proposal, add up all these costs over the period you’ll need the professional. If you need someone for six months, the cost of hiring and then letting them go weighs much more heavily than it would for a five-year hire.

How much does it cost to outsource a developer?

With outsourcing, you pay an amount agreed upon with the provider, which already covers employment costs, recruiting, replacement, and some management. The price depends on the model and the usual factors: roles, seniority, number of professionals, and contract length.

Outsourcing is not automatically cheaper. It becomes more cost-effective when demand is temporary, fluctuates throughout the year, or requires a rare skill set, because you pay only for the period you need and avoid the cost of hiring and letting someone go. For a constant need that lasts many years, the costs are more comparable, and the benefit comes more from speed and flexibility than from price.

When comparing proposals, ask each provider to specify what is included, how a professional is replaced, and how scope changes are billed. Be wary of prices far below market rates without an explanation.

When is outsourcing the better choice?

Outsourcing is usually the best choice in five situations.

  1. You need to get started within weeks. A provider with professionals available can shorten the time between the decision and the first line of code. For example, the MVP for fintech app PagueVeloz was delivered after one month of development, and the company saw a 211% increase in its number of customers.
  2. Your company lacks a specific skill set. Architecture, UX/UI, quality, or expertise in a particular technology rarely justify a permanent hire for a single project.
  3. Demand goes up and down. When the workload varies, a permanent team is underutilized some months and overloaded in others. With outsourcing, you can adjust the team size to meet demand. At Serasa, the number of allocated specialists doubled in one year, showing how staff augmentation can grow a team without repeating the hiring process for each person.
  4. Your in-house team is tied up with operations. When the team is handling day-to-day work and important projects are stalled, an external team can take on the new initiative without pulling anyone away from operations.
  5. You want someone to be accountable for quality and replacements. With staff augmentation, the provider monitors the professional’s quality, and if someone leaves or does not meet expectations, the provider is responsible for finding a replacement.

When is hiring directly still the better option?

Hiring directly is the best option in three situations:

  • The software is at the core of your business. If the product is what sets your company apart, the knowledge needs to stay in-house. Even so, external partners can strengthen the team.
  • Demand is constant and predictable for years. In this case, the cost of an in-house team is spread over time, and the advantage of flexibility diminishes.
  • You need direct control over every technical decision. This requires strong technical leadership and time to manage the team.

Many companies combine the two approaches: an in-house core team that maintains the architecture and business knowledge, and external partners who add capacity and cover specific skill sets.

Outsourcing or hiring: a side-by-side comparison

Criteria Hiring (CLT) Outsourcing (staff augmentation, squad, or project)
Time to get started Weeks or months for the hiring process Usually weeks, depending on provider availability
Cost Salary, employment costs, benefits, and recruiting and replacement costs Amount agreed upon with the provider, already including these items
Flexibility Adjusting the team requires hiring or letting people go Increase or reduce the team as demand changes, within the terms of the contract
Rare skill sets You need to find, attract, and retain professionals The provider has access to professionals with those skill sets
Business knowledge Stays within the company Needs to be documented and transferred
Replacement The company repeats the hiring process The provider is responsible for replacements, as specified in the contract
Management Handled by the company Shared or handled by the provider, depending on the model

What to include in an outsourcing contract

Successful outsourcing depends on a clear contract. The points that matter most:

  • Code and ownership. Law 9,609/1998 states that the rights to computer programs developed during the contract belong to the client, unless otherwise agreed (Article 4). Even so, put in writing that the code belongs to you and request access to the repository throughout the project.
  • Professional replacements. Specify how quickly the provider must replace someone and who covers the cost of the transition.
  • Service levels and metrics. Agree on response times, quality metrics, and how progress will be monitored.
  • Information security. Ask for information about access controls and certifications.
  • Labor liability. The client has subsidiary liability for labor obligations during the service period (Law 6,019/1974, Article 5-A, Section 5), so choose a provider with financial capacity and request proof of compliance.

The legal framework for outsourcing and its contractual requirements are covered in the article on IT outsourcing. This is general information and is not a substitute for advice from an attorney.

How Premiersoft works

Premiersoft provides developers and teams across three service areas:

  • Staff Augmentation: developers hired for a project, with account executives overseeing operational quality and support from the engineering team.
  • Agentic Squads: Premiersoft specialists and AI agents working on the same team. The agents generate code, tests, and documentation, while people make decisions, review the work, and take responsibility for delivery.
  • Software House: a multidisciplinary team that takes on the project from start to finish.

The company’s information security and privacy management systems are certified to ISO/IEC 27001 and ISO/IEC 27701. To decide between hiring and outsourcing, the best next step is a discovery conversation, where we learn about your challenge and recommend the model that makes sense for your current needs.

Want to compare the cost of hiring with outsourcing? Learn about Premiersoft's IT professional staffing services and talk to a specialist.

Frequently asked questions about outsourcing developers

Is outsourcing developers worth it?

It can be worthwhile when a company needs to get started quickly, fill a skills gap, keep up with fluctuating demand, or free up its in-house team from day-to-day operations. It may be less worthwhile when software is at the core of the business and the team is expected to grow steadily for years. Compare the total cost of both options over the period for which you need the professional.

Is outsourcing a programmer legal?

Yes. Law 6,019/1974, as amended in 2017, allows companies to outsource any activities, including their core business activities, and in 2018 the Supreme Federal Court ruled that outsourcing is lawful at every stage of the production process. The contracting company remains secondarily liable for labor obligations. This is general information, and a lawyer should review the contract.

Is outsourcing a developer cheaper than hiring one?

Not always. It tends to be more cost-effective when the need is temporary, fluctuates throughout the year, or calls for a rare skill set, because you avoid the costs of hiring and termination. For a long-term, ongoing need, the costs are more comparable, and the benefits come from speed and flexibility.

How much does a developer hired under the CLT employment model cost?

In addition to salary, the company pays FGTS (8%), a 13th-month salary, vacation pay plus a one-third bonus, and INSS contributions, as well as benefits, recruiting, equipment, and replacement costs. FGTS, the 13th-month salary, and vacation pay alone add up to about 27% of salary, before INSS contributions.

Who owns code developed by an outsourced company?

The law states that, unless otherwise agreed, the rights to computer software developed during the contract belong to the contracting party. Even so, state in writing in the contract that the code belongs to you, and request access to the repository from the outset.

Is outsourcing developers the same as professional staffing?

Professional staffing is one form of outsourcing, in which the provider's developers work as part of your team. You can also outsource through a dedicated squad or a fixed-scope project.

Keep reading

IT outsourcing: IT outsourcing: what it is, models, and when to hire

Software development company: Software development companies: what they are and how to choose the right one for your project

Software development factory: Software development factories: what they are and how they work

References

Share

Check out more posts

Subscribe to the blog RSS feedView as a Web Story