Biggest changeThese unallocated or noncash costs include stock-based compensation expense, research and development costs, and general and administrative costs, such as legal and accounting costs. 72 Results of Operations The following table summarizes our consolidated statements of operations data (in thousands): Years Ended December 31, 2023 2022 2021 Revenue $ 2,225,012 $ 1,905,871 $ 1,541,889 Cost of revenue 431,105 408,549 339,404 Gross profit 1,793,907 1,497,322 1,202,485 Operating expenses: Sales and marketing 744,992 702,511 614,512 Research and development 404,624 359,679 387,487 General and administrative 524,325 596,333 611,532 Total operating expenses 1,673,941 1,658,523 1,613,531 Income (loss) from operations 119,966 (161,201) (411,046) Interest income 132,572 20,309 1,607 Interest expense (3,470) (4,058) (3,640) Other income (expense), net (11,977) (216,077) (75,415) Income (loss) before provision for income taxes 237,091 (361,027) (488,494) Provision for income taxes 19,716 10,067 31,885 Net income (loss) 217,375 (371,094) (520,379) Less: Net income attributable to noncontrolling interests 7,550 2,611 — Net income (loss) attributable to common stockholders $ 209,825 $ (373,705) $ (520,379) The following table sets forth the components of our consolidated statements of operations data as a percentage of revenue: Years Ended December 31, 2023 2022 2021 Revenue 100 % 100 % 100 % Cost of revenue 19 21 22 Gross margin 81 79 78 Operating expenses: Sales and marketing 34 37 40 Research and development 18 19 25 General and administrative 24 31 40 Total operating expenses 76 87 105 Income (loss) from operations 5 (8) (27) Interest income 6 1 — Interest expense — — — Other income (expense), net — (12) (5) Income (loss) before provision for income taxes 11 (19) (32) Provision for income taxes 1 1 2 Net income (loss) 10 (20) (34) Less: Net income attributable to noncontrolling interests 1 — — Net income (loss) attributable to common stockholders 9 % (20) % (34) % 73 Comparison of the Years Ended December 31, 2023 and 2022 Revenue Years Ended December 31, Change 2023 2022 Amount % Revenue: Government $ 1,222,215 $ 1,071,776 $ 150,439 14 % Commercial 1,002,797 834,095 168,702 20 % Total revenue $ 2,225,012 $ 1,905,871 $ 319,141 17 % Revenue increased by $319.1 million, or 17%, for the year ended December 31, 2023 compared to 2022.
Biggest changeThese noncash or unallocated costs include stock-based compensation expense, research and development costs, and general and administrative costs. 72 Table of Contents Results of Operations The following table summarizes our consolidated statements of operations data (in thousands): Years Ended December 31, 2024 2023 2022 Revenue $ 2,865,507 $ 2,225,012 $ 1,905,871 Cost of revenue 565,990 431,105 408,549 Gross profit 2,299,517 1,793,907 1,497,322 Operating expenses: Sales and marketing 887,755 744,992 702,511 Research and development 507,878 404,624 359,679 General and administrative 593,481 524,325 596,333 Total operating expenses 1,989,114 1,673,941 1,658,523 Income (loss) from operations 310,403 119,966 (161,201) Interest income 196,792 132,572 20,309 Other income (expense), net (18,022) (15,447) (220,135) Income (loss) before provision for income taxes 489,173 237,091 (361,027) Provision for income taxes 21,255 19,716 10,067 Net income (loss) 467,918 217,375 (371,094) Less: Net income attributable to noncontrolling interests 5,728 7,550 2,611 Net income (loss) attributable to common stockholders $ 462,190 $ 209,825 $ (373,705) The following table sets forth the components of our consolidated statements of operations data as a percentage of revenue: Years Ended December 31, 2024 2023 2022 Revenue 100 % 100 % 100 % Cost of revenue 20 19 21 Gross margin 80 81 79 Operating expenses: Sales and marketing 31 34 37 Research and development 18 18 19 General and administrative 20 24 31 Total operating expenses 69 76 87 Income (loss) from operations 11 5 (8) Interest income 7 6 1 Other income (expense), net (1) — (12) Income (loss) before provision for income taxes 17 11 (19) Provision for income taxes 1 1 1 Net income (loss) 16 10 (20) Less: Net income attributable to noncontrolling interests — 1 — Net income (loss) attributable to common stockholders 16 % 9 % (20) % 73 Table of Contents Comparison of the Years Ended December 31, 2024 and 2023 Revenue Years Ended December 31, Change 2024 2023 Amount % Revenue: Government $ 1,569,605 $ 1,222,215 $ 347,390 28 % Commercial 1,295,902 1,002,797 293,105 29 % Total revenue $ 2,865,507 $ 2,225,012 $ 640,495 29 % Revenue increased by $640.5 million, or 29%, for the year ended December 31, 2024 compared to 2023.
Total remaining deal value is the total remaining value of contracts that have been entered into with, or awarded by, our customers as of the end of the reporting period. Total remaining deal value presumes the exercise of all contract options available to our customers and no termination of contracts.
Total remaining deal value is the total remaining value, as of the end of the reporting period, of contracts that have been entered into with, or awarded by, our customers. Total remaining deal value presumes the exercise of all contract options available to our customers and no termination of contracts.
While the ongoing Russia-Ukraine and Israel conflicts are still evolving and the outcomes remain highly uncertain, we do not expect that resulting challenging macroeconomic conditions will have a material impact on our business or results of operations.
While the ongoing Russia-Ukraine and Israel conflicts are still evolving and the outcomes remain highly uncertain, we do not expect that the resulting challenging macroeconomic conditions will have a material impact on our business or results of operations.
Provision for Income Taxes Provision for income taxes consists of income taxes related to foreign and state jurisdictions in which we conduct business and withholding taxes. Net Income (Loss) Attributable to Noncontrolling Interests Net income (loss) attributable to noncontrolling interests represents the share of income (loss) that is not attributable to the Company.
Provision for Income Taxes Provision for income taxes consists of income taxes related to foreign and state jurisdictions in which we conduct business and withholding taxes. Net Income Attributable to Noncontrolling Interests Net income attributable to noncontrolling interests represents the share of income (loss) that is not attributable to the Company.
Sales and marketing costs primarily include salaries, stock-based compensation expense, commissions, and benefits for our sales force and personnel involved in sales functions, executing on pilots, including bootcamps, and customer growth activities; as well as third-party cloud hosting services for our pilots, marketing and sales event-related costs, travel costs, and allocated overhead.
Sales and marketing costs primarily include salaries, stock-based compensation expense, variable compensation, including commissions, and benefits for our sales force and personnel involved in sales functions, executing on pilots, including bootcamps, and customer growth activities; as well as third-party cloud hosting services for our pilots, marketing and sales event-related costs, travel costs, and allocated overhead.
Palantir Cloud Our Palantir Cloud subscriptions grant customers the right to access the software functionality in a hosted environment controlled by Palantir and are sold together with stand-ready O&M services, as further described below. We agree to provide 70 continuous access to our hosted software throughout the contract term.
Palantir Cloud Our Palantir Cloud subscriptions grant customers the right to access the software functionality in a hosted environment controlled by Palantir and are sold together with stand-ready O&M services, as further described below. We agree to provide continuous access to our hosted software throughout the contract term.
We encourage investors and others to review our business, results of operations, and financial information in their 69 entirety, not to rely on any single financial measure, and to view these non-GAAP measures in conjunction with the most directly comparable GAAP financial measures.
We encourage investors and others to review our business, results of operations, and financial information in their entirety, not to rely on any single financial measure, and to view these non-GAAP measures in conjunction with the most directly comparable GAAP financial measures.
Because of this requirement, we have concluded that the software subscriptions and O&M services, which together we refer to as our On-Premises Software, are highly interdependent and interrelated and represent a single distinct performance obligation within the context of the contract. Revenue is generally recognized over the contract term on a ratable basis.
Because of this requirement, we have concluded that the software licenses and O&M services, which together we refer to as our On-Premises Software, are highly interdependent and interrelated and represent a single distinct performance obligation within the context of the contract. Revenue is generally recognized over the contract term on a ratable basis.
For the year ended December 31, 2023, such impacts were not material to our financial position or results of operations. Customer Impacts Current macroeconomic conditions have impacted, and may continue to adversely impact, our customers’ businesses, particularly our early- and growth-stage customers.
For the year ended December 31, 2024, such impacts were not material to our financial position or results of operations. Customer Impacts Current macroeconomic conditions have impacted, and may continue to adversely impact, our customers’ businesses, particularly our early- and growth-stage customers.
Cost of Revenue Cost of revenue primarily includes salaries, stock-based compensation expense, and benefits for personnel involved in performing O&M and professional services, as well as field-service representatives, third-party cloud hosting services, hardware costs, travel costs, allocated overhead, and other direct costs.
Cost of Revenue Cost of revenue primarily includes salaries, stock-based compensation expense, and benefits for personnel involved in performing O&M and professional services, as well as subcontractor expenses, field-service representatives, third-party cloud hosting services, hardware costs, travel costs, allocated overhead, and other direct costs.
We concluded that the promise to provide a software subscription is highly interdependent and interrelated with the promise to provide O&M services and such promises are not distinct within the context of our contracts and are accounted for as a single performance obligation for our On-Premises Software.
We concluded that the promise to provide a software license is highly interdependent and interrelated with the promise to provide O&M services and such promises are not distinct within the context of our contracts and are accounted for as a single performance obligation for our On-Premises Software.
Additionally, certain of our U.S. and non-U.S. subsidiaries may hold monetary assets and liabilities in currencies other than their functional currency (primarily the JPY, Euro, and GBP), which could subject our results of operations and cash flows to adverse fluctuations due to changes in such foreign currency exchange rates as compared to the U.S. dollar.
Additionally, certain of our U.S. and non-U.S. subsidiaries may hold monetary assets and 68 Table of Contents liabilities in currencies other than their functional currency (primarily the JPY, Euro, and GBP), which could subject our results of operations and cash flows to adverse fluctuations due to changes in such foreign currency exchange rates as compared to the U.S. dollar.
Contribution margin, both across our business and segments, is intended to capture how much we have earned from customers after accounting for the costs associated with deploying and operating our software, as well as any sales and marketing expenses involved in acquiring and expanding our partnerships with those customers, including allocated overhead.
Contribution margin, both across our business and segments, is intended to capture how much we have earned from customers after accounting for the costs associated with deploying and operating our software, as well as any sales and marketing expenses involved in acquiring and expanding our partnerships with customers or potential customers, including allocated overhead.
Because of this requirement, we 78 have concluded that the software subscriptions and O&M services, which together we refer to as our On-Premises Software, are highly interdependent and interrelated and represent a single distinct performance obligation within the context of the contract. Revenue is generally recognized over the contract term on a ratable basis.
Because of this requirement, we have concluded that the software licenses and O&M services, which together we refer to as our On-Premises Software, are highly interdependent and interrelated and represent a single distinct performance obligation within the context of the contract. Revenue is generally recognized over the contract term on a ratable basis.
On-Premises Software Sales of our software subscriptions grant customers the right to use functional intellectual property, either on their internal hardware infrastructure or on their own cloud instance, over the contractual term and are also sold together with stand-ready O&M services.
On-Premises Software Sales of our software licenses, primarily term licenses, grant customers the right to use functional intellectual property, either on their internal hardware infrastructure or on their own cloud instance, over the contractual term and are also sold together with stand-ready O&M services.
Research and development costs primarily include salaries, stock-based compensation expense, and benefits for personnel involved in performing the activities to develop and refine our platforms and products, as well as third-party cloud hosting services and other IT-related costs, travel costs, and allocated overhead. Research and development costs are expensed as incurred.
Research and development costs primarily include salaries, stock-based compensation expense, and benefits for personnel involved in performing the activities to develop and refine our platforms and products, as well as third-party cloud hosting services and other IT-related costs, travel costs, and allocated overhead.
For more information about contribution margin, including the limitations of this measure, and a reconciliation to loss from operations, see the section titled “Non-GAAP Reconciliations” below.
For more information about contribution margin, including the limitations of this measure, and a reconciliation to income from operations, see the section titled “Non-GAAP Reconciliations” below.
We exclude stock-based compensation, which is a noncash expense, from these non-GAAP financial measures because we believe that excluding this item provides meaningful supplemental information regarding operational performance and provides useful information to investors and others in understanding and evaluating our operating results in the same manner as our management team.
We exclude stock-based compensation, which is a noncash expense, from these non-GAAP financial measures because we believe that excluding this item provides meaningful supplemental information regarding operational performance and provides useful information to investors and others in understanding and evaluating our operating results in 69 Table of Contents the same manner as our management team.
On-Premises Software Sales of our software subscriptions grant customers the right to use functional intellectual property, either on their internal hardware infrastructure or on their own cloud instance, over the contractual term and are sold together with stand-ready O&M services.
On-Premises Software Sales of our software licenses, primarily term licenses, grant customers the right to use functional intellectual property, either on their internal hardware infrastructure or on their own cloud instance, over the contractual term and are also sold together with stand-ready O&M services.
We expect that general and administrative expenses will increase in absolute dollars as we hire additional personnel and enhance our systems, processes, and controls to support the growth in our business as well as our continuing compliance and reporting requirements as a public company. 71 Interest Income Interest income consists primarily of interest income earned on our cash, cash equivalents, U.S. treasury securities, and restricted cash balances.
We expect that general and administrative expenses will increase in absolute dollars as we hire additional personnel and enhance our systems, processes, and controls to support the growth in our business as well as our continuing compliance and reporting requirements as a public company. Interest Income Interest income consists primarily of interest income earned on our cash, cash equivalents, U.S.
(2) The contractual commitment amounts under operating leases in the table above are primarily related to facility and equipment leases. Operating lease commitments are reflected net of $102.4 million of sublease income from tenants in certain of our leased facilities. Refer to Note 7.
(2) The contractual commitment amounts under operating leases in the table above are primarily related to facility and equipment leases. Operating lease commitments are reflected net of $86.2 million of sublease income from tenants in certain of our leased facilities and $68.8 million of imputed interest. Refer to Note 7.
As of December 31, 2023, the total remaining deal value of the contracts, as defined above, was $3.9 billion, up 5% from December 31, 2022, when our total remaining deal value of such contracts was $3.7 billion.
As of December 31, 2024, the total remaining deal value of the contracts, as defined above, was $5.4 billion, up 40% from December 31, 2023, when our total remaining deal value of such contracts was $3.9 billion.
However, the majority of our contracts are subject to termination provisions, including for convenience, and there can be no guarantee that contracts are not terminated or that contract options will be exercised.
However, many of our contracts are subject to termination provisions, including 67 Table of Contents for convenience, and there can be no guarantee that contracts are not terminated or that contract options will be exercised.
The portion of customer deposits that is anticipated to be recognized as revenue during the succeeding twelve-month period is recorded as customer deposits and the remaining portion is recorded as customer deposits, noncurrent. Our deferred revenue and deferred revenue, noncurrent as of December 31, 2023 were $246.9 million and $28.0 million, respectively.
The portion of customer deposits that is anticipated to be recognized as revenue during the succeeding twelve-month period is recorded as customer deposits and the remaining portion is recorded as customer deposits, noncurrent. Our deferred revenue and deferred revenue, noncurrent as of December 31, 2024 were $259.6 million and $39.9 million, respectively.
We plan to continue to invest in personnel to support our research and development efforts. As a result, we expect that research and development expenses will increase in absolute dollars for the foreseeable future as we continue to invest to support these activities.
Research and development costs are expensed as incurred. 71 Table of Contents We plan to continue to invest in personnel to support our research and development efforts. As a result, we expect that research and development expenses will increase in absolute dollars for the foreseeable future as we continue to invest to support these activities.
Professional Services Our professional services support the customers’ use of the software platforms and include, as needed, on-demand user support, user-interface configuration, training, and ongoing ontology and data modeling support. Professional services contracts typically include the provision of on-demand professional services for the duration of the contractual term.
Professional Services Our professional services support the customers’ use of the software platforms and include, as needed, on-demand user support, user-interface configuration, training, and ongoing ontology and data modeling support.
When calculating the total remaining deal value of government contracts, we do not include government contracts known as IDIQ contracts, totaling $4.1 billion, as of December 31, 2023, that we have been awarded, but where the funding of such contracts has not yet been determined. The funding of these contracts is not guaranteed.
When calculating the total remaining deal value of government contracts, we do not include government contracts known as IDIQ contracts, totaling $3.7 billion, as of December 31, 2024, that we have also been awarded, but where the funding of such contracts has not yet been determined or guaranteed.
However, the general strengthening of the U.S. dollar relative to other major foreign currencies (primarily the Euro and GBP) has had, and could in the future have, an unfavorable impact on our revenues and expenses from certain non-U.S. customers or vendors whose contracts are denominated in currencies other than U.S. dollars.
However, when the U.S. dollar strengthens compared to other currencies (primarily the Euro and GBP), it has had, and could in the future have, an unfavorable impact on our revenues and expenses from certain non-U.S. customers or vendors whose contracts are denominated in currencies other than the U.S. dollar.
Further, we may enter into future arrangements to acquire or invest in businesses, products, services, strategic partnerships, and technologies; additionally, we may repurchase shares of our Class A common stock from time to time under our Share Repurchase Program. As such, we may be required to seek additional equity or debt financing.
Further, we may enter into future arrangements to acquire or invest in businesses, products, services, strategic partnerships, and technologies; additionally, we have, and may in the future, repurchase shares of our Class A common stock from time to time under our Share Repurchase Program.
Deferred revenue represents billings under noncancelable contracts before the related product or service is transferred to the customer. Customer deposits consist of amounts billed and/or paid in advance of the start of the contractual term or for anticipated revenue generating activities for the portion of a contract term that is subject to cancellation by our customers.
Customer deposits consist of amounts billed and/or paid for anticipated revenue generating activities in advance of the start of the contractual term or for the portion of a contract term that is subject to cancellation by our customers.
Of our total remaining deal value, as of December 31, 2023, the total remaining deal value of the contracts that we entered into with commercial customers, including existing contractual obligations and available contractual options, as defined above, was $2.1 billion, up 7% from December 31, 2022, when the total remaining deal value of such contracts was $2.0 billion. 67 As of December 31, 2023, the total remaining deal value of the contracts that we had been awarded by government agencies in the United States and allied countries around the world, including existing contractual obligations and contractual options available to those government agencies, was $1.8 billion, up 4% from December 31, 2022, when the total value of such contracts was $1.7 billion.
As of December 31, 2024, the total remaining deal value of the contracts that we had been awarded by government agencies in the United States and allied countries around the world, including existing contractual obligations and contractual options available to those government agencies, was $2.3 billion, up 30% from December 31, 2023, when the total value of such contracts was $1.8 billion.
Financing Activities Net cash provided by financing activities was $218.8 million and $86.0 million for the year ended December 31, 2023 and 2022, respectively, each of which primarily consisted of proceeds from the exercise of common stock options.
Treasury securities compared to the prior year. Financing Activities Net cash provided by financing activities was $463.4 million and $218.8 million for the year ended December 31, 2024 and 2023, respectively, each of which primarily consisted of proceeds from the exercise of common stock options.
Interest Expense Interest expense consists primarily of interest expense and commitment fees incurred under our credit facility. Other Income (Expense), Net Other income (expense), net consists primarily of foreign currency exchange gains and losses and realized and unrealized losses from equity securities. The year ended December 31, 2022 also included a gain from a step acquisition.
Treasury securities, and restricted cash balances. Other Income (Expense), Net Other income (expense), net consists primarily of realized and unrealized losses from equity securities and foreign currency exchange gains and losses. The year ended December 31, 2022 also included a gain from a step acquisition.
The increase was primarily due to increases of $17.2 million in payroll and other payroll-related costs driven by higher average headcount, $9.6 million in third-party cloud hosting services and other IT costs, and $9.2 million in stock-based compensation expense and related expenses. For additional information, see the section titled “Stock-Based Compensation” below.
The increase was primarily due to increases of $111.4 million in stock-based compensation expense and related expenses, $13.9 million in third-party cloud hosting services, and $12.9 million in payroll and other payroll-related costs. 74 Table of Contents For additional information related to stock-based compensation expense, see the section titled “Stock-Based Compensation” below.
Gross Profit and Gross Margin, Excluding Stock-Based Compensation The following table provides a reconciliation of gross profit and gross margin, excluding stock-based compensation for the years ended December 31, 2023 and 2022 (in thousands, except percentages): Years Ended December 31, 2023 2022 Gross profit $ 1,793,907 $ 1,497,322 Add: stock-based compensation 35,995 44,061 Gross profit, excluding stock-based compensation $ 1,829,902 $ 1,541,383 Gross margin, excluding stock-based compensation 82 % 81 % Adjusted Income from Operations The following table provides a reconciliation of adjusted income from operations, which excludes stock-based compensation and related employer payroll taxes for the years ended December 31, 2023 and 2022 (in thousands): Years Ended December 31, 2023 2022 Income (loss) from operations $ 119,966 $ (161,201) Add: stock-based compensation 475,903 564,798 Add: employer payroll taxes related to stock-based compensation 36,907 17,156 Adjusted income from operations $ 632,776 $ 420,753 Components of Results of Operations Revenue We generate revenue from the sale of subscriptions to access our software platforms in our hosted environment along with ongoing O&M services (“Palantir Cloud”), software subscriptions in our customers’ environments with ongoing O&M services (“On-Premises Software”), and professional services.
Gross Profit and Gross Margin, Excluding Stock-Based Compensation The following table provides a reconciliation of gross profit and gross margin, excluding stock-based compensation for the years ended December 31, 2024 and 2023 (in thousands, except percentages): Years Ended December 31, 2024 2023 Gross profit $ 2,299,517 $ 1,793,907 Add: stock-based compensation 69,065 35,995 Gross profit, excluding stock-based compensation $ 2,368,582 $ 1,829,902 Gross margin, excluding stock-based compensation 83 % 82 % Adjusted Income from Operations The following table provides a reconciliation of adjusted income from operations, which excludes stock-based compensation and related employer payroll taxes for the years ended December 31, 2024 and 2023 (in thousands): Years Ended December 31, 2024 2023 Income from operations $ 310,403 $ 119,966 Add: stock-based compensation 691,638 475,903 Add: employer payroll taxes related to stock-based compensation 126,021 36,907 Adjusted income from operations $ 1,128,062 $ 632,776 Adjusted operating margin 39 % 28 % 70 Table of Contents Components of Results of Operations Revenue We generate revenue from the sale of subscriptions to access our software platforms in our hosted environment along with ongoing O&M services (“Palantir Cloud”), software subscriptions in our customers’ environments with ongoing O&M services (“On-Premises Software”), and professional services.
Interest Income Years Ended December 31, Change 2023 2022 Amount Interest income $ 132,572 $ 20,309 $ 112,263 Interest income increased by $112.3 million for the year ended December 31, 2023 compared to 2022 primarily due to higher U.S. interest rates and increases in our interest-bearing cash and cash equivalents, and our investments in short-term U.S. treasury securities.
Interest Income Years Ended December 31, Change 2024 2023 Amount Interest income $ 196,792 $ 132,572 $ 64,220 Interest income increased by $64.2 million for the year ended December 31, 2024 compared to 2023 primarily due to an increase in our interest-bearing cash, cash equivalents, and investments in short-term U.S. Treasury securities.
These services are typically coterminous with a Palantir Cloud subscription or the On-Premises Software. Professional services are on-demand, whereby we perform services throughout the contract period; therefore, the revenue is recognized over the contractual term.
Professional services contracts typically include the provision of on-demand professional services for the duration of the contractual term, which may be coterminous or non-coterminous with a Palantir Cloud subscription or the On-Premises Software. Professional services are on-demand, whereby we perform services throughout the service period; therefore, the revenue is recognized over the related term.
Contribution Margin The following table provides a reconciliation of contribution margin for the years ended December 31, 2023 and 2022 (in thousands, except percentages): Years Ended December 31, 2023 2022 Income (loss) from operations $ 119,966 $ (161,201) Add: Research and development expenses (1) 306,560 265,808 General and administrative expenses (1) 343,126 365,768 Total stock-based compensation expense 475,903 564,798 Total contribution $ 1,245,555 $ 1,035,173 Contribution margin 56 % 54 % ———— (1) Excludes stock-based compensation.
Contribution Margin The following table provides a reconciliation of contribution margin for the years ended December 31, 2024 and 2023 (in thousands, except percentages): Years Ended December 31, 2024 2023 Income from operations $ 310,403 $ 119,966 Add: Research and development expenses (1) 342,813 306,560 General and administrative expenses (1) 375,094 343,126 Total stock-based compensation expense 691,638 475,903 Total contribution $ 1,719,948 $ 1,245,555 Contribution margin 60 % 56 % ———— (1) Excludes stock-based compensation.
Significant Accounting Policies in our consolidated financial statements included elsewhere in this Annual Report on Form 10-K. Revenue Recognition We generate revenue from the sale of subscriptions to access our software platforms via Palantir Cloud and On-Premises Software, with ongoing O&M services and professional services.
Revenue Recognition We generate revenue from the sale of subscriptions to access our software platforms via Palantir Cloud and On-Premises Software, with ongoing O&M services and professional services.
We believe that the accounting policies described below involve a significant degree of judgment and complexity. Accordingly, we believe these are the most critical to aid in fully understanding and evaluating our consolidated financial condition and results of operations. For further information, see Note 2.
Accordingly, we believe these are the most critical to aid in fully understanding and evaluating our consolidated financial condition and results of operations. For further information, see Note 2. Significant Accounting Policies in our consolidated financial statements included elsewhere in this Annual Report on Form 10-K.
Stockholders’ Equity in our consolidated financial statements included elsewhere in this Annual Report on Form 10-K. 76 The following table summarizes our cash flows for the periods indicated (in thousands): Years Ended December 31, 2023 2022 2021 Net cash provided by (used in): Operating activities $ 712,183 $ 223,737 $ 333,851 Investing activities (2,711,180) (45,427) (397,912) Financing activities 218,839 85,996 306,747 Effect of foreign exchange on cash, cash equivalents, and restricted cash 2,930 (3,885) (3,918) Net increase in cash, cash equivalents, and restricted cash $ (1,777,228) $ 260,421 $ 238,768 Operating Activities Net cash provided by operating activities was $712.2 million and $223.7 million for the year ended December 31, 2023 and 2022, respectively.
The following table summarizes our cash flows for the periods indicated (in thousands): Years Ended December 31, 2024 2023 2022 Net cash provided by (used in): Operating activities $ 1,153,865 $ 712,183 $ 223,737 Investing activities (340,655) (2,711,180) (45,427) Financing activities 463,364 218,839 85,996 Effect of foreign exchange on cash, cash equivalents, and restricted cash (6,745) 2,930 (3,885) Net increase (decrease) in cash, cash equivalents, and restricted cash $ 1,269,829 $ (1,777,228) $ 260,421 76 Table of Contents Operating Activities Net cash provided by operating activities was $1.2 billion and $712.2 million for the year ended December 31, 2024 and 2023, respectively.
Revenue from U.S. government customers was $921.2 million for the year ended December 31, 2023 compared to $826.3 million for the same period in 2022. Revenue from commercial customers increased by $168.7 million, or 20%, for the year ended December 31, 2023 compared to 2022.
Revenue from government customers increased by $347.4 million, or 28%, for the year ended December 31, 2024 compared to 2023. Of the increase, $280.7 million was from government customers existing as of December 31, 2023. Revenue from U.S. government customers was $1.2 billion for the year ended December 31, 2024 compared to $921.2 million for the same period in 2023.
For additional information, see the section titled “Stock-Based Compensation” below. Research and Development Research and development expenses increased by $44.9 million, or 12%, for the year ended December 31, 2023 compared to 2022.
For additional information related to stock-based compensation expense, see the section titled “Stock-Based Compensation” below. General and Administrative General and administrative expenses increased by $69.2 million, or 13%, for the year ended December 31, 2024 compared to 2023.
Our customer deposits and customer deposits, noncurrent as of December 31, 2023 were $209.8 million and $1.5 million, respectively. Our deferred revenue and deferred revenue, noncurrent as of December 31, 2022 were $183.4 million and $10.0 million, respectively. Our customer deposits and customer deposits, noncurrent as of December 31, 2022 were $142.0 million and $3.9 million, respectively.
Our customer deposits and customer deposits, noncurrent as of December 31, 2024 were $265.3 million and $1.7 million, respectively. Our deferred revenue and deferred revenue, noncurrent as of December 31, 2023 were $246.9 million and $28.0 million, respectively.
GAAP) that was reported in 2022. For additional information see Note 4. Investments and Fair Value Measurements and Note 14. Business Combinations in our consolidated financial statements included elsewhere in this Annual Report on Form 10-K.
Investments and Fair Value Measurements in our consolidated financial statements included elsewhere in this Annual Report on Form 10-K.
Professional Services Our professional services support the customers’ use of the software and include, as needed, on-demand user support, user-interface configuration, training, and ongoing ontology and data modeling support. Professional services contracts typically include the provision of on-demand professional services for the duration of the contractual term. These services are typically coterminous with a Palantir Cloud or On-Premises Software subscriptions.
Professional Services Our professional services support the customers’ use of the software and include, as needed, on-demand user support, user-interface configuration, training, and ongoing ontology and data modeling support.
The increase was primarily driven by timing of payments to vendors and timing of the receipt of payments from our customers, as well as an increase in interest income. Investing Activities Net cash used in investing activities was $2.7 billion and $45.4 million for the year ended December 31, 2023 and 2022, respectively.
The increase was primarily driven by the growth of our business and timing of payments to vendors. Investing Activities Net cash used in investing activities was $340.7 million and $2.7 billion for the year ended December 31, 2024 and 2023, respectively. The decrease in cash used in investing activities was primarily due to increased proceeds from maturities of short-term U.S.
The Company maintains a full valuation allowance against its U.S. federal and state, and certain foreign deferred tax assets. For additional information see Note 11. Income Taxes in our consolidated financial statements included elsewhere in this Annual Report on Form 10-K. Liquidity and Capital Resources We generated positive cash flow from operations for the year ended December 31, 2023.
For additional information see Note 11. Income Taxes in our consolidated financial statements included elsewhere in this Annual Report on Form 10-K. Liquidity and Capital Resources We generated positive cash flow from operations for the year ended December 31, 2024. We had cash, cash equivalents, and short-term U.S. Treasury securities totaling $5.2 billion available as of December 31, 2024.
We had cash, cash equivalents, and short-term U.S. treasury securities totaling $3.7 billion available as of December 31, 2023. We believe that cash flows generated from operations, cash, cash equivalents, marketable securities, available funds, and access to financing sources, including our credit facility, will be sufficient to meet our anticipated operating cash needs for at least the next twelve months.
We believe that cash flows generated from operations, available funds, and access to financing sources, including our undrawn credit facility, will be sufficient to meet our anticipated operating cash needs for at least the next twelve months. However, any projections of future cash needs and cash flows are subject to substantial uncertainty.
As a result, current macroeconomic conditions have impacted, and may continue to impact, our ability to realize the full value of our commercial contracts with 68 such early- or growth-stage customers. For additional information, see Note 4. Investments and Fair Value Measurements in the consolidated financial statements included elsewhere in this Annual Report on Form 10-K.
As a result, current macroeconomic conditions have impacted, and may continue to impact, our ability to realize the full value of our commercial contracts with such early- or growth-stage customers.
Cost of Revenue and Gross Profit Years Ended December 31, Change 2023 2022 Amount % Cost of revenue $ 431,105 $ 408,549 $ 22,556 6 % Gross profit 1,793,907 1,497,322 296,585 20 % Gross margin 81 % 79 % Cost of revenue for the year ended December 31, 2023 increased by $22.6 million, or 6%, compared to 2022.
Cost of Revenue and Gross Profit Years Ended December 31, Change 2024 2023 Amount % Cost of revenue $ 565,990 $ 431,105 $ 134,885 31 % Gross profit 2,299,517 1,793,907 505,610 28 % Gross margin 80 % 81 % Cost of revenue for the year ended December 31, 2024 increased by $134.9 million, or 31%, compared to 2023.
We base our estimates on historical experience and on various other assumptions that we believe to be reasonable under the circumstances. Actual results could differ significantly from our estimates. To the extent that there are differences between our estimates and actual results, our future financial statement presentation, financial condition, results of operations, and cash flows will be affected.
To the extent that there are differences between our estimates and actual results, our future financial statement presentation, financial condition, results of operations, and cash flows will be affected. We believe that the accounting policies described below involve a significant degree of judgment and complexity.
In the event that additional financing is required from outside sources, we may not be able to raise it on terms acceptable to us or at all. If additional funds are not available to us on acceptable terms, or at all, our business, financial condition, and results of operations could be adversely affected.
As such, we may seek additional equity or debt financing on an as needed or opportunistic basis. In the event that additional financing is required from outside sources, we may not be able to raise it on terms acceptable to us or at all.
Deferred revenue represents billings under noncancelable contracts before the related product or service is transferred to the customer.
Deferred revenue represents billings under noncancelable contracts before the related product or service is transferred to the customer. The portion of deferred revenue that is anticipated to be recognized as revenue during the succeeding twelve-month period is recorded as deferred revenue and the remaining portion is recorded as deferred revenue, noncurrent.
The increases were partially offset by a decrease of $5.9 million in stock-based compensation expense and related expenses, net. For additional information, see the section titled “Stock-Based Compensation” below. Our gross margin for the year ended December 31, 2023 increased by 2% compared to 2022, as revenue growth outpaced costs of revenue.
Our gross margin for the year ended December 31, 2024 decreased from 81% for the same period in 2023 to 80% as a result of the growth of cost of revenue slightly outpacing revenue growth. For additional information related to stock-based compensation expense, see the section titled “Stock-Based Compensation” below.
Revenue from government customers increased by $150.4 million, or 14%, for the year ended December 31, 2023 compared to 2022. Of the increase, $129.4 million was from existing government customers as of December 31, 2022. Generally, increases in revenue from our existing customers are a result of expanded use of our products and services within their organizations.
Revenue from U.S. commercial customers was $702.3 million for the year ended December 31, 2024 compared to $457.1 million for the same period in 2023, a 54% increase. Generally, increases in revenue from our existing customers are related to the increased adoption of our products and services within their organizations. For additional information on Strategic Commercial Contracts, see Note 4.
For more information, see Note 6. Debt in our consolidated financial statements included elsewhere in this Annual Report on Form 10-K.
As of December 31, 2024, we had no outstanding debt balances and additional available and undrawn revolving commitments of $500.0 million under our credit facility. For more information, see Note 6. Debt in our consolidated financial statements included elsewhere in this Annual Report on Form 10-K.
Contractual Obligations and Commitments The following table summarizes our contractual obligations and commitments as of December 31, 2023 (in thousands): Payments Due by Period Total Less than 1 year 1-3 years 3-5 years More than 5 years Noncancelable purchase commitments (1) $ 2,082,992 $ 131,342 $ 367,400 $ 481,150 $ 1,103,100 Operating lease commitments, net of sublease income amounts (2) 174,399 50,827 69,016 23,201 31,355 Total contractual obligations and commitments $ 2,257,391 $ 182,169 $ 436,416 $ 504,351 $ 1,134,455 ————— (1) Noncancelable purchase commitments primarily relate to purchase commitments for third-party cloud hosting services and represents only contracts which are enforceable and legally binding.
Contractual Obligations and Commitments The following table summarizes our contractual obligations and commitments as of December 31, 2024 (in thousands): Payments Due by Period Total Less than 1 year 1-3 years 3-5 years More than 5 years Noncancelable purchase commitments (1) $ 2,001,637 $ 125,242 $ 419,909 $ 549,986 $ 906,500 Operating lease commitments, net of sublease income amounts (2) 221,829 46,726 67,535 21,522 86,046 Total contractual obligations and commitments $ 2,223,466 $ 171,968 $ 487,444 $ 571,508 $ 992,546 ————— (1) Noncancelable purchase commitments primarily relate to purchase commitments for third-party cloud hosting services and represents only contracts which are enforceable and legally binding.
Operating Expenses Years Ended December 31, Change 2023 2022 Amount % Sales and marketing $ 744,992 $ 702,511 $ 42,481 6 % Research and development 404,624 359,679 44,945 12 % General and administrative 524,325 596,333 (72,008) (12) % Total operating expenses $ 1,673,941 $ 1,658,523 $ 15,418 1 % Sales and Marketing Sales and marketing expenses increased by $42.5 million, or 6%, for the year ended December 31, 2023 compared to 2022.
Operating Expenses Years Ended December 31, Change 2024 2023 Amount % Sales and marketing $ 887,755 $ 744,992 $ 142,763 19 % Research and development 507,878 404,624 103,254 26 % General and administrative 593,481 524,325 69,156 13 % Total operating expenses $ 1,989,114 $ 1,673,941 $ 315,173 19 % Sales and Marketing Sales and marketing expenses increased by $142.8 million, or 19%, for the year ended December 31, 2024 compared to 2023.
Provision for Income Taxes Years Ended December 31, Change 2023 2022 Amount Provision for income taxes $ 19,716 $ 10,067 $ 9,649 Provision for income taxes increased by $9.6 million for the year ended December 31, 2023 compared to 2022 primarily due to the increase in foreign income taxes as the result of higher foreign taxable income and higher foreign withholding taxes in the current year.
Other Income (Expense), Net Years Ended December 31, Change 2024 2023 Amount Other income (expense), net $ (18,022) $ (15,447) $ (2,575) Other income (expense), net changed by $2.6 million for the year ended December 31, 2024 compared to 2023 primarily due to an increase in net realized and unrealized losses from our shares held in equity securities. 75 Table of Contents Provision for Income Taxes Years Ended December 31, Change 2024 2023 Amount Provision for income taxes $ 21,255 $ 19,716 $ 1,539 Provision for income taxes increased by $1.5 million for the year ended December 31, 2024 compared to 2023 primarily due to the increased foreign tax expense as the result of higher foreign taxable income and withholding taxes.
Stock-Based Compensation Years Ended December 31, Change 2023 2022 Amount % Cost of revenue $ 35,995 $ 44,061 $ (8,066) (18) % Sales and marketing 160,645 196,301 (35,656) (18) % Research and development 98,064 93,871 4,193 4 % General and administrative 181,199 230,565 (49,366) (21) % Total stock-based compensation expense $ 475,903 $ 564,798 $ (88,895) (16) % Stock-based compensation expenses decreased by $88.9 million, or 16%, for the year ended December 31, 2023 compared to 2022.
Stock-Based Compensation Years Ended December 31, Change 2024 2023 Amount % Cost of revenue $ 69,065 $ 35,995 $ 33,070 92 % Sales and marketing 239,121 160,645 78,476 49 % Research and development 165,065 98,064 67,001 68 % General and administrative 218,387 181,199 37,188 21 % Total stock-based compensation expense $ 691,638 $ 475,903 $ 215,735 45 % Stock-based compensation expenses increased by $215.7 million, or 45%, for the year ended December 31, 2024 compared to 2023.
Critical Accounting Policies and Estimates Our consolidated financial statements and the accompanying notes thereto included elsewhere in this Annual Report on Form 10-K are prepared in accordance with GAAP. The preparation of consolidated financial statements requires us to make estimates and assumptions that affect the reported amounts of assets, liabilities, revenue, costs and expenses, and related disclosures.
Our customer deposits and customer deposits, noncurrent as of December 31, 2023 were $209.8 million and $1.5 million, respectively. 77 Table of Contents Critical Accounting Policies and Estimates Our consolidated financial statements and the accompanying notes thereto included elsewhere in this Annual Report on Form 10-K are prepared in accordance with GAAP.
General and Administrative General and administrative expenses decreased by $72.0 million, or 12%, for the year ended December 31, 2023 compared to 2022. The decrease was primarily due to decreases of $46.2 million in stock-based compensation expense and related expenses, net, $17.9 million in professional services, and $11.3 million in travel costs.
Research and Development Research and development expenses increased by $103.3 million, or 26%, for the year ended December 31, 2024 compared to 2023. The increase was primarily due to increases of $87.4 million in stock-based compensation expense and related expenses and $17.5 million in third-party cloud hosting services.
However, any projections of future cash needs and cash flows are subject to substantial uncertainty. We have historically generated significant losses from our operations as reflected in our consolidated balance sheets and while we have generated income from operations and positive cash flows from operations in the year ended December 31, 2023, the amounts may fluctuate for the foreseeable future.
While we have generated income from operations and positive cash flows from operations in the year ended December 31, 2024, the amounts may fluctuate for the foreseeable future. As of December 31, 2024, our accumulated deficit balance was $5.2 billion, and our principal sources of liquidity were cash, cash equivalents, and short-term U.S. Treasury securities totaling $5.2 billion.
This decrease was partially offset by an increase of $15.0 million in payroll and other payroll-related costs driven by higher average headcount. For additional information see the section titled “Stock-Based Compensation” below.
The increase was primarily due to increases of $63.7 million in stock-based compensation expense and related expenses and $11.6 million in travel costs. For additional information related to stock-based compensation expense, see the section titled “Stock-Based Compensation” below.
As such, we determined our contracts do not generally contain a significant financing component. Areas of Judgment and Estimation Our contracts with customers can include multiple promises to transfer goods or services to the customer.
Professional services are on-demand, whereby we perform services throughout the service period; therefore, the revenue is recognized over the related term. 78 Table of Contents Areas of Judgment and Estimation Our contracts with customers can include multiple promises to transfer goods or services to the customer.
Revenue from U.S. commercial customers was $457.1 million for the year ended December 31, 2023 compared to $335.1 million for the same period in 2022.
Revenue from commercial customers increased by $293.1 million, or 29%, for the year ended December 31, 2024 compared to 2023. Of the increase, $190.7 million was from commercial customers existing as of December 31, 2023, including a decrease of $35.0 million of revenue from Strategic Commercial Contracts.
The increase was primarily due to increases of $53.6 million in payroll and other payroll-related costs driven by higher average headcount, $20.2 million in travel and office-related costs, and $10.2 million in professional services. The increases were 74 partially offset by a decrease of $26.2 million in stock-based compensation expense and related expenses, net.
The increase was primarily due to increases of $56.6 million in subcontractor expenses, $42.3 million in stock-based compensation expense and related expenses, and $37.4 million in third-party cloud hosting services.