Yes, the content filter and Moderation endpoint are both free for OpenAI API users, and usage of these tools doesn't count towards your monthly usage limits.
The moderation endpoint is free to use when monitoring the inputs and outputs of OpenAI APIs. We currently disallow other use cases.
To learn more see our Moderation API guide.