gpt-4o, gpt-4.1 and whisper-1 are shutting down: how to find every call in your code and n8n workflows
说明与用途
扫描器检测到所有即将停用的 OpenAI 和 Anthropic 模型调用,包括 n8n 中隐藏的默认值,并可在 CI 中阻止即将停用的模型导致的构建失败。
问题
OpenAI and Anthropic are retiring several models, causing calls to fail if not updated.
结果
The scanner detects all model references, including hidden defaults and gateway spellings, and can prevent failures by enforcing CI checks.
工作流
- Clone the ai-model-retirement-scanner repo
- Run the scanner against the project directory
- Review the output for any models scheduled to shut down
- If any model is within the fail window, update the code or workflow
- Re‑run the scanner to confirm no pending shutdowns
- Add the scanner to CI to enforce the check
证据
OpenAI shuts down gpt-4o, gpt-4o-mini and gpt-4.1 (and their dated snapshots) on 14 January 2027.
Searching for "gpt-4o" finds the obvious calls. These are the ones it misses: ... n8n writes a node parameter only when it differs from the default.
git clone https://github.com/Donrulezz/ai-model-retirement-scanner node ai-model-retirement-scanner/cli.js path/to/project
- 记录日期: 2026-11-01T16:59:12.141Z