INTEGRITY Cloudflare Docs

AI applications

Build and deploy AI applications on Cloudflare's global network with inference at the edge, vector databases, and model gateways. Workers AI runs Large Language Models (LLMs), text embeddings, image generation, and other models with pay-per-use pricing. AI Gateway proxies requests to OpenAI, Anthropic, and other providers with caching and unified analytics. Vectorize stores embeddings for Retrieval Augmented Generation (RAG) workflows.

AI applications can present unique infrastructure challenges, such as unpredictable inference costs, latency-sensitive user experiences, and the need to work with multiple model providers. Cloudflare provides a complete platform for building AI applications that are fast, cost-effective, and globally distributed.

Architecture patterns

Retrieval Augmented Generation (RAG)

Combine vector search with Large Language Model (LLM) inference to ground responses in your own data:

Multi-provider AI gateway

Use AI Gateway to route requests across providers while maintaining a single interface:

Real-time AI features

Deploy low-latency AI features directly at the edge:


Prerequisites

Create a new application

Use an existing application


Workers AI models

Browse available models for text generation, embeddings, image generation, and more.

AI Gateway providers

Connect to OpenAI, Anthropic, Google AI, and other providers through AI Gateway.