How actions in gpt are charged?

Hello, I have a GPT with actions, my question is:

if I do some querys with actions to a database with information of files with data, actions and responses from files are charged?, or only if chatgpt needs to generate a response from the action?, how is it handled?.

Thank you.