QUESTION

Can you deduct OpenAI, Gemini, and Claude API costs for a website?

18
18 upvotes0 downvotes
Asked May 31, 2026
Ask another question
Answer84% confidence

Generally, yes — if the API calls are used for a legitimate business website, those costs are often deductible as ordinary and necessary business expenses under U.S. tax rules.

How they’re usually treated depends on what the website is for:

  • Active business website: API charges are commonly deducted as operating expenses in the year they’re incurred, often booked under software, IT, or web services.
  • Pre-launch / startup phase: If you’re building the site before the business is active, some of those costs may be startup expenses. Startup deductions are limited, and any remaining amount is generally amortized.
  • Development / R&D: If the work is part of developing proprietary software or a custom technical product, different tax rules may apply, and you may need to amortize rather than deduct immediately.

A few practical rules:

  1. It must be for a real business purpose with a profit motive.
  2. Keep invoices and usage records.
  3. Separate personal use from business use and only deduct the business portion.

Because tax treatment depends on your facts and current law, it’s smart to have a CPA or tax professional review how you’re using OpenAI, Gemini, or Claude before filing.