Afternoon logoAfternoon

Are AI agents and API services subject to sales tax?

Updated 2026-09-24

AI agents and API services do not have one nationwide sales tax treatment. The answer depends on what the customer buys, where the sale or use occurs, and whether an exemption applies.

A token price, subscription, or success fee describes how you charge. It does not, by itself, determine the tax category.

Separate API purchases, customer sales, and filings

An AI company can have tax work on both sides of its business:

ActivityWhat to review
Buying model or infrastructure accessVendor invoice, location, tax charged, and any valid exemption
Selling your own productYour customer's purchase, location, product classification, and exemptions
Reporting taxYour registration, collection, filing, and payment duties

Tax that an API provider charges you does not pay tax due on your own customer sales. It also does not establish that those sales are taxable. Assess each transaction separately.

OpenAI and Anthropic purchases

If eligible, submit a request through OpenAI's US sales-tax exemption process. Use the current seller details, identify the API organization or ChatGPT account, and provide the required evidence. Approval generally applies to future invoices; ask separately about specific past charges.

For Claude and Claude API purchases, use the Anthropic tax exemption guide. A business tax ID and an approved exemption are different. Keep the vendor's decision and invoice record with your purchase documents.

Start with the product, not the AI label

Write a plain description of the rights and work you sell.

OfferingQuestions to answer
Hosted AI softwareDoes the customer access a standard software tool?
Data or information APIDoes the buyer purchase software access, information, or processing?
Managed workflowWhat work do you promise, and who performs it?
Custom developmentWhat software or work product transfers to the customer?
Mixed contractWhich parts are distinct, and what must the customer buy together?

The same model can support several products with different tax treatment. Using AI internally to provide a service does not automatically make the sale a software license.

Why a state-by-state answer needs detail

Consider these examples from official state guidance:

  • Ohio distinguishes covered business-use data processing and information services from other services.
  • Tennessee taxes remote software access but lists services outside that category.
  • Maryland distinguishes qualifying enterprise software use from other SaaS use.

Those examples show why “SaaS is taxable” is often too broad for a mixed AI product. They are not a complete state tax matrix. Use the SaaS sales tax guide to find the other state guides and plan the wider review.

For more detail on these examples, read the guides to Ohio software services, Tennessee remote software, and Maryland enterprise software.

Does outcome-based pricing make the sale a service?

Not necessarily. Changing the price unit from tokens to completed tasks does not automatically change the customer's rights or the underlying product.

If you change both the promise and the delivery model, review the new facts. Keep the contract, product description, and tax conclusion aligned.

What facts should you collect?

Record the seller's business locations, customer locations and use, product features, delivery method, and any exemption evidence. Identify the party that collects for each channel.

For enterprise contracts, ask where users access the service and what evidence supports any location allocation. Do not infer the location of all users from a headquarters address alone.

How should you handle prepaid credits?

Review when the applicable law taxes the sale and how the credits work. Do not assume every jurisdiction taxes only the moment of consumption or only the purchase.

Keep the credit purchase, usage, refund, and invoice records linked. Avoid taxing the same sale twice because the billing system treats a purchase and a later balance deduction as unrelated events.

The prepaid credit guide covers those records and controls.

Do tax IDs make customers exempt?

No general rule makes every business tax ID an exemption. Check the jurisdiction, purchase, and required evidence.

If you are buying Claude or API access and need an exemption review, use the Anthropic tax exemption guide. Your vendor purchase and your own customer sale need separate decisions.

Example: an AI workflow business

Suppose a company buys $1,000 of API service and sells $20 monthly subscriptions to its own workflow product. These are illustrative amounts.

First, record the vendor's invoice and any tax on the API purchase. Next, review the customer subscriptions by product and location. If the company must collect tax on a subscription, calculate it for that customer sale; do not subtract the tax paid to the API vendor as if it settled the customer's tax.

If a customer purchase qualifies for an exemption, keep its evidence. If the sale is not taxable, retain the reason. Both conclusions are separate from the provider's treatment of the API bill.

From registration to filing

  1. Review physical presence and each state's current remote-seller test. Use the state sales tax guide to find the relevant rules; one national sales threshold will not cover every case.
  2. Confirm the registration and collection start date before enabling a tax setting.
  3. Check product codes, location evidence, and exemptions on a sample invoice. Make the tax treatment clear to the buyer under the applicable invoice rules.
  4. Reconcile sales, credits, tax, and marketplace-collected amounts for the assigned filing period.
  5. File and pay through the appropriate account. Save the return, payment confirmation, and any adjustments.

Keep API purchase costs separate from customer revenue and tax collected. Our AI token and credit accounting guide explains the buyer and seller records.

How to put the decision into billing

Create a written tax policy for each product, with its supporting authority and effective date. Map it to the billing catalog, then test taxable, exempt, refunded, and mixed-contract transactions.

Use the sales tax software comparison to evaluate how a tool applies those rules and carries the result into filings. Recheck the policy when you change the product or enter a new market.

Talk to a sales tax expert

Get guidance tailored to your business