Air itself as well as the new Air plugin for the IDEs and the AI assistant support ChatGPT subscriptions, though you may have to disable JetBrains as a provider so that it's not billed against that. (It's weirdly called logging ot of JetBrains, though you still remain logged in to JetBrains for all other purposes.)
Anthropic is a different story, but I think it may still be possible via the Claude ACP agent (JetBrains' support of ACP is generally pretty good; I use it with anothe harness for open weight models regularly).