OpenAI declined to comment on whether the firm’s services for the department would replace work previously done by Anthropic.