> For the complete documentation index, see [llms.txt](https://docs.roboflow.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboflow.com/changelog/explore-by-month/june-2025/use-a-managed-openai-api-key-in-workflows.md).

# Use a Managed OpenAI API Key in Workflows

<figure><img src="/files/FOoMkXUWdoVDJuzP15uW" alt=""><figcaption></figcaption></figure>

You can now use a Roboflow-managed OpenAI API Key in your Workflows.

When you use the Roboflow-managed key, you will be billed based on usage according to our [Credits-based billing](https://roboflow.com/credits).

To use a Roboflow-managed key, set the "Api Key" field in a OpenAI Workflow block to "Roboflow Managed API Key".
