Sales Tax for AI Agents and Agentic Workflows: What Developers Need to Know (2025)
2025-10-22
As AI development shifts toward agentic workflows, many startups now build software that orchestrates or extends the capabilities of large language models from providers like OpenAI and Anthropic. These businesses, whether offering autonomous agents, workflow automation tools, or AI copilots, often fall within existing digital service tax frameworks.
Understanding where and how sales tax applies is essential for maintaining compliance as your user base grows across states.
This guide covers:
- When OpenAI and Anthropic charge sales tax on API usage
- When your own AI agent or automation service becomes taxable
- How to determine your registration and filing responsibilities
- Best practices for compliance as an AI-focused business
If you’d prefer to automate your registrations, filings, and bookkeeping, Afternoon.co helps SaaS and AI companies stay compliant in all 50 states.
The three layers of sales tax exposure for AI-driven businesses
From a compliance standpoint, an AI company typically operates across three layers of potential sales tax responsibility:
- Purchasing: paying for API access and infrastructure (e.g., OpenAI or Anthropic)
- Selling: charging customers for access to your own software or workflows
- Filing: reporting and remitting tax to states where you have nexus
Each layer is governed by separate rules and obligations.
1. Tax on API usage
Both OpenAI and Anthropic treat API usage as a taxable digital service in certain jurisdictions.
OpenAI API
- Pricing excludes sales tax by default
- Tax is applied based on your billing address
- A valid U.S. sales tax exemption certificate can remove the charge if applicable
- Reference: OpenAI Sales Tax FAQ
Anthropic API
- Tax is applied based on your account’s business address and tax ID
- Entering your business tax ID ensures correct VAT or sales tax treatment
- Reference: Anthropic – How Taxes Are Calculated
In short: taxes collected by API providers apply only to your vendor relationship with them, not to your end-customer transactions.
Get guidance tailored to your business
2. Tax on your AI agent or workflow sales
When customers pay to use your AI-driven software, whether for automation, data generation, or conversational interfaces, those transactions are typically considered taxable digital services under many state tax codes.
How states classify AI services
While most states haven’t created an “AI service” category, they apply existing frameworks for digital and cloud software:
| Category | Description | Taxability (Common States) |
|---|---|---|
| SaaS (Software as a Service) | Customers access software remotely (most AI agents fit here) | Taxable in 30+ states including NY, TX, WA, MA (see full guide) |
| Digital Automated Services | Software performs automated tasks or generates data | Taxable in WA |
| Data Processing or Information Services | AI models transform or analyze data | Taxable in TX and NY |
| Custom Services / Consulting | Human work with minimal automation | Often exempt |
If your platform takes user input, processes it through OpenAI or Anthropic’s models, and delivers an output through your own interface or workflow, most states treat that as SaaS or a digital automated service, both generally taxable categories.
Example scenario
- You pay OpenAI $1,000/month for API usage (taxed by OpenAI)
- You charge users $20/month for access to your AI workflow platform
- States like WA or TX require you to collect and remit sales tax on those user transactions
- In non-taxable states (like CA or FL), you may not charge tax but must still track sales for nexus thresholds
3. Registration, collection, and filing
Even though your API providers may collect sales tax from you, your business has its own obligations for sales to customers.
Step 1: Register where you have nexus
Economic nexus laws require registration once you exceed certain thresholds (commonly $100,000 in revenue or 200 transactions per year) within a state.
Your AI service revenue counts toward these thresholds regardless of upstream taxes.
Step 2: Collect the correct tax
Use a tax engine such as Stripe Tax, Avalara, or your accounting platform to determine rates by customer address.
Always display a separate “Sales Tax” line item on invoices or receipts.
Step 3: File and remit
File returns, monthly or quarterly depending on volume, in each state where you’re registered.
Maintain records of:
- Total sales by state
- Taxable vs. exempt revenue
- Tax collected and remitted
- Copies of exemption certificates (if applicable)
Common misconceptions
“OpenAI already collected tax from me.”
Incorrect: those charges apply to your API purchases, not to your customer-facing revenue.
“AI tools aren’t taxable because they’re new.”
False: most states apply existing SaaS or digital service rules to AI-driven offerings.
“I don’t need to worry until I’m large.”
Partially true: but many startups cross nexus thresholds quickly through online sales and subscriptions.
Quick reference: Where AI agents and workflows are likely taxable
| State | Classification | Taxable? | Notes |
|---|---|---|---|
| Washington | Digital Automated Service | Yes | Retail sales tax applies |
| Texas | Data Processing | Yes | 80% taxable under state rules |
| New York | Information Service / SaaS | Yes | Sales tax on remote software |
| California | SaaS (remote access) | No | Track for nexus only |
| Massachusetts | SaaS | Yes | 6.25% sales tax |
| Illinois (Chicago) | Cloud Service | Yes | Local cloud tax applies |
| Florida | SaaS | No | Exempt digital service |
| Pennsylvania | SaaS | Yes | Taxable digital product |
For a comprehensive state-by-state overview, see Afternoon’s SaaS Sales Tax Guide.
Best practices for AI companies
- Track where your customers are located to determine tax sourcing
- Keep API costs and customer revenue separate in bookkeeping
- Monitor thresholds and register as soon as you establish nexus
- Collect valid resale or exemption certificates from B2B clients
- Use automated tools or providers like Afternoon.co to manage compliance
- Review the 2025 SaaS Sales Tax Guide for evolving state rules
FAQs
Does OpenAI charge sales tax for API usage?
Yes, based on your billing address. You can request exemption if eligible.
Does Anthropic charge tax for API credits?
Yes. Tax is determined by your account location and business tax ID.
If OpenAI or Anthropic charge me tax, do I still need to collect from users?
Yes. Their taxes apply to your purchases, not your customer transactions.
Are AI agents considered SaaS?
Generally yes, if users access your software remotely, states categorize it as SaaS or a digital service.
What happens if I don’t register?
Unregistered sellers risk penalties, back taxes, and potential compliance issues during fundraising or acquisition.
References
Learn more about Afternoon
Seamlessly integrated financial stack, that handles your bookkeeping, taxes, and compliance.