This node provides the authentication for all OpenAI models. It allows you to select the credentials that contain a valid OpenAI API key in their password field (the username is ignored). Credentials can be set on the workflow level (right-click the workflow in the KNIME Explorer and click "Workflow Credentials") or created inside the workflow e.g. with the Credentials Configuration node and fed into this node via a flow variable.
When this node is executed, it validates the OpenAI API key by sending a request to the https://api.openai.com/v1/models endpoint. This request does not consume any tokens.
If you do not have an OpenAI API key yet, you can generate one at OpenAI .