vs

Side-by-side financial comparison of APi Group Corp (APG) and SANMINA CORP (SANM). Click either name above to swap in a different company.

SANMINA CORP is the larger business by last-quarter revenue ($3.2B vs $2.1B, roughly 1.5× APi Group Corp). APi Group Corp runs the higher net margin — 4.6% vs 1.5%, a 3.0% gap on every dollar of revenue. On growth, SANMINA CORP posted the faster year-over-year revenue change (59.0% vs 13.8%). APi Group Corp produced more free cash flow last quarter ($356.0M vs $91.9M). Over the past eight quarters, SANMINA CORP's revenue compounded faster (31.9% CAGR vs 15.0%).

X.AI Corp., doing business as xAI, is an American company working in the area of artificial intelligence (AI), social media and technology that is a wholly owned subsidiary of American aerospace company SpaceX. Founded by Elon Musk in 2023, the company's flagship products are the generative AI chatbot named Grok and the social media platform X, the latter of which they acquired in March 2025.

Sanmina Corporation is an American electronics manufacturing services (EMS) provider headquartered in San Jose, California that serves original equipment manufacturers (OEMs) in communications and computer hardware fields. The firm has nearly 80 manufacturing sites, and is one of the world’s largest independent manufacturers of printed circuit boards and backplanes. As of 2022, it is ranked number 482 in the Fortune 500 list.

APG vs SANM — Head-to-Head

Bigger by revenue
SANM
SANM
1.5× larger
SANM
$3.2B
$2.1B
APG
Growing faster (revenue YoY)
SANM
SANM
+45.2% gap
SANM
59.0%
13.8%
APG
Higher net margin
APG
APG
3.0% more per $
APG
4.6%
1.5%
SANM
More free cash flow
APG
APG
$264.1M more FCF
APG
$356.0M
$91.9M
SANM
Faster 2-yr revenue CAGR
SANM
SANM
Annualised
SANM
31.9%
15.0%
APG

Income Statement — Q4 FY2025 vs Q1 FY2026

Metric
APG
APG
SANM
SANM
Revenue
$2.1B
$3.2B
Net Profit
$97.0M
$49.3M
Gross Margin
32.0%
7.6%
Operating Margin
7.7%
2.3%
Net Margin
4.6%
1.5%
Revenue YoY
13.8%
59.0%
Net Profit YoY
44.8%
-24.2%
EPS (diluted)
$-1.16
$0.89

Green = leading value per metric. Periods may differ when fiscal calendars don't align.

8-Quarter Revenue & Profit Trend

Side-by-side quarterly history. Quarters aligned by calendar period so offset fiscal years line up.

Revenue
APG
APG
SANM
SANM
Q4 25
$2.1B
$3.2B
Q3 25
$2.1B
$2.1B
Q2 25
$2.0B
$2.0B
Q1 25
$1.7B
$2.0B
Q4 24
$1.9B
$2.0B
Q3 24
$1.8B
$2.0B
Q2 24
$1.7B
$1.8B
Q1 24
$1.6B
$1.8B
Net Profit
APG
APG
SANM
SANM
Q4 25
$97.0M
$49.3M
Q3 25
$93.0M
$48.1M
Q2 25
$77.0M
$68.6M
Q1 25
$35.0M
$64.2M
Q4 24
$67.0M
$65.0M
Q3 24
$69.0M
$61.4M
Q2 24
$69.0M
$51.6M
Q1 24
$45.0M
$52.5M
Gross Margin
APG
APG
SANM
SANM
Q4 25
32.0%
7.6%
Q3 25
31.3%
9.1%
Q2 25
30.9%
8.9%
Q1 25
31.5%
8.9%
Q4 24
30.9%
8.4%
Q3 24
31.1%
8.5%
Q2 24
31.4%
8.3%
Q1 24
30.7%
8.4%
Operating Margin
APG
APG
SANM
SANM
Q4 25
7.7%
2.3%
Q3 25
7.8%
3.7%
Q2 25
7.2%
4.7%
Q1 25
4.9%
4.6%
Q4 24
6.2%
4.4%
Q3 24
7.8%
4.4%
Q2 24
7.3%
4.5%
Q1 24
6.2%
4.1%
Net Margin
APG
APG
SANM
SANM
Q4 25
4.6%
1.5%
Q3 25
4.5%
2.3%
Q2 25
3.9%
3.4%
Q1 25
2.0%
3.2%
Q4 24
3.6%
3.2%
Q3 24
3.8%
3.0%
Q2 24
4.0%
2.8%
Q1 24
2.8%
2.9%
EPS (diluted)
APG
APG
SANM
SANM
Q4 25
$-1.16
$0.89
Q3 25
$0.20
$0.88
Q2 25
$0.16
$1.26
Q1 25
$0.11
$1.16
Q4 24
$0.05
$1.16
Q3 24
$0.23
$1.09
Q2 24
$0.22
$0.91
Q1 24
$-1.34
$0.93

Balance Sheet & Financial Strength

Snapshot of each company's liquidity, leverage and book value from the latest quarter.

Metric
APG
APG
SANM
SANM
Cash + ST InvestmentsLiquidity on hand
$912.0M
$1.4B
Total DebtLower is stronger
$2.8B
$2.2B
Stockholders' EquityBook value
$3.4B
$2.7B
Total Assets
$8.9B
$9.8B
Debt / EquityLower = less leverage
0.81×
0.82×

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
APG
APG
SANM
SANM
Q4 25
$912.0M
$1.4B
Q3 25
$555.0M
$926.3M
Q2 25
$432.0M
$797.9M
Q1 25
$460.0M
$647.1M
Q4 24
$499.0M
$642.4M
Q3 24
$487.0M
$625.9M
Q2 24
$324.0M
$657.7M
Q1 24
$247.0M
$650.9M
Total Debt
APG
APG
SANM
SANM
Q4 25
$2.8B
$2.2B
Q3 25
$2.8B
$300.5M
Q2 25
$2.8B
Q1 25
$2.8B
Q4 24
$2.8B
Q3 24
$2.9B
Q2 24
$2.8B
Q1 24
$2.7B
Stockholders' Equity
APG
APG
SANM
SANM
Q4 25
$3.4B
$2.7B
Q3 25
$3.3B
$2.5B
Q2 25
$3.2B
$2.5B
Q1 25
$3.0B
$2.4B
Q4 24
$3.0B
$2.4B
Q3 24
$3.0B
$2.4B
Q2 24
$2.8B
$2.3B
Q1 24
$2.3B
$2.3B
Total Assets
APG
APG
SANM
SANM
Q4 25
$8.9B
$9.8B
Q3 25
$8.7B
$5.9B
Q2 25
$8.5B
$5.2B
Q1 25
$8.1B
$5.0B
Q4 24
$8.2B
$4.8B
Q3 24
$8.2B
$4.8B
Q2 24
$8.0B
$4.7B
Q1 24
$7.2B
$4.7B
Debt / Equity
APG
APG
SANM
SANM
Q4 25
0.81×
0.82×
Q3 25
0.84×
0.12×
Q2 25
0.87×
Q1 25
0.92×
Q4 24
0.93×
Q3 24
0.96×
Q2 24
1.00×
Q1 24
1.19×

Cash Flow & Capital Efficiency

How much cash each business actually produces after reinvestment. Cash flow is harder to manipulate than net income.

Metric
APG
APG
SANM
SANM
Operating Cash FlowLast quarter
$382.0M
$178.7M
Free Cash FlowOCF − Capex
$356.0M
$91.9M
FCF MarginFCF / Revenue
16.8%
2.9%
Capex IntensityCapex / Revenue
1.2%
2.7%
Cash ConversionOCF / Net Profit
3.94×
3.63×
TTM Free Cash FlowTrailing 4 quarters
$663.0M
$518.3M

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
APG
APG
SANM
SANM
Q4 25
$382.0M
$178.7M
Q3 25
$232.0M
$199.1M
Q2 25
$83.0M
$200.8M
Q1 25
$62.0M
$156.9M
Q4 24
$283.0M
$63.9M
Q3 24
$220.0M
$51.9M
Q2 24
$110.0M
$90.0M
Q1 24
$7.0M
$72.3M
Free Cash Flow
APG
APG
SANM
SANM
Q4 25
$356.0M
$91.9M
Q3 25
$201.0M
$136.6M
Q2 25
$56.0M
$163.7M
Q1 25
$50.0M
$126.1M
Q4 24
$265.0M
$46.9M
Q3 24
$198.0M
$27.2M
Q2 24
$88.0M
$67.2M
Q1 24
$-15.0M
$42.7M
FCF Margin
APG
APG
SANM
SANM
Q4 25
16.8%
2.9%
Q3 25
9.6%
6.5%
Q2 25
2.8%
8.0%
Q1 25
2.9%
6.4%
Q4 24
14.2%
2.3%
Q3 24
10.8%
1.4%
Q2 24
5.1%
3.7%
Q1 24
-0.9%
2.3%
Capex Intensity
APG
APG
SANM
SANM
Q4 25
1.2%
2.7%
Q3 25
1.5%
3.0%
Q2 25
1.4%
1.8%
Q1 25
0.7%
1.5%
Q4 24
1.0%
0.9%
Q3 24
1.2%
1.2%
Q2 24
1.3%
1.2%
Q1 24
1.4%
1.6%
Cash Conversion
APG
APG
SANM
SANM
Q4 25
3.94×
3.63×
Q3 25
2.49×
4.14×
Q2 25
1.08×
2.93×
Q1 25
1.77×
2.44×
Q4 24
4.22×
0.98×
Q3 24
3.19×
0.85×
Q2 24
1.59×
1.74×
Q1 24
0.16×
1.38×

Financial Flow Comparison

Revenue → gross profit → operating profit → net profit for each company.

Revenue Breakdown by Segment

APG
APG

Segment breakdown not available.

SANM
SANM

Industrial And Energy Medical Defense And Aerospace And Automotive And Transportation$1.2B38%
ZT Systems$1.1B34%
Other Segments CPS$434.3M14%
CPS Third Party Revenue$412.7M13%
Change In Accounting Method Accounted For As Change In Estimate$2.7M0%

Related Comparisons