# AI Gateway

AI Gateway nodes let you call AI providers from the Flow Editor using a consistent input/output format. These nodes work with [AI Routes](https://docs.contextual.io/documentation-and-resources/components-and-data/ai-routes) and [AI Connections](https://docs.contextual.io/documentation-and-resources/components-and-data/connections/types-of-connections/ai-connections) to manage providers, models, and failover.

## Where to Find These Nodes

In the Flow Editor, within the left palette under **AI Gateway** category.

## Node Reference

* [AI Generate](https://docs.contextual.io/documentation-and-resources/components-and-data/flows/node-reference/ai-gateway/ai-generate) - Send requests to AI Gateway and receive structured responses.
* [AI Tool](https://docs.contextual.io/documentation-and-resources/components-and-data/flows/node-reference/ai-gateway/ai-tool) - Define a tool that the model can call from AI Generate.
* [AI Tool Response](https://docs.contextual.io/documentation-and-resources/components-and-data/flows/node-reference/ai-gateway/ai-tool-response) - Return tool results back into the AI Generate request.
