---
title: "AI engineer salary: what the data shows by level, location, and company"
description: "AI engineer salary data from Levels.fyi, BLS, Stack Overflow, and Indeed, compared by level, location, and company type, with what each source measures."
summary: "Published US medians relevant to AI engineers run from $135,980 (BLS, software developers) to $250,608 (Levels.fyi, ML and AI software engineers), because each source measures something different. This guide compares the main sources and breaks AI engineer pay down by level, city, and company type."
type: "guide"
canonical_url: "https://theaiengineering.com/articles/ai-engineer-salary"
markdown_url: "https://theaiengineering.com/articles/ai-engineer-salary.md"
topic: "AI engineering"
author: "The AI Engineering Editors"
publisher: "The AI Engineering"
published: "2026-11-20"
updated: "2026-11-20"
keywords: ["ai engineer salary","ai engineer salary entry level","ai engineer salary in us","ai engineer salary vs software engineer","ai engineer salary san francisco","senior ai engineer salary","ai engineer salary in india"]
citation: "The AI Engineering Editors. \"AI engineer salary: what the data shows by level, location, and company.\" The AI Engineering, updated Nov 20, 2026. https://theaiengineering.com/articles/ai-engineer-salary"
---

# AI engineer salary: what the data shows by level, location, and company

## TL;DR

- No single AI engineer salary exists in the data: on November 16, 2026, Levels.fyi reported a $250,608 US median total compensation for ML and AI software engineers and $155,500 for the narrower AI Engineer title.
- The US Bureau of Labor Statistics has no AI engineer occupation; its closest codes, software developers and computer and information research scientists, had median wages of $135,980 and $140,300 in May 2025.
- Salary sources disagree mainly because they measure different things: self-reported total compensation including stock, employer-reported wages without equity, or advertised base pay in job postings.
- The AI pay premium grows with seniority: a July 2025 Levels.fyi analysis found AI-focused software engineers earned 6.2% more than non-AI peers at entry level and 18.7% more at staff level.
- Location and company tier move pay the most in published data: Levels.fyi's ML and AI median was $312,500 in the San Francisco Bay Area and $162,500 in Greater Chicago, and AI labs topped its 2025 software engineer pay tables.

The median US total compensation for ML and AI software engineers on [Levels.fyi](https://www.levels.fyi/t/software-engineer/focus/ml-ai) was $250,608 on November 16, 2026, while the US Bureau of Labor Statistics put the median wage for software developers, the closest federal occupation, at $135,980 in May 2025. Both numbers are accurate; they measure different people and different kinds of pay. This guide compares the main AI engineer salary sources side by side, says what each one counts, and breaks pay down by level, location, and company type, using only figures each publisher reports. For what the job involves, start with [what AI engineering is](https://theaiengineering.com/articles/what-is-ai-engineering) and the [AI engineering hub](https://theaiengineering.com/topics/ai-engineering).

In this guide, an AI engineer is a software engineer who builds products on top of pretrained [foundation models](https://theaiengineering.com/glossary/foundation-model) such as [large language models](https://theaiengineering.com/glossary/large-language-model). Salary sources do not all use that definition, which is the first reason their numbers differ.

## AI engineer salary at a glance

US salary figures relevant to AI engineers range from a $135,980 median wage for software developers (BLS, May 2025) to a $250,608 median total compensation for ML and AI software engineers (Levels.fyi, November 2026). The table lists each source, what it measures, its date, and its headline figure, so comparisons stay like for like.

| Source | What it measures | Date | US figure |
|---|---|---|---|
| [Levels.fyi, ML / AI software engineer](https://www.levels.fyi/t/software-engineer/focus/ml-ai) | Self-reported total compensation (base, annualized stock, bonus), 5,749 entries | As of November 16, 2026 | Median $250,608 |
| [Levels.fyi, AI Engineer title](https://www.levels.fyi/t/software-engineer/title/ai-engineer) | Self-reported total compensation, 335 entries | As of November 16, 2026 | Median $155,500 |
| [Stack Overflow Developer Survey 2025](https://survey.stackoverflow.co/2025/work#salary), AI/ML engineer | Self-reported total annual compensation from a developer survey, 80 US respondents | Fielded May 29 to June 23, 2025 | Median $189,500 |
| [BLS OEWS, software developers (15-1252)](https://data.bls.gov/oesprofile/?year=2025&major_group=150000&occupation=151252&measure=01&areas=INDUSTRY,STATE,MSA) | Employer-reported wages, excluding nonproduction bonuses and benefits | May 2025 | Median $135,980; mean $148,100 |
| [BLS OEWS, computer and information research scientists (15-1221)](https://data.bls.gov/oesprofile/?year=2025&major_group=150000&occupation=151221&measure=01&areas=INDUSTRY,STATE,MSA) | Employer-reported wages for a smaller research occupation | May 2025 | Median $140,300; mean $153,930 |
| [Indeed, AI developer](https://www.indeed.com/career/ai-developer/salaries) | Modeled average base salary from 4.1k job postings over 36 months | Updated November 9, 2026 | Average $151,741 |

### Levels.fyi

Levels.fyi publishes compensation that employees submit themselves, and it reports total compensation, defined as base salary plus annualized stock plus bonus. It files AI work in two places: an ML / AI category of software engineers, with 5,749 US entries, and a separate AI Engineer title, with 335 US entries and "LLM Engineer" as an alias. The category median is $250,608 and the title median is $155,500; the section on why sources disagree explains the difference.

### Stack Overflow Developer Survey

Stack Overflow's 2025 Developer Survey asked respondents for their total annual compensation, including salary, bonuses, and perks, before taxes. The survey was fielded from May 29 to June 23, 2025, and its [methodology](https://survey.stackoverflow.co/2025/methodology) states that salaries were converted to US dollars at June 25, 2025 exchange rates. The US median for AI/ML engineers rests on 80 respondents, so treat it as a rough signal. The 2026 survey results do not include a salary section, which leaves 2025 as the latest year with pay by developer type.

### BLS Occupational Employment and Wage Statistics

BLS has no AI engineer occupation. None of the 15 computer occupations in its May 2025 Occupational Employment and Wage Statistics (OEWS) list is an AI or machine learning occupation, so this guide uses the two closest codes: software developers (15-1252) and computer and information research scientists (15-1221). The [Occupational Outlook Handbook](https://www.bls.gov/ooh/computer-and-information-technology/computer-and-information-research-scientists.htm#tab-6) expects research scientists' skills to be needed for new AI technologies, which is why the second code is included.

OEWS wages are employer-reported, straight-time gross pay. The [May 2025 technical notes](https://www.bls.gov/oes/2025/may/oes_tec.htm) exclude nonproduction bonuses, overtime, and employer benefit costs, and they do not list stock as a pay component. The estimates pool three years of survey panels and put employment at 1,687,890 software developers and 37,200 research scientists.

### Job-site estimates

Indeed's AI engineer salary page redirects to its AI developer page, which reports an average base salary of $151,741, with a low of $91,724 and a high of $251,029. Indeed states that the figure comes from 4.1k salaries in job postings over the past 36 months. It is a modeled estimate of advertised pay, not a record of what people were paid. This guide leaves out Glassdoor and ZipRecruiter because their pages could not be checked on November 16, 2026.

## How AI engineer pay is made up

AI engineer pay has three recurring parts (base salary, an annual cash bonus, and equity) plus one-time payments such as sign-on bonuses. Equity is the most variable part: some employers grant none, and at others it approaches the size of base pay. A salary figure means little until you know which of these parts it includes.

**Figure 1: The parts of AI engineer pay. Levels.fyi counts base, bonus, and stock; BLS and job ads mostly count base pay.**

Four pay layers from one-time payments down to base salary, with brackets showing Levels.fyi counts base, bonus, and stock while BLS and job ads mostly count base pay.

Layers, top to bottom:

1. **One-time payments**: Sign-on and relocation
2. **Equity**: Stock grants, annualized over vesting (Public company: RSUs, Startup: options)
3. **Annual bonus**: Cash tied to company or individual results
4. **Base salary**: Fixed cash, paid every pay period

Levels.fyi spans Equity through Base salary. BLS, job ads spans Base salary through Base salary.

Levels.fyi publishes separate percentiles for each component in the schema.org salary data embedded in its pages. For the 5,749 US entries in its ML / AI category on November 16, 2026, the distribution looked like this:

| Component | 25th percentile | Median | 75th percentile | 90th percentile |
|---|---|---|---|---|
| Base salary | $149,000 | $190,000 | $228,000 | $263,000 |
| Annual stock | $0 | $40,000 | $122,500 | $240,000 |
| Bonus | $0 | $0 | $24,000 | $44,000 |
| Total compensation | $170,000 | $250,608 | $373,250 | $515,000 |

The component rows do not add up to the total row. Each percentile is computed separately over the same entries, sorted by a different value, so the person at the median base salary is not the person at the median total.

### Base salary

Base salary is the fixed cash part, and it is the only part every source captures. It is what job postings advertise and what BLS mainly measures. Base pay also varies less than the other parts. In the Levels.fyi ML / AI data, the 90th-percentile base salary is $263,000, while the 90th-percentile total compensation is $515,000.

### Equity

Equity is company stock granted as pay. Public companies usually grant restricted stock units (RSUs) that vest over several years, and startups usually grant options whose value depends on a future sale or public listing. Levels.fyi annualizes stock grants, so a multi-year grant appears as a yearly amount. The median annual stock value is $40,000 for the ML / AI category and $0 for the AI Engineer title, which means at least half of the AI Engineer entries report no annual stock.

### Bonus

Annual bonuses are cash payments tied to company or individual performance. In this data they are smaller and less common than equity: the median bonus is $0 in both Levels.fyi groups, and the 75th percentile is $24,000 for the ML / AI category and $10,750 for the AI Engineer title.

### One-time payments

Sign-on bonuses and relocation payments are paid once. Levels.fyi's definition of total compensation lists base, annualized stock, and bonus and does not mention one-time payments, so compare them separately when weighing offers.

## AI engineer salary by level

Pay rises steeply with level, and the AI premium rises with it. Levels.fyi's 2025 year-end report put the median total compensation of US software engineers at $155,000 at entry level and $457,500 at staff level, and its July 2025 analysis found AI-focused engineers earned 6.2% more than non-AI peers at entry level and 18.7% more at staff.

Levels.fyi maps company-specific titles onto one standard ladder (entry, engineer, senior, staff, and principal) so that pay can be compared across employers. The table draws on two of its publications. The [End of Year Pay Report 2025](https://www.levels.fyi/2025/) reports medians for all US software engineers, and [AI Engineer Compensation Trends Q3 2025](https://www.levels.fyi/blog/ai-engineer-compensation-trends-q3-2025.html), published July 17, 2025, reports how much more AI-focused software engineers earn than non-AI peers at the same level.

| Standard level | US software engineer median, 2024 | US software engineer median, 2025 | AI vs non-AI difference, 2024 | AI vs non-AI difference, 2025 |
|---|---|---|---|---|
| Entry level | $152,500 | $155,000 | 10.74% | 6.2% |
| Engineer (mid-level) | $222,000 | $226,000 | 11.6% | 11.9% |
| Senior | $300,000 | $312,587 | 14.3% | 14.2% |
| Staff | $425,500 | $457,500 | 15.8% | 18.7% |
| Principal | $590,000 | $551,151 | Not published | Not published |

The two halves of the table come from different publications with different data windows. Neither publication reports an AI engineer median by level, so do not multiply one column by another to estimate one. Between 2024 and 2025, the AI premium narrowed at entry level and widened at staff level.

### BLS pay percentiles

BLS does not report pay by level. Its percentiles describe the spread across all employed software developers in May 2025: $82,460 at the 10th percentile, $105,210 at the 25th, $171,980 at the 75th, and $214,670 at the 90th. For computer and information research scientists, the 10th and 90th percentiles were $82,200 and $230,630. Experience drives part of that spread, and location and industry drive the rest.

### Senior AI engineer salary

For senior engineers, Levels.fyi's 2025 report put the US software engineer median at $312,587 and found AI-focused senior engineers earned 14.2% more than non-AI peers. The highest senior medians in that report were at Anthropic ($746,403), Notion ($630,000), and OpenAI ($620,000).

## AI engineer salary by location

The San Francisco Bay Area pays the most on every source checked here. On November 16, 2026, Levels.fyi's ML / AI software engineer median ranged from $312,500 in the Bay Area to $162,500 in Greater Chicago, and BLS software developer medians and Indeed's AI developer estimates showed the same Bay Area lead.

| Area | Levels.fyi ML / AI median total comp (US entries) | BLS software developer median wage, May 2025 | Indeed AI developer average base |
|---|---|---|---|
| San Francisco Bay Area | [$312,500](https://www.levels.fyi/t/software-engineer/focus/ml-ai/locations/san-francisco-bay-area) (2,345) | San Jose-Sunnyvale-Santa Clara $213,110; San Francisco-Oakland-Fremont $186,640 | San Francisco $200,222 |
| Seattle | [$295,000](https://www.levels.fyi/t/software-engineer/focus/ml-ai/locations/greater-seattle-area) (781) | Seattle-Tacoma-Bellevue $167,280 | Not listed |
| New York | [$235,000](https://www.levels.fyi/t/software-engineer/focus/ml-ai/locations/new-york-city-area) (963) | New York-Newark-Jersey City $166,830 | New York $183,214 |
| Austin | [$202,500](https://www.levels.fyi/t/software-engineer/focus/ml-ai/locations/greater-austin-area) (140) | Austin-Round Rock-San Marcos $134,120 | Not listed |
| Los Angeles | [$200,000](https://www.levels.fyi/t/software-engineer/focus/ml-ai/locations/greater-los-angeles-area) (199) | Los Angeles-Long Beach-Anaheim $160,920 | Not listed |
| Boston | [$195,000](https://www.levels.fyi/t/software-engineer/focus/ml-ai/locations/greater-boston-area) (207) | Boston-Cambridge-Newton $166,090 | Boston $154,248 |
| Chicago | [$162,500](https://www.levels.fyi/t/software-engineer/focus/ml-ai/locations/greater-chicago-area) (113) | Chicago-Naperville-Elgin $134,380 | Chicago $148,984 |

Each column draws its boundaries differently. Levels.fyi uses broad market areas, BLS uses metropolitan statistical areas, and Indeed uses cities, so each row compares regions of slightly different shapes. Indeed lists only its five highest-paying cities for AI developers; the fifth, not shown in the table, is McLean, Virginia, at $168,170.

### By state

BLS state data for software developers in May 2025 showed medians of $174,410 in California, $166,540 in Washington, $166,180 in New York, $165,210 in Massachusetts, and $132,150 in Texas. Levels.fyi's 2025 report also named California the highest-paying state for software engineers overall, with a $250,000 median.

### Outside the United States

Levels.fyi listed ML / AI software engineer medians of [£105,141 in the United Kingdom](https://www.levels.fyi/t/software-engineer/focus/ml-ai/locations/united-kingdom) (495 entries) and [₹29,21,588 in India](https://www.levels.fyi/t/software-engineer/focus/ml-ai/locations/india) (1,314 entries) as of November 2026. Stack Overflow's 2025 survey, which converts everything to US dollars, reported AI/ML engineer medians of $149,756 in the UK and $17,436 in India, from 26 and 25 respondents. Small samples and currency conversion make cross-country comparisons rough.

## AI engineer salary by company type

AI labs and a few large software and trading companies topped Levels.fyi's 2025 software engineer pay tables. Among the industries in the BLS handbook, software publishers paid the highest software developer median and state universities paid the lowest research scientist median. No source checked here publishes a startup median, so startup offers need separate handling.

| Company type | Figure | Source |
|---|---|---|
| AI labs | OpenAI: $875,000 median total comp for software engineers, the highest of any US company | Levels.fyi, 2025 year-end report |
| AI labs | Anthropic: first in the mid-level ($570,000) and senior ($746,403) software engineer tables | Levels.fyi, 2025 year-end report |
| Large software companies | Intuit staff level: about $917,000 for AI engineers vs about $515,000 for non-AI engineers | Levels.fyi, July 2025 analysis |
| Large software companies | LinkedIn entry level: about $288,050 for AI engineers vs $225,000 for non-AI engineers | Levels.fyi, July 2025 analysis |
| Software publishers | $164,550 median wage for software developers | BLS, May 2025 |
| Information services | $218,560 median wage for research scientists in miscellaneous information services | BLS, May 2025 |
| Trading firms | Hudson River Trading ($400,000) and Jane Street ($350,000) led entry-level software engineer pay | Levels.fyi, 2025 year-end report |
| Finance and insurance | $135,460 median wage for software developers | BLS, May 2025 |
| IT services and consulting | $132,050 for software developers and $162,760 for research scientists in computer systems design | BLS, May 2025 |
| Federal government | $124,870 median wage for research scientists | BLS, May 2025 |
| State universities | $85,460 median wage for research scientists | BLS, May 2025 |

The Levels.fyi figures for AI labs cover all software engineers at those companies, not only those with AI titles. Our [model providers directory](https://theaiengineering.com/platforms/model-providers) lists the labs that train foundation models. The BLS industry figures come from the [Occupational Outlook Handbook's pay tab for software developers](https://www.bls.gov/ooh/computer-and-information-technology/software-developers.htm#tab-5) and the matching tab for research scientists, both last modified August 27, 2026.

The gap inside a single industry can be as large as the gap between industries. BLS put the median for software developers in finance and insurance at $135,460, while two trading firms led Levels.fyi's entry-level table at $350,000 or more.

Startup equity usually takes the form of options in a private company, which generally cannot be sold until an acquisition or a public listing, so a startup's equity figure is a bet on a future event rather than a value you can compare with public-company RSUs.

## AI engineer salary vs software engineer salary

Engineers in AI-focused categories usually earn more than general software engineers, but not under every label. Levels.fyi reported US medians of $250,608 for its ML / AI category and $200,000 for all software engineers in November 2026, and Stack Overflow's 2025 survey showed $189,500 for AI/ML engineers against $175,000 for back-end developers.

| Comparison | AI-focused group | General group | Source |
|---|---|---|---|
| Levels.fyi categories | ML / AI software engineer: $250,608 | All software engineers: $200,000 (46,353 entries) | Levels.fyi, November 2026 |
| Levels.fyi title | AI Engineer: $155,500 | All software engineers: $200,000 | Levels.fyi, November 2026 |
| Stack Overflow, US | AI/ML engineer: $189,500 | Back-end developer: $175,000; full-stack developer: $138,000 | Stack Overflow, 2025 |
| Levels.fyi by level | 6.2% more at entry level, 18.7% more at staff | Non-AI software engineers at the same level | Levels.fyi, July 2025 |

The exception is the AI Engineer title, whose median sits below the median for all software engineers. The title's median base salary is $146,000 and its median annual stock is $0, compared with $190,000 and $40,000 for the ML / AI category, so the gap shows up in both cash and equity. Titles also split in the Stack Overflow survey, where the global median was $89,427 for AI/ML engineers and $62,767 for the separate "Developer, AI apps or physical AI" category.

## What moves AI engineer pay

The published data shows four factors moving AI engineer pay: level, location, company tier, and how much of the package is equity. Specialization may matter too, but no public source checked here publishes separate medians for it, so its effect can only be read indirectly from the categories that sources do track.

- **Level.** The AI premium over non-AI peers grows from 6.2% at entry level to 18.7% at staff level, and the median for all US software engineers rises from $155,000 at entry level to $457,500 at staff in Levels.fyi's 2025 data.
- **Location.** The Levels.fyi ML / AI median is $312,500 in the San Francisco Bay Area and $162,500 in Greater Chicago.
- **Company tier.** Levels.fyi's 2025 median for software engineers at OpenAI was $875,000, while the BLS median for all US software developers was $135,980 in May 2025.
- **Equity.** The 90th-percentile annual stock value in the Levels.fyi ML / AI data is $240,000, close to the 90th-percentile base salary of $263,000, while at least half of AI Engineer title entries report no stock.
- **Specialization.** Levels.fyi tags ML / AI entries by specialization: pre-training, post-training, inference, applied AI, ML infrastructure, training data, evals, and AI safety. Its public pages do not show a median for each tag as of November 16, 2026. Its 2025 year-end report did list research roles as having the highest year-over-year pay growth, at 15.38%.

The specialization tags map onto distinct kinds of work:

- **Pre-training and post-training** are model-training work, from [pretraining](https://theaiengineering.com/glossary/pretraining) on large text corpora to post-training methods such as [RLHF](https://theaiengineering.com/glossary/rlhf).

- **Inference** covers [serving](https://theaiengineering.com/articles/self-hosted-llm) cost and latency, from [KV cache](https://theaiengineering.com/glossary/kv-cache) management to batching, as our guide to [LLM inference optimization](https://theaiengineering.com/articles/llm-inference-optimization) explains.

- **Evals** builds the [golden datasets](https://theaiengineering.com/glossary/golden-dataset) and judge models that our [LLM evaluation guide](https://theaiengineering.com/articles/llm-evaluation) describes.

- **Applied AI** covers product work such as [retrieval-augmented generation](https://theaiengineering.com/glossary/retrieval-augmented-generation) and [fine-tuning](https://theaiengineering.com/glossary/fine-tuning), the closest match to what this guide calls AI engineering.

## Why AI engineer salary sources disagree

AI engineer salary sources disagree because they collect different data from different people. Levels.fyi and Stack Overflow publish what workers report, BLS publishes what employers report for broad occupation codes, and Indeed models advertised base pay from job postings. Titles, pay components, sample makeup, and time windows all differ.

**Figure 2: Where each AI engineer salary figure comes from, and what the published number measures.**

Four data pipelines: employees and developers self-report pay to Levels.fyi and Stack Overflow, while employers report wages to BLS and post pay ranges that Indeed models.

Components:

- **Employees**: Self-reported pay
- **Levels.fyi**: Title and category pages
- **Total comp median**: Base, stock, bonus
- **Developers**: Annual survey answers
- **Stack Overflow survey**: Fielded May to June 2025
- **Median total comp**: By developer type
- **Employers**: Payroll survey by SOC code
- **BLS OEWS**: May 2025 estimates
- **Wage percentiles**: No AI code, no stock
- **Employers**: Pay ranges in job ads
- **Indeed**: 36 months of postings
- **Average base pay**: Modeled estimate

Connections:

- Employees → Levels.fyi
- Levels.fyi → Total comp median
- Developers → Stack Overflow survey
- Stack Overflow survey → Median total comp
- Employers → BLS OEWS
- BLS OEWS → Wage percentiles
- Employers → Indeed
- Indeed → Average base pay

### Self-reported, survey, and posting data

Self-reported data captures equity and bonuses but depends on who chooses to report. Employer-reported data covers far more workers but uses occupation codes that predate the AI engineer title and leaves out stock. Posting data shows what employers advertise for new hires, usually as a base salary range, not what current employees earn.

### Title ambiguity

The same work appears under different labels. BLS has no AI engineer code, Indeed redirects its AI engineer page to AI developer, and Stack Overflow offers both "AI/ML engineer" and "Developer, AI apps or physical AI." Levels.fyi has an ML / AI category, an AI Engineer title, and an Applied AI Engineer title; the last has only 21 US entries, too few to read much into.

### Total compensation vs base pay

Sources that include stock report higher numbers. The Levels.fyi ML / AI median base salary is $190,000, and its median total compensation is $250,608. A posting-based base average and a self-reported total compensation median for the same role should not match, because only one of them counts stock and bonuses.

### Sample makeup and size

Samples differ in where people work. Of the 5,749 US entries in the Levels.fyi ML / AI category, 2,345 are in the San Francisco Bay Area, which pulls the national median toward Bay Area pay. The Stack Overflow US median for AI/ML engineers rests on 80 respondents. BLS, by contrast, counts 1,687,890 employed software developers but cannot isolate AI work within them.

### Time windows

Each source covers a different period. The BLS May 2025 estimates pool three years of survey panels, the Stack Overflow survey ran in May and June 2025, Indeed uses 36 months of postings, and Levels.fyi pages show a rolling figure that changes as entries arrive. Pay also moves within a year. Levels.fyi's July 2025 analysis reported that the median for AI-focused software engineers peaked at $295,000 in March 2024 and fell to about $228,500 in January 2025.

### Medians vs means

A mean is pulled up by a small number of very high earners, so it sits above the median in right-skewed pay data. BLS reported a $148,100 mean and a $135,980 median for software developers in May 2025. When a source says "average" without saying which, assume the figure is not directly comparable with a median.

Before trusting any AI engineer salary figure, check who reported it, which pay components it includes, which title or code it covers, where and when it applies, and how many entries it rests on.

## How to raise your pay as an AI engineer

The levers in the published data are level, location, company tier, and equity. Level is the one most tied to skill, and in Levels.fyi data a higher level brings both a higher median and a larger AI premium. The most reliable route to higher pay is evidence that you can do the next level's work.

1. **Build evidence for the next level.** Ship projects with measured results, such as eval scores before and after a change, cost and latency per request, and a write-up of what still fails. The [AI engineer roadmap](https://theaiengineering.com/articles/ai-engineer-roadmap) lays out seven stages, each ending with a project that produces this kind of evidence.
2. **Get good at the measurable parts of the job.** Evals and inference are tracked as their own specializations on Levels.fyi, and both show up in production as cost, latency, and quality numbers that managers can see. Our guides to [AI agent evaluation](https://theaiengineering.com/articles/ai-agent-evaluation) and [LLM observability](https://theaiengineering.com/articles/llm-observability) cover the production side of that work.
3. **Negotiate on level first, then on total compensation.** Ask which internal level an offer maps to, and compare it with the Levels.fyi data for that company and level rather than with a national median.
4. **Price equity separately.** Ask for the grant's vesting schedule and, for options, the strike price and the company's latest valuation. Compare public-company RSUs with RSUs, and treat private-company options as a separate, riskier asset.
5. **Compare offers within the same market.** A Bay Area offer and a Chicago offer sit in different pay distributions, so compare each with its own location's figures in the table above.
6. **Check more than one source.** A Levels.fyi median, a BLS percentile, and a posting range answer different questions, so read them together.

To see how the skills behind these steps fit the role, read [what AI engineering is](https://theaiengineering.com/articles/what-is-ai-engineering), then pick the roadmap stage that matches your current work.

## Frequently asked questions

### How much do AI engineers make a year?

In the United States, the answer depends on the source and what it counts. On November 16, 2026, Levels.fyi reported a median total compensation of $250,608 for ML and AI software engineers and $155,500 for the AI Engineer title. Stack Overflow's 2025 survey found a $189,500 median for US AI/ML engineers. BLS, which has no AI engineer code, reported a $135,980 median wage for software developers in May 2025.

### Do AI engineers make more than software engineers?

Usually, and the gap grows with seniority. A July 2025 Levels.fyi analysis found AI-focused software engineers earned 6.2% more than non-AI peers at entry level and 18.7% more at staff level. In Stack Overflow's 2025 survey, the US median was $189,500 for AI/ML engineers, $175,000 for back-end developers, and $138,000 for full-stack developers. The exception is Levels.fyi's AI Engineer title, whose $155,500 median sits below the $200,000 median for all US software engineers.

### How much do entry-level AI engineers make?

None of the sources checked here publishes a US median for entry-level AI engineers alone. Levels.fyi's 2025 year-end report put the median total compensation of US entry-level software engineers at $155,000, and its July 2025 analysis found an AI premium of 6.2% at that level. Top entry-level packages are far higher: OpenAI ranked third for entry-level software engineers in that report, at $300,000.

### Where do AI engineers get paid the most?

The San Francisco Bay Area pays the most on all three sources checked here. Levels.fyi listed an ML and AI software engineer median of $312,500 for the Bay Area on November 16, 2026, ahead of Greater Seattle at $295,000. BLS reported its highest software developer median among the metros checked in San Jose-Sunnyvale-Santa Clara, at $213,110 in May 2025, and Indeed's top city for AI developers was San Francisco.

### How much do AI engineers make in India?

Levels.fyi listed a median total compensation of ₹29,21,588 (about ₹29.2 lakh) for ML and AI software engineers in India, based on 1,314 self-reported salaries, as of November 2026. Stack Overflow's 2025 survey reported a median of $17,436 for AI/ML engineers in India, from only 25 respondents. The two samples differ in size and in who chooses to report, so treat neither as a national average.

## Terms in this guide

- [Foundation model](https://theaiengineering.com/glossary/foundation-model): A foundation model is a large AI model trained on broad data, usually with self-supervised learning at scale, that can be adapted through prompting or fine-tuning to a wide range of downstream tasks.
- [Large language model (LLM)](https://theaiengineering.com/glossary/large-language-model): A large language model (LLM) is a neural network, usually a transformer with billions of parameters, trained on web-scale text to predict the next token and then adapted to follow instructions.
- [Fine-tuning](https://theaiengineering.com/glossary/fine-tuning): Fine-tuning is the process of further training a pretrained model on a smaller, task-specific dataset so its weights change to improve performance on a particular task, domain, style, or output format.
- [Retrieval-augmented generation (RAG)](https://theaiengineering.com/glossary/retrieval-augmented-generation): Retrieval-augmented generation (RAG) is a technique that retrieves relevant passages from an external knowledge source at query time and adds them to a language model's prompt so the answer is grounded in that data.
- [Pretraining](https://theaiengineering.com/glossary/pretraining): Pretraining is the first stage of training a language model, in which it learns to predict the next token across a large unlabeled corpus of text and code, producing a general-purpose base model.
- [RLHF](https://theaiengineering.com/glossary/rlhf): RLHF (reinforcement learning from human feedback) is a fine-tuning method that trains a reward model on human rankings of model outputs, then optimizes the language model with reinforcement learning to score highly.
- [KV cache](https://theaiengineering.com/glossary/kv-cache): The KV cache is GPU memory that stores the attention key and value vectors already computed for previous tokens, so a transformer generating text computes them once instead of at every step.
- [Golden dataset](https://theaiengineering.com/glossary/golden-dataset): A golden dataset is a curated, versioned set of representative inputs, each paired with an expected output or grading criteria, that a team treats as ground truth when evaluating an LLM application.

## Related guides

- [AI engineer roadmap: skills, projects, and resources by stage](https://theaiengineering.com/articles/ai-engineer-roadmap): A practical AI engineer roadmap in seven stages, each with the skills to learn, a project to ship, and resources worth the time, from Python to production.
- [What is AI engineering? The discipline, the stack, and the work](https://theaiengineering.com/articles/what-is-ai-engineering): What is AI engineering? A plain definition, how it differs from ML and software engineering, the layers of the stack, and what AI engineers do day to day.
- [LLM evaluation: a practical guide to evals, metrics, and judges](https://theaiengineering.com/articles/llm-evaluation): LLM evaluation for engineers: build eval datasets, pick metrics, calibrate LLM-as-a-judge, evaluate RAG and agents, and gate every release in CI.
- [LLM inference optimization: a practical guide for engineers](https://theaiengineering.com/articles/llm-inference-optimization): LLM inference optimization guide: prefill vs decode, TTFT, KV cache and PagedAttention, continuous batching, quantization, speculative decoding, and GPUs.

Part of the [AI engineering](https://theaiengineering.com/topics/ai-engineering) topic hub.

## Cite this guide

The AI Engineering Editors. "AI engineer salary: what the data shows by level, location, and company." The AI Engineering, updated Nov 20, 2026. https://theaiengineering.com/articles/ai-engineer-salary

- Title: AI engineer salary: what the data shows by level, location, and company
- Author: The AI Engineering Editors
- Publisher: The AI Engineering
- Published: 2026-11-20
- Updated: 2026-11-20
- URL: https://theaiengineering.com/articles/ai-engineer-salary
- Markdown: https://theaiengineering.com/articles/ai-engineer-salary.md

To cite one section, link to its anchor:

- [AI engineer salary at a glance](https://theaiengineering.com/articles/ai-engineer-salary#ai-engineer-salary-at-a-glance)
- [How AI engineer pay is made up](https://theaiengineering.com/articles/ai-engineer-salary#how-ai-engineer-pay-is-made-up)
- [AI engineer salary by level](https://theaiengineering.com/articles/ai-engineer-salary#ai-engineer-salary-by-level)
- [AI engineer salary by location](https://theaiengineering.com/articles/ai-engineer-salary#ai-engineer-salary-by-location)
- [AI engineer salary by company type](https://theaiengineering.com/articles/ai-engineer-salary#ai-engineer-salary-by-company-type)
- [AI engineer salary vs software engineer salary](https://theaiengineering.com/articles/ai-engineer-salary#ai-engineer-salary-vs-software-engineer-salary)
- [What moves AI engineer pay](https://theaiengineering.com/articles/ai-engineer-salary#what-moves-ai-engineer-pay)
- [Why AI engineer salary sources disagree](https://theaiengineering.com/articles/ai-engineer-salary#why-ai-engineer-salary-sources-disagree)
- [How to raise your pay as an AI engineer](https://theaiengineering.com/articles/ai-engineer-salary#how-to-raise-your-pay-as-an-ai-engineer)
- [Frequently asked questions](https://theaiengineering.com/articles/ai-engineer-salary#faq)
