How Washington DC Buys AI

Contracts are where AI policy becomes binding. Seven years of federal purchases show who buys, who sells, and how rarely anyone pays to check that the AI works.

By Taylor Lee

Executive orders and agency memos say how the government should use artificial intelligence. Contracts say how it actually does. A contract fixes what is being bought, from whom, for how much, and what the seller owes in return.

Since the start of fiscal year 2020, federal agencies have committed $2.44 billion in contracts whose descriptions mention artificial intelligence or machine learning. Annual spending has more than doubled since 2022.

AI contract spending by fiscal year

Obligations on contracts that mention artificial intelligence or machine learning, in millions of dollars

Source: USAspending.gov. Fiscal years run Oct. 1 to Sept. 30. Number of contracts with spending that year shown under each bar.

The number of contracts peaked in 2024 at 542 and has fallen since, while the money kept rising. Agencies are making fewer, larger AI purchases.

The Pentagon buys most of it

The Department of Defense accounts for 70 percent of the spending. The Air Force and the Army alone account for more than half, about $1.33 billion between them. Every civilian agency combined spent less than half as much as the Pentagon.

Who buys

AI contract obligations by department, fiscal years 2020 to 2026, in millions of dollars

Source: USAspending.gov

The model makers barely appear

The companies that build frontier AI models are almost absent from these contracts. Among 1,685 AI contracts, none went directly to OpenAI, Anthropic or Google. Amazon Web Services and Microsoft appear a handful of times, for cloud-hosted AI tools at the Defense Information Systems Agency.

Instead the money flows to integrators and resellers. When the Treasury Department set up its ChatGPT licenses in September 2026, the contract went to Carahsoft, a government software reseller. The ten largest recipients took 28 percent of all AI spending.

Who sells

The ten largest recipients of AI contract obligations, fiscal years 2020 to 2026, in millions of dollars

Source: USAspending.gov

How often anyone pays to check

A contract is the government's main chance to demand proof that an AI system works as promised. So I searched every contract description for the language of checking: testing and evaluation, verification, validation, assurance, red teaming, explainability, trustworthiness, bias, safety and risk management.

Only 85 of the 1,685 contracts use any of these words, about 1 in 20. Each square below is one contract.

Mentions testing, evaluation or assurance (85)Does not (1,600)

Source: USAspending.gov contract descriptions. Contracts ordered by size, largest first.

Most of the checking that does get bought happens at the Pentagon, which holds 46 of the 85 contracts. The largest are Army contracts for testing and evaluating AI systems. Civilian agencies have bought a few programs of their own.

Advanced test and evaluation for the exponential pace of AI and machine learning progress
$41.4M
Morsecorp for the Department of the Army
Framework for AI trustworthiness in human-machine delegation
$12.8M
CACI for the Department of the Air Force
Trustworthy artificial intelligence program support
$2.6M
Olympus Alpha for the Department of Veterans Affairs
Machine learning security attack workbench for red teaming of autonomous assets
$1.8M
HiddenLayer for the Department of the Air Force
AI standards development and Risk Management Framework support services
$1.8M
GBS Solutions for the National Institute of Standards and Technology

Generative AI arrives, quietly

Contracts that mention generative AI, large language models or chatbots first appear in 2023. There are 64 of them so far, worth about $57 million in total, a small share of the whole.

They show where agencies are trying the technology first: an Internal Revenue Service pilot of language models for taxpayer support, a chatbot for a Health Resources and Services Administration data warehouse, and an ambient medical scribe for Air Force readiness exams.

Taxpayer support services, piloting artificial intelligence and large language models
$6.0M
ATI Government Solutions for the Internal Revenue Service in 2024
Enterprise generative AI model units
$4.0M
Carahsoft for the Treasury in 2026
Generative AI ambient medical scribe for readiness exams
$1.3M
T3W Business Solutions for the Department of the Air Force in 2025

What this means

The government's AI spending is growing, concentrated in defense, and routed through intermediaries. Checking is rarely a line item. Only about 1 in 20 contracts mentions testing, evaluation or assurance at all, and most of those are at the Pentagon.

That matters because procurement is the one point where the government holds leverage over a seller. Requirements for evaluation, documentation and incident reporting can be written into a contract before it is signed. Once the system is deployed, that leverage is mostly gone.

A description is not the whole contract. Many agreements include testing requirements in documents that USAspending does not publish. But the descriptions are the public record of what the government says it is buying, and in that record, checking AI is rare.

How this was made

Data comes from the USAspending.gov API. It covers contracts (award types A to D) with actions between Oct. 1, 2019, and Sept. 30, 2026, whose records match the keywords "artificial intelligence" or "machine learning." Spending by year, department and recipient uses obligations within that window.

The count of 1,685 contracts and the keyword analysis use each award's description and its total value. "Testing, evaluation or assurance" means a description mentions test and evaluation, verification, validation, assurance, red teaming, explainability, trust or trustworthiness, bias, safety, auditability or risk management. "Generative AI" means it mentions generative AI, large language models, LLMs, chatbots, GPT or foundation models.

These figures are a lower bound. Keyword matching misses AI purchases not described as AI, and it can include contracts that mention AI only in passing. Grants and other transaction agreements are not included, and some prominent AI deals use other transaction authority.