Cloudflare · Capability
Cloudflare AI and ML
AI and machine learning capabilities combining Workers AI model inference, AI Gateway for observability and control, and Vectorize for vector search. Used by AI/ML engineers building intelligent applications at the edge.
What You Can Do
POST
Create chat completion
— Create a chat completion.
/v1/chat-completions
POST
Create embeddings
— Generate text embeddings.
/v1/embeddings
GET
List ai gateways
— List AI gateways.
/v1/ai-gateways
GET
List vectorize indexes
— List Vectorize indexes.
/v1/vectorize-indexes
MCP Tools
ai-execute-model
Run an AI model.
read-only
ai-create-chat-completion
Create a chat completion.
read-only
ai-create-embeddings
Generate text embeddings.
read-only
ai-create-text-completion
Create a text completion.
read-only
ai-create-response
Create an AI response.
read-only
gateway-list-gateways
List AI Gateway instances.
read-only
gateway-create-gateway
Create an AI Gateway.
gateway-get-gateway
Get AI Gateway details.
read-only
gateway-list-logs
List AI Gateway logs.
read-only
gateway-delete-gateway
Delete an AI Gateway.
idempotent
vectorize-list-indexes
List Vectorize indexes.
read-only
vectorize-create-index
Create a Vectorize index.
vectorize-query-vectors
Perform similarity query.
read-only
vectorize-insert-vectors
Insert vectors into an index.
vectorize-delete-index
Delete a Vectorize index.
idempotent
APIs Used
cloudflare-workers-ai
cloudflare-ai-gateway
cloudflare-vectorize