billflare.

linhan_dev: when self-hosting OpenSEO on Cloudflare, the Workers Free per-Workflow outbound-request cap stops a full-site checkup at about 40 页

In an 𝕏 article on 2026-11-25, 𝕏 user linhan_dev compares two self-hosting paths for OpenSEO, Docker and Cloudflare. The author writes that a full-site checkup on the Cloudflare free plan stops just after crawling about 40 页, because a single Workflow on the Workers free tier allows at most 50 次 outbound requests, leaving approximately 40 页 after robots.txt and the sitemap are subtracted, and it may report Too many subrequests. The author says upgrading to Workers Paid at $5/月 (the cap the author writes is 100 万次) or switching to Docker Compose solves it. Official Workers Paid pricing states that it includes 10 million requests and 30 million CPU-ms per month, which is not the same wording as the author's 100 万次.

Products
Workers
Source
Author experiencelinhan_dev 𝕏 article
Author
LIN HAN

Key points

  • On 2026-11-25, author linhan_dev (LIN HAN) published an 𝕏 article, "How to choose self-hosted OpenSEO at 0 订阅费? A beginner-friendly 5-step Docker and Cloudflare tutorial that can even save the 50 美元 top-up threshold." The body of the article is an OpenSEO deployment guide; what relates directly to Cloudflare billing is one of the common self-hosting pitfalls the author lists. Some command blocks in the body are missing from the API response, so article completeness cannot be marked complete.
  • The author asks: "Why does a full-site checkup on the Cloudflare free plan stop just after crawling 40 页?" The author's explanation is: limited by the Workers free-tier quota, a single Workflow allows at most 50 次 outbound requests, and it stops at about 40 页 after robots.txt and the sitemap are subtracted; AI visibility also reports Too many subrequests. The author says upgrading to Workers Paid at $5/月 (the cap the author writes is 100 万次) or switching to Docker Compose solves it completely.
  • The author's figures and the official pricing need to be written separately here. $5 per month matches the official Workers Paid starting price. The "cap of 100 万次" the author writes is the author's original wording and cannot be rewritten as an official limit. The official 2026-11-25 changelog and the Workers pricing page state that Workers Paid includes 10 million requests and 30 million CPU milliseconds per month, plus usage-based billing. This entry does not present the official figures as the author's own words, and does not present the author's 100 万次 as an official rule.
  • The author also mentions that Cloudflare users who want stronger protection can set AUTH_MODE to cloudflare_access, so Cloudflare edge nodes check the email allowlist before allowing access. This is a product-feature description, not a billing term.

Original sources

  1. Published

    Original post

    Read on 𝕏

    In an 𝕏 article on 2026-11-25, 𝕏 user linhan_dev compares two self-hosting paths for OpenSEO, Docker and Cloudflare. The author writes that a full-site checkup on the Cloudflare free plan stops just after crawling about 40 页, because a single Workflow on the Workers free tier allows at most 50 次 outbound requests, leaving approximately 40 页 after robots.txt and the sitemap are subtracted, and it may report Too many subrequests. The author says upgrading to Workers Paid at $5/月 (the cap the author writes is 100 万次) or switching to Docker Compose solves it. Official Workers Paid pricing states that it includes 10 million requests and 30 million CPU-ms per month, which is not the same wording as the author's 100 万次.

    LIN HAN

    @linhan_dev · Original 𝕏 post

    https://t.co/4m3ZBxLZU9
    Read originalArchived

    LIN HAN · @linhan_dev

    This archive does not contain the complete text.

    0 订阅费自部署 OpenSEO 怎么选?Docker 和 Cloudflare 保姆级 5 步教程,连 50 美元充值门槛都能省

    如果你已经试过 OpenSEO,觉得好用但不想每月付 10 美元套餐费、也不想承担托管版 28% 的数据加价,或者想把项目数据留在自己手里、甚至在源码上二次开发,直接把 OpenSEO 自部署起来是最干脆的做法。很多人一直卡在最后一步:听说底层 DataForSEO 最低要充 50 美元,还没用多少就先押一笔钱,舍不得下手。现在官方已经原生支持 treg.to 令牌,可以绕开 50 美元起充门槛按次扣费,几条命令就能把完整系统跑在自己电脑、VPS 或 Cloudflare 上。 先讲清楚“0 订阅费”的边界以及三条自部署路线怎么挑,再带大家按 Docker 和 Cloudflare 两条主流路径走完 5 步上线,最后汇总 6 个最容易踩的部署坑。 一、什么时候值得自部署,3 条路线和 2 条数据通道怎么选 先把账和边界算明白:OpenSEO 代码按 MIT 协议开源,自部署后软件本身和 OpenSEO 月费都是 0 元,也没有托管版那 28% 的服务加价,所有 SEO 查询直接按底层数据源原价结算(大约比托管版省五分之一);但只要你要查搜索量、排名和外链,依然需要向底层数据商按次付费,另外自己部署还需要承担服务器或 Cloudflare 账号的资源前提。 官方目前提供三条自部署路线,按你手头已有资源选就行: 路线一:Docker Compose(推荐给有电脑或 VPS 的人)。官方提供预构建镜像 ghcr.io/every-app/open-seo-standalone,几秒就能拉起,体检上限直接给到 10,000 页(含 JS 渲染 1,000 页),而且 deploy/standalone/compose.yaml 不依赖仓库其他文件,可以直接粘贴进 Coolify、Portainer 或 Dokploy 面板里运行。前提是给 Docker 分配至少 4 GiB 内存。 路线二:Cloudflare 自托管(推荐给不想管服务器的人)。一条命令自动在你的 Cloudflare 账号里建好 D1 数据库、KV、R2 和 Workers,天然带公网 HTTPS 访问,多设备协同最省心。Cloudflare Workers 免费层就能跑起来,但免费层单次 Workflow 最多发 50 个外部请求,导致全站体检大约爬到 40 页就会停,AI 可见度检查也可能触发子请求上限;想跑满 10,000 页完整体检和 AI 可见度,需要开每月 5 美元的 Workers Paid 套餐。 路线三:EveryApp 托管网关。EveryApp 就是 OpenSEO 背后的团队做的个人开源应用网关,跑在你自己的 Cloudflare 5 美元账号上,三条命令(npm install -g everyapp、everyapp setup --domain 你的域名、everyapp install https://github.com/every-app/open-seo)装完,还能在网关层直接设消费上限防止超支。如果你同时想自托管 OpenCRM、OpenAnalytics 等多款工具,选这条最省事。 选完托管位置,再选 SEO 数据源通道。OpenSEO 支持两种密钥,二选一填进环境变量即可: 直连 DataForSEO(DATAFORSEO_API_KEY):新账号送 1 美元体验金,最低充值 50 美元,永不按月清零。适合长期自用或追踪几百上千个关键词的人。 通过 treg 绕开 50 美元起充(TREG_API_TOKEN):treg.to 是第三方按次转发代理,按 DataForSEO 同价单次扣费,新号同样送 1 美元体验金,没有 50 美元最低充值要求。它覆盖目前 OpenSEO 调用的全部接口,非常适合先低成本试跑自部署。两者同时配置时,OpenSEO 默认优先走 DATAFORSEO_API_KEY。 二、5 步完成自部署上线(Docker / Cloudflare 双路线) 下面按从拿密钥到上线安全加固的顺序走完 5 步,第 2 步和第 3 步你只需按自己的路线二选一执行。 第 1 步:拿到 SEO 数据源密钥 走 DataForSEO:登录 app.dataforseo.com/api-access,直接复制页面上标注为 Base64 的那串凭据(就是你邮箱和 API 密码按 email:password 编码后的结果),留着填给 DATAFORSEO_API_KEY。 走 treg:在 treg.to 创建一个 Team 并复制 API Token,留着填给 TREG_API_TOKEN。 做完这一步,你手里就有了能直连真实搜索数据库的通行证。 第 2 步(路线 A):用 Docker Compose 在本地或 VPS 上拉起 确保机器装好 Docker Engine 或 Docker Desktop(含 Compose)且内存不少于 4 GiB,在终端依次执行: 打开 deploy/standalone/.env,只改三个必填项:把 STORAGE_SECRET_KEY 换成一段随机长密钥(运行 openssl rand -hex 32 生成),把第 1 步拿到的密钥填进 DATAFORSEO_API_KEY 或 TREG_API_TOKEN;本地电脑用保持 BETTER_AUTH_URL=http://localhost:3001,上线公网改成你准备好的 https:// 域名。保存后启动: 看到日志打印出 OpenSEO initialized and ready. 就说明初始化容器完成了密钥生成和数据库迁移(之后 init 容器会自动退出,属正常现象)。访问 http://localhost:3001 看到注册页,Docker 路线就跑通了。 第 3 步(路线 B):一条命令部署到自己的 Cloudflare 账号 前置准备三件事:本机装好 Node 22.6 以上版本与 pnpm(跑 corepack enable);登录 Cloudflare 后台进一次 R2 激活对象存储(免费层也需绑定支付方式);进一次 Workers & Pages 确认账号已有 workers.dev 子域。 随后在终端依次执行: 编辑 .env.selfhost,填入 DATAFORSEO_API_KEY 或 TREG_API_TOKEN(如果想绑自己的域名,顺手填 CUSTOM_DOMAIN=seo.yourdomain.com,域名需在同一个 Cloudflare 账号下),然后一键部署: 命令结束会打印出你的 Worker 公网地址,打开页面看到初始化界面就说明 Cloudflare 路线部署成功。 第 4 步:第一时间抢注管理员账号,接通团队和自建 MCP 不管是 Docker 还是 Cloudflare,部署完第一件事就是立刻打开网址创建第一个账号。OpenSEO 默认采用邮箱密码登录(AUTH_MODE=password),第一个访问并注册的人会自动成为管理员,同时系统立即关闭公开注册——如果你先挂上公网却忘了注册,别人扫到地址就能抢注你的实例。 上线公网部署 Docker 时,只需把反向代理(如 Caddy、Nginx)指向本机 127.0.0.1:3001 并放行 WebSocket(给内置聊天助手用),系统只允许 localhost 走明文 HTTP。注册完后,去团队设置复制邀请链接发给队友即可多人共用;想接 Claude、ChatGPT 或 Codex,直接把 MCP 地址填成 https://你的域名/mcp,用刚才建好的管理员账号登录授权即可。 第 5 步:按需补齐增强能力与备份习惯 基础跑通后,随时往环境变量文件里加几项可选配置就能解锁全部功能(Docker 改完跑 docker compose up -d --force-recreate init web crawl-gateway 生效,Cloudflare 改完重跑 pnpm deploy:selfhost --yes): 启用内置 AI 助手 SAM:填入 OPENROUTER_API_KEY;如果你有自己的 Ollama、LiteLLM 或 vLLM 服务,还能通过 OPENROUTER_BASE_URL 和 OPENROUTER_MODEL 指向自建模型。 接入 Google Search Console / GA4:在 Google Cloud 建一个自己的 OAuth 客户端,把回调地址设为 /api/gsc/oauth/callback 和 /api/ga4/oauth/callback,填入 GOOGLE_CLIENT_ID 和 GOOGLE_CLIENT_SECRET。 开启 Docker JS 渲染体检:Docker 容器内不含浏览器,需要时填入 CONTEXT_API_KEY(Cloudflare Paid 套餐可直接用内置 Browser Run)。 升级前先做校验备份:Docker 用户更新镜像前,只需跑一句 node scripts/celld/backup.mjs backup ./backups/日期,脚本会自动短暂停止服务、打包存储与配置卷并做完整性校验,升级翻车也能秒回滚。 三、自部署最常踩的 6 个坑 用 treg.to 和直接充 DataForSEO 相比,有哪些真实限制? 能省 50 美元起充门槛,但不适合超大批量追踪。官方明确提示了四点边界:走 treg 共享上游账号且无公开并发说明,大批量追词未经充分验证;自定义城市名无法走沙箱预校验,拼错会直接报错;未来新接口需等 treg 上架;余额耗尽日志会打 treg.refused。先轻度试跑很香,重度自用建议换回直连密钥。 Cloudflare 免费版为什么全站体检刚爬到 40 页就停了? 受限于 Workers 免费层配额:单次 Workflow 最多 50 次对外请求,扣掉 robots.txt 和站点地图后约 40 页就会停,AI 可见度也会报 Too many subrequests。升到 5 美元/月的 Workers Paid(上限 100 万次)或改用 Docker Compose 即可彻底解决。 Docker 在树莓派 5 上启动后立刻退出怎么办? 内核内存页不匹配。celld 运行时要求 4 KiB 内存页,而树莓派 5 默认是 16 KiB。在 /boot/firmware/config.txt 加 kernel=kernel8.img 重启,跑 getconf PAGESIZE 确认输出 4096 后再启动即可。 邀请队友收不到邮件,管理员忘了密码怎么重置? 自部署不带发信服务,邀请链接直接从 Team settings 复制发送;改密在终端执行: 没装 pnpm 可改用 docker compose exec -T runtime node /opt/standalone/admin.mjs reset-password 邮箱,重置后全端自动登出。 只是自己在家里的电脑或 Tailscale 内网用,能不能跳过登录页面? 可以,但绝不要直接暴露到公网。Docker 环境变量里把 AUTH_MODE 改成 local_noauth 就能单管理员免密直进,只适合本机、Tailscale 或前方已经有独立身份鉴权代理的私有网络;如果你以后想从免密切回账号密码登录,把模式改回 password 重建容器,再用官方 claim-legacy-user 命令把历史数据认领到新邮箱下,所有项目和记录都不会丢。Cloudflare 用户如果想做更高强度防护,可以把 AUTH_MODE 设为 cloudflare_access,让 Cloudflare 边缘节点先核验邮箱白名单再放行。 之前跑的是老版单容器 Docker 镜像,能把历史数据无损搬到新版吗? 可以,官方准备了一键迁移文件。先把老容器拉到最新并等正在跑的体检或追踪结束,停掉旧容器后用 docker volume ls 查到旧数据卷名(通常是 open-seo_open_seo_data),填进新版 .env 的 LEGACY_VOLUME,然后把 COMPOSE_FILE 临时设为 deploy/standalone/compose.yaml:deploy/standalone/compose.migrate.yaml 启动即可。项目、词库、排名历史、体检、报告和 SAM 对话都会完整搬过来;只有 Google 授权、API Key 和 MCP 连接需要迁移后重新绑一次,确认无误前别删旧数据卷。 如果你身边有手头正好闲置一台 VPS 或 Cloudflare 账号、又不想交月费订阅的开发者朋友,可以把这篇双路线自部署手册转给他照着跑一遍。把工具装好之后,最后一篇我们会聊新手最容易花冤枉钱的环节:怎么用不到 10 美元月预算,同时盯紧 Google 排名和 ChatGPT/Gemini 的 AI 推荐位。你更倾向用 Docker 自己掌控机器,还是直接挂到 Cloudflare 省心托管?欢迎在评论区聊聊你的选择。

    These source blocks are preserved as an appendix without changing the article text.

    Appendix 1 · none

    ```
    git clone https://github.com/every-app/open-seo.git
    cd open-seo
    corepack enable && pnpm install
    pnpm alchemy login deploy/alchemy/alchemy.run.ts
    pnpm alchemy cloudflare bootstrap
    cp deploy/.env.selfhost.example .env.selfhost
    ```

    Appendix 2 · none

    ```
    read -rs -p 'New password: ' password; echo
    printf '%s\n' "$password" | pnpm standalone:admin reset-password you@yourdomain.com
    unset password
    ```

    Appendix 3 · none

    ```
    pnpm deploy:selfhost --yes
    ```

    Appendix 4 · none

    ```
    git clone https://github.com/every-app/open-seo.git
    cd open-seo
    export COMPOSE_FILE=deploy/standalone/compose.yaml
    cp deploy/standalone/.env.example deploy/standalone/.env
    ```

    Appendix 5 · none

    ```
    docker compose pull
    docker compose up -d
    docker compose logs -f init
    ```
Author experienceWorkers AI +1

Jonhoni99: Workers AI's 10,000 Neurons per day reset at 8:00 Beijing time, but some models must have a payment method bound first

On 2026-11-13, X user @Jonhoni99 wrote: Cloudflare's 10,000 Neurons are cleared to zero every day at 8:00 Beijing time. The catch is that models such as Kimi K2.6, GLM-5.3, and DeepSeek V4 Pro require a payment method to be bound; the official list has 9, and the free quota cannot be used. On the same day @Nyerishi also pointed out that DeepSeek V4.1 Flash on the Workers AI free plan requires a Workers Paid subscription to actually access it. These are the author's checks against the official catalog, not a bill that has already occurred.

Workers

fatimaazaizeh: Workers Paid $5.00 still appeared on two invoices after a 24 August 2026 cancellation confirmation.

Cloudflare Community user fatimaazaizeh says a Workers subscription was cancelled, with a confirmation email received on 24 August 2026, but Workers Paid ($5/month) still appeared on the following two monthly invoices. The author says the invoices listed Workers Paid at $5.00 for the September and October billing periods, and that the dashboard now shows Workers Free. The author wants to verify that the plan is inactive with no scheduled renewal, understand why it was billed, and ask whether the two charges can be reviewed or refunded. The author could not open a Billing support case from the dashboard (only help articles). Community MVP sjr replied with instructions to open all dropdowns so the create-case button appears. There is no Cloudflare staff reply on the public thread.

Author experienceD1 +4

qianshuixia2026: D1 free row-read cap burned twice in one day, plus R2 and Workers pitfalls after the first paid orders

浅水虾 (@qianshuixia2026) published a 16 November 2026 X article after the first $12 and $29 orders. On 14 November a 10-minute cron full-table scan burned the D1 Free 5 million daily row-read cap in 2 hours 14 minutes; the same evening the author ran wrangler d1 execute --remote statistics that scanned about 4.08 million rows in 5 minutes and hit the cap again, then paid $5 to upgrade to Workers Paid. The article also covers an R2 multipart complete() customMetadata mismatch that failed a >24 MB export five times (50 credits sent as apology), 128 MB / 10 ms / 50-subrequest walls that a paid plan does not lift, and Queues’ 10,000 daily operations with three operations per delivered message.