Back to blog
Startups & TrendsNovember 21, 2026

Nearshore agency, freelancer or in-house hire: which one fits a San Diego company

A San Diego software developer earns a $163,270 median salary before benefits (BLS, May 2025). How in-house hiring, freelancers and a nearshore agency in Mexico compare on cost, speed, continuity, code ownership and time zone, and when an agency is the wrong call.

12 min read26 views
People sitting around a table in a work meeting

If you run a company in San Diego and need software built or kept running, you have three realistic options: put developers on your payroll, contract freelancers, or work with a nearshore agency in Mexico. Each one is the right answer for somebody. This guide compares them on what actually decides it (total cost, how fast you can start, what happens when someone leaves, who owns the code, communication, and how easily you can scale) with a source next to every number.

A disclosure before you read on: DevChefs is a nearshore development company in Tijuana. We have an obvious interest in the third option, so we have tried to be specific about when it is the wrong call.

The short answer

  • Hire in-house when the software is your product, it will need continuous work for years, and you can afford to wait for the right person. Nothing beats a team that accumulates knowledge inside your company.

  • Use a freelancer when the work is small, well-defined, and someone on your side can review it: a contained integration, a fix, a prototype.

  • Use a nearshore agency when you need a team rather than a person, you need it to start soon, you want it working your hours, and you don't want to build an engineering department yet.

The rest of this article is the reasoning behind those three lines.

What an in-house developer in San Diego actually costs

A software developer in the San Diego metro area earns a median of $163,270 a year, or $78.49 an hour, according to the Bureau of Labor Statistics' Occupational Employment and Wage Statistics for San Diego-Chula Vista-Carlsbad (May 2025 estimates, occupation code 15-1252). The middle half of the market sits between $128,590 (25th percentile) and $193,980 (75th percentile), and BLS counts 20,610 people employed in that occupation in the metro.

Salary is not the cost. The BLS Employer Costs for Employee Compensation survey for June 2026 shows that, for private-industry workers in professional and related occupations nationwide, wages and salaries are 69.2% of total compensation and benefits are the remaining 30.8%. Put differently, employers spend about 45 cents on benefits for every dollar of wages.

Apply that national ratio to the San Diego median wage and you get roughly $236,000 a year, or about $113 an hour, in employer cost for one median developer. That is our arithmetic, not a BLS figure, and a rough one: it combines a local wage with a national benefits share. It also still leaves out recruiter fees, equipment, software licenses, office space and the hours your managers spend hiring and onboarding.

Then there is the calendar. SHRM's 2026 recruiting benchmarking, built on data from more than 4,600 organizations, puts the median time-to-fill at 39 calendar days for nonexecutive positions. That covers every kind of role, not software specifically. And filling the role is only the start: the new hire still has to wrap up their previous job, show up and learn your codebase.

What a freelancer costs, and why we won't give you a number

We looked for a freelance developer rate we could stand behind and did not find one. The most-cited figures come from marketplaces that place freelancers, which have an interest in the number. For example, Arc.dev's guide to freelance developer costs says it surveyed 5,302 freelance developers worldwide, but also that its ranges "reflect broad market observations across freelance marketplaces, recruiter benchmarks" and Arc's historical survey data, and it gives no US sample size. That is not a figure to build a budget on, so this article doesn't give one.

What we can tell you is where a freelancer's real cost hides:

  • Your time. A freelancer is a person, not a team. Someone on your side has to define the work, review the code, and own deployment, security and testing, or accept that nobody does.

  • Classification risk in California. Under the state's ABC test, a worker is considered an employee unless the hiring company satisfies all three conditions, one of which is that the work is "outside the usual course of the hiring entity's business." AB 5, the state law on whether workers are employees or independent contractors, became law on January 1, 2020. A long-term freelancer building the core product of a software company is exactly the arrangement to run past an employment lawyer.

  • Code ownership. Freelance work does not automatically belong to you. More on that below.

What a nearshore agency costs

Agency rates are the easiest of the three to compare, because the market publishes them. Clutch's software development pricing data (updated September 21, 2026), which it collects "through its first-party reviews submitted by verified software development clients," puts the average hourly cost of a development company at $50–99 in the United States and $25–49 in Mexico, roughly half. Mexico shares that band with India, the Philippines and Ukraine. These are market averages across reviewed firms, not DevChefs' rates.

Two caveats so you read those numbers correctly. First, they are coarse buckets: the same table puts Canada at $100–149, above the US, which tells you how wide the bands are. Second, an agency rate does not compare one-to-one with the $113-an-hour employee estimate above. The agency's rate already includes its own overhead, management and margin, and you pay for billed hours rather than for vacations, slow weeks and hiring gaps. But the knowledge also builds up at the agency rather than inside your company, unless the contract makes them write it down.

For worked project budgets at both rates, see what custom software costs to build with a team in Mexico.

The comparison at a glance

In-house hireFreelancerNearshore agency (Mexico)
Cost reference$163,270 median salary in San Diego (BLS, May 2025), plus benefits worth 30.8% of total compensation nationally (BLS, June 2026)No reliable public benchmark$25–49/h average for Mexican firms on Clutch, vs. $50–99/h for US firms
Time to startRecruiting first: 39-day median time-to-fill for nonexecutive roles (SHRM 2026), then onboardingFast, if you already know someone goodDepends on who is available; ask for a real start date
If someone leavesYou recruit againWork stops until you replace themThe agency has to restaff; ask about rotation
Code ownershipYours by default (work made for hire)Only with a written assignmentOnly with a written assignment
Day-to-day controlFullDirect, but limited to one personShared: you set priorities, the agency runs the team
Time zoneYoursWherever they liveTijuana keeps Pacific time on US clock-change dates
ScalingSlow in both directionsOne person's capacityAdd or remove people by contract
Best forCore product, long horizonSmall, well-defined tasksA team, soon, on your hours

Speed: how fast each option can start

A freelancer you already trust is the fastest way to get one person working. An agency is usually the fastest way to get a team working, because the recruiting already happened, though it depends on who is free that month, so ask for concrete start dates, not promises. In-house is the slowest to start, and the 39-day SHRM median only covers filling the seat.

At DevChefs, the first step is a free initial technical assessment, with a response in under 24 hours; when the actual work starts depends on the size of the project.

Not sure which model fits your project?

Tell us what you need built and we will talk through which of the three models fits.

See the breakdown

Continuity: what happens when someone leaves

This is where the usual pitch against hiring in-house gets exaggerated. BLS employee tenure data shows a median of 4.6 years with the current employer for workers in computer and mathematical occupations in January 2026. A good hire is not a revolving door.

The real risk is concentration. If one engineer or one freelancer holds the whole system in their head, their departure stops the project. A freelancer is the most exposed: there is no bench behind them. An agency spreads the knowledge across several people and is contractually on the hook to staff your project, but agencies have turnover too. Ask how long the people assigned to you have been there and how handoffs get documented.

Whatever you choose, the protection is the same: documentation, code in your repository, and access in your accounts.

Control and code ownership

With an employee, US copyright law generally makes you the owner. The US Copyright Office's Circular 30 on works made for hire (revised August 2024) explains that a work prepared by an employee within the scope of their employment is a "work made for hire," and the employer is both its author and its copyright owner.

With a freelancer or an agency, it is not automatic. Per the same circular, a commissioned work only counts as a work made for hire if it falls into one of nine categories (a contribution to a collective work, part of a motion picture or audiovisual work, a translation, a supplementary work, a compilation, an instructional text, a test, answer material for a test, or an atlas) and both parties sign a written agreement saying so. Custom software built for you is not named on that list, so the safer path is a contract clause that explicitly assigns the copyright to your company, rather than relying on a "work for hire" label alone. This is general information, not legal advice; have your lawyer review the clause.

A few rules that apply to any outside developer: the repository lives in your company's GitHub or GitLab organization from day one, production credentials sit in your accounts, and the contract says when IP transfers. At DevChefs, the client owns the code and intellectual property built for its project.

Day-to-day control is a separate question. In-house, you direct everything. With an agency you choose how much to hand over: staff augmentation puts engineers inside your process under your technical lead, a dedicated team runs its own process and reports to you, and a project-based engagement fixes scope, timeline and deliverables up front.

Communication and time zone

For a San Diego company, the advantage of a Tijuana team over offshore locations is mostly the clock. Tijuana runs on Pacific time and changes its clocks on the same dates as San Diego: March 8 and November 1 in 2026, March 14 and November 7 in 2027, according to timeanddate.com's pages for Tijuana and San Diego. Standups, code reviews and production incidents happen inside the same working day.

A freelancer could be in any time zone; ask before you sign. An in-house hire is on your hours by definition, and is the only option where the quick question across the desk costs nothing to schedule.

The clock is necessary, not sufficient. Interview the people who will actually work on your project, not just the sales team, and judge their English and their questions about your business.

Scaling up and down

In-house teams are slow in both directions: hiring takes weeks or months, and cutting back is expensive and hard on everyone. A freelancer scales to exactly one person. An agency is the most elastic: adding a QA engineer for a release, or going from four people to two after launch, is a contract change. That flexibility is a large part of what you pay an agency for, so read how much notice the contract requires to change team size.

When a nearshore agency is the wrong choice

We would rather you hear this from us:

  • Software is your core product and you are building for the long run. If your company's value depends on its engineering team, you want that team on your payroll, with equity and a culture you shape. An agency can build a first version or bridge the gap while you hire; it should not permanently replace the team at the heart of the business.

  • The job is small and well-defined. A contained integration, a website fix, a one-off script. An agency's process (discovery, project management, QA) is overhead you don't need there, and a freelancer you trust will be faster.

  • Your contracts require US-based or on-site staff. If a customer or government contract says where, or by whom, the work has to be done, read that clause before you look at any option outside the US.

  • Nobody on your side can own decisions. No model fixes a missing product owner. An agency will build what it is asked to build; if nobody is deciding what matters, you will pay for the wrong thing efficiently.

  • You need one deep specialist, not a team. If the gap is a single rare skill, a direct hire or a specialist contractor usually fits better.

A quick way to decide

Answer four questions:

  1. Will this software need continuous work for more than two years, and is it central to how you make money? If both are yes, plan to hire in-house; an agency can bridge the gap.

  2. Can you describe the work in one page, and can someone on your team review it? If yes, a freelancer can work.

  3. Do you need several people (frontend, backend, testing, someone coordinating) within weeks? That is where an agency is strongest.

  4. Who owns the code on the day the relationship ends? If the answer is not "we do, in writing, and it's already in our repository," fix that first, whatever model you pick.

If you have already landed on nearshore and want the in-house cost comparison in more depth, we have written about why an outsourced team in Mexico can cost less for California companies. This article is the step before that: deciding which model fits at all.

Cover photo: Dylan Gillis on Unsplash.