Cloudflare API
Cloudflare Workers AI runs open-weight models on Cloudflare's global GPU network through an OpenAI-compatible API.
Data & Privacy
HQ:US
Safety identifier:Not forwarded
API Training:No
Prompt Logging:No
Retention:0 days
GDPR:Compliant
SOC2:Type II Certified
ISO 27001:Certified
Available Models
DeepSeek V4.1 Flash 1017
deepseek
deepseek-v4.1-flash-1017Streaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Cloudflare
Context: 1.0M
Input
$0.3
/M tokens
Cached
$0.006
/M tokens
Output
$1.2
/M tokens
GLM-5.3 Flash
zai
glm-5.3-flashStreaming
Vision
Tools
Reasoning
JSON Output
JSON Schema
Cloudflare
Context: 1.0M
Input
$0.15
/M tokens
Cached
$0.03
/M tokens
Output
$0.5
/M tokens
GLM-5.3
zai
glm-5.3Streaming
Tools
Reasoning
JSON Output
JSON Schema
Cloudflare
Context: 1.0M
Input
$1.4
/M tokens
Cached
$0.26
/M tokens
Output
$4.4
/M tokens
DeepSeek V4 Flash
deepseek
deepseek-v4-flashStreaming
Tools
Reasoning
JSON Output
JSON Schema
Cloudflare
Context: 1.0M
Input
$0.44
/M tokens
Cached
$0.014
/M tokens
Output
$1.32
/M tokens
DeepSeek V4 Pro
deepseek
deepseek-v4-proStreaming
Tools
Reasoning
JSON Output
JSON Schema
Cloudflare
Context: 1.0M
Input
$1.32
/M tokens
Cached
$0.044
/M tokens
Output
$3.96
/M tokens
Create an LLM Gateway API key and point any OpenAI-compatible SDK at https://api.llmgateway.io/v1. Set the model to deepseek-v4.1-flash-1017. On pay-as-you-go keys, cloudflare/deepseek-v4.1-flash-1017 pins every request to Cloudflare; DevPass coding plans do not support provider pinning. You do not need a separate Cloudflare account or SDK.