Spiral gives your agent every tool with one account. Browse the tools →

n8n · Developer

How to Use OpenAI model deprecations in n8n

Returns documented retirements with affected models, shutdown dates, and recommended replacements. Use it to plan migrations around announced deadlines.

Prompts to try with OpenAI model deprecations in n8n

Copy an example into n8n, or ask in your own words.

Every week, use OpenAI model deprecations to check gpt-5 and report changes to its documented shutdown date or recommended replacement.

OpenAI model deprecationsn8n
Try asking
  • Every Monday at 9am: use OpenAI model deprecations to look this up and give me the result as a table.

  • Pull the latest numbers from OpenAI model deprecations and tell me what changed since last week.

  • Check OpenAI model deprecations and summarize what you find in three bullet points.

  • Pull the newest data from OpenAI model deprecations and give me the result as a table.

How to set up OpenAI model deprecations in n8n

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send n8n this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run OpenAI model deprecations in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds OpenAI model deprecations, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run OpenAI model deprecations

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "developers-openai-com/developer-docs/model_deprecations",
        "input": {
          "limit": 1
        }
      }'

Then paste one of the prompts above: n8n finds OpenAI model deprecations on Spiral, shows the price and runs it.

OpenAI model deprecations providers and prices

Spiral runs OpenAI model deprecations through Alexandria. Open a card for today's price, with every fee included.

AlexandriaDeveloper
OpenAI developer docs · Model deprecations
developers-openai-com/developer-docs/model_deprecations

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 1000

Maximum rows (default 100).

Statusall, upcoming, or past

Default all.

Every API field of OpenAI developer docs · Model deprecations is on its tool page: open its card above.

What can you do with OpenAI model deprecations in n8n?

Maintain a weekly OpenAI documentation review for the models and API methods an application uses. An always-on agent can compare retrieved documentation with its previous report and flag changes in specifications, announcements, retirement notices, or billing categories.

Plan a Chat Completions migration

Build a migration checklist from dated API changes, request and response definitions, model capabilities, retirement notices, and published billing categories. Link each proposed code change to the relevant guide.

Write a model selection decision

Evaluate models for a document extraction application using catalog entries, specifications, endpoint definitions, lifecycle notices, billing units, and implementation guides. Include recent announcements that affect the decision.

Prepare a release readiness review

Before shipping an OpenAI integration, review its selected models, documented limits, API schemas, lifecycle status, and billing assumptions. Use the changelog and guides to identify documentation changes that need engineering review.

Prepare retirement handoff briefs

Turn announced shutdowns into engineering handoff briefs with affected model IDs, proposed replacements, specification differences, schema checks, and billing considerations. Include migration guides and related announcements.

Questions about OpenAI model deprecations in n8n

Can n8n use OpenAI model deprecations?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run OpenAI model deprecations like any built-in tool.

How much does OpenAI model deprecations cost in n8n?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

Do I need an Alexandria account to use OpenAI model deprecations in n8n?

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs OpenAI model deprecations on its own Alexandria account.

How long does it take to set up OpenAI model deprecations in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while OpenAI model deprecations runs?

OpenAI model deprecations runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

What public material does this source cover?

OpenAI's documentation service provides read-only search and page content. The page reader covers official guides, references, and cookbook pages.

Does the model catalog include deprecated models?

Yes. OpenAI explicitly includes deprecated models in its full catalog, so a listed model still needs a lifecycle check.

How detailed are the model specifications?

They distinguish context capacity from input and output limits. For example, GPT-6.2 Sol lists a 1,050,000-token context window, 922,000 maximum input tokens, and 128,000 maximum output tokens.

Are API announcements dated?

Yes. The changelog's November 17, 2026 entry identifies GPT-6.2 Astra and GPT-6.2 Sol and tags the Responses and Chat Completions APIs.

Can an agent read a specific part of a guide?

Yes. The documentation page reader provides Markdown content with an outline and section reads for guides, references, and cookbook pages.

Get started

Start using OpenAI model deprecations in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options