We raised $5.1M for long-running agents.
vs

OpenAI vs Cloudflare Workers AI

OpenAI sells closed frontier models with hosted tools. Cloudflare Workers AI sells open models, gpt-oss included, as a serverless call from a Worker.

By The Subconscious Team · Updated

OpenAI vs Cloudflare Workers AI: key differences

The model question comes first. OpenAI's lineup runs from GPT-6 Astra at $10 in and $50 out per million tokens down to GPT-5.6 Luna at $0.20 in and $1.20 out, all with a 1.05M context window, though prompts over 272K tokens bill input at 2x. Cloudflare serves only open models, 50+ of them, led by DeepSeek V4 Pro at $1.32 in and $3.96 out with the full 1M context, GLM 5.3 and Kimi K2.7 Code. The two meet on gpt-oss. OpenAI publishes the weights under Apache 2.0, and Cloudflare serves gpt-oss 120B at $0.35 in and $0.75 out, with a Responses endpoint for it. Teams that want OpenAI's own open model without self-hosting can run it on Cloudflare.

OpenAI wins on capability and tooling. GPT-6 Astra posts frontier results on computer use and coding, the Responses API bundles web search, file search, code execution and MCP, and the Agents SDK adds handoffs, guardrails and tracing. Cached input at 10% of list and Batch at half price stack, and the same models run on Azure OpenAI and Bedrock. Cloudflare wins on cost floor and placement. 10,000 Neurons a day are free, inference runs next to Workers code and storage, and OpenAI-compatible endpoints make migration a base URL change. AI Gateway can front third-party providers too, so a team can route frontier calls to OpenAI and cheap open-model calls to Workers AI behind one set of logs and fallbacks.

What OpenAI and Cloudflare Workers AI do

OpenAI

OpenAI runs the most widely adopted closed-model API. Its September 2026 lineup has GPT-6 Astra at the top for computer use, coding and long agentic runs, priced at $10 in and $50 out per million tokens. Below it sits the GPT-5.6 family: Sol for hard professional work, Terra as the balanced default, and Luna for high-volume jobs at $0.20 in and $1.20 out. All of them carry a 1.05M token context window with up to 128K output.

Example models: GPT-6 Astra, GPT-5.6 Terra

Full OpenAI profile

Cloudflare Workers AI

Workers AI is the serverless GPU inference service of Cloudflare, which was founded in 2009. It launched in September 2023 and reached general availability in April 2024. Models run on GPUs inside Cloudflare's own network and are called from a Worker through an AI binding or over REST, including OpenAI-compatible Chat Completions and Embeddings endpoints plus a Responses endpoint for gpt-oss. The catalog lists 50+ open models. Since Kimi K2.5 arrived in March 2026 it has carried frontier-scale LLMs: Kimi K2.6 and K2.7 Code, GLM 5.2 and 5.3, DeepSeek V4 Pro and Flash, gpt-oss 120B and 20B, Qwen 3.8 27B and Llama 4 Scout. DeepSeek V4, added August 14, 2026, was the first to offer the full 1,048,576 token context.

Example models: DeepSeek V4 Pro, GLM 5.3

Full Cloudflare Workers AI profile

Should you choose OpenAI or Cloudflare Workers AI?

OpenAI

Choose OpenAI for

  • Closed frontier quality on computer use with GPT-6 Astra
  • Agents built on hosted search, file and code tools
  • Enterprise buyers who want the models on Azure or Bedrock

Cloudflare Workers AI

Choose Cloudflare Workers AI for

  • Hosted gpt-oss 120B at $0.35 in without self-hosting
  • Long prompts on DeepSeek V4 Pro's 1M context
  • Apps already running on Workers

OpenAI vs Cloudflare Workers AI at a glance

AttributeOpenAICloudflare Workers AI
Model accessClosed, plus open gpt-ossOpen weights
Flagship modelsGPT-6 Astra, GPT-5.6 Sol, Terra, LunaDeepSeek V4 Pro, GLM 5.3, Kimi K2.7 Code, gpt-oss 120B
SpeedFast mode: up to 2.5x at 2x priceUnknown
Price$0.20–$10 in, $1.20–$50 out per 1M$0.011 per 1K Neurons; 10K free daily
CustomizationN/ABYO LoRA on small models (beta)
DeploymentAPI, Azure OpenAI, BedrockServerless on Cloudflare network
Long context1.05M; 2x input past 272K1M on DeepSeek V4; 262K on Kimi

Frequently asked questions

What is the difference between OpenAI and Cloudflare Workers AI?

OpenAI sells closed frontier models with hosted tools. Cloudflare Workers AI sells open models, gpt-oss included, as a serverless call from a Worker.

When should I choose OpenAI over Cloudflare Workers AI?

Closed frontier quality on computer use with GPT-6 Astra; Agents built on hosted search, file and code tools; Enterprise buyers who want the models on Azure or Bedrock.

When should I choose Cloudflare Workers AI over OpenAI?

Hosted gpt-oss 120B at $0.35 in without self-hosting; Long prompts on DeepSeek V4 Pro's 1M context; Apps already running on Workers.

Is OpenAI or Cloudflare Workers AI cheaper?

OpenAI: $0.20–$10 in, $1.20–$50 out per 1M. Cloudflare Workers AI: $0.011 per 1K Neurons; 10K free daily. The cheaper choice depends on the model and workload.

Which has more context, OpenAI or Cloudflare Workers AI?

OpenAI: 1.05M; 2x input past 272K. Cloudflare Workers AI: 1M on DeepSeek V4; 262K on Kimi.

Related comparisons

Running long-horizon agents?

If your agents run past 200K tokens, compare both against Subconscious. Our inference stack treats a long-horizon trace as the primary workload, so speed, cost, and accuracy hold up deep into the trace.