GitHub Action · OpenAI · Anthropic · Google

Know before your AI model disappears.

AI providers retire models on a schedule. Driftline finds every model ID in your code, flags the ones that are going away, and runs your real prompts on the replacement so you see what changes before you switch.

Runs in your CI with your own keys. No account, no server.

Retiring
How it works

Three checks.
Every push.

Driftline runs as one step in your GitHub workflow. It reads your repository, compares what it finds with the providers' own retirement pages, and reports back on the pull request.

01 · Scan

Finds every model ID

Code, .env files and configs, in JavaScript, Python, Go and 20 more file types. It skips node_modules and build folders.

02 · Check

Knows the dates

Each ID is matched against the official retirement pages of OpenAI, Anthropic, Google, Mistral, xAI, Cohere, DeepSeek and Groq, with Bedrock, Vertex AI and Azure's own dates. You get a warning on the exact file and line.

03 · Test · Pro

Runs your prompts on both

Your saved prompts run on the current model and its replacement. Each one gets a similarity score, a hard fail if JSON stops parsing, and the checks you set for what the answer must say.

Two minutes to install.

Add one workflow file. The scan is free and needs no key. For drift tests, activate your Pro key once with npx @aidriftline/driftline activate, save the code it prints (not the key), and add your provider keys.

  • Annotations on the file and line of every retired or retiring model.
  • A report in the job summary, plus one GitHub issue that updates itself.
  • Fail the build on retired models, on soon-to-retire models, or never.
  • A pull request with the fix, kept up to date (see below).
.github/workflows/driftline.yml
name: Driftline
on:
  schedule:
    - cron: "17 6 * * 1"   # every Monday
  pull_request:

jobs:
  driftline:
    runs-on: ubuntu-latest
    permissions: { contents: read, issues: write }
    steps:
      - uses: actions/checkout@v4
      - uses: AI-Driftline/driftline@v0
        with:
          create-issue: ${{ github.event_name != 'pull_request' }}
          fail-on: retired
          # Pro: license-key: ${{ secrets.DRIFTLINE_LICENSE_KEY }}
Drift tests · Pro

Same prompt.
New model.
See what changes.

List the 5 to 20 prompts your app really sends in .driftline/prompts.yml. Driftline runs each one on the current model and on its replacement, then scores the difference.

sentimentgpt-4o-2024-05-13↓gpt-5.6-sol
Current model

negative

Replacement

negative

1.00
✓ Same
ticket-summaryclaude-sonnet-4-5-20250929↓claude-sonnet-5-5
Current model

The customer's printer keeps jamming and they need someone to fix it today.

Replacement

The customer's printer keeps jamming and they need it fixed today.

0.76
● Changed
invoice-jsonexpect: jsongpt-4o-2024-05-13↓gpt-5.6-sol
Current model

{"vendor": "ACME GmbH", "total": 1250.00, "currency": "EUR"}

Replacement

Vendor: ACME GmbH. Total: 1,250.00 EUR.

0.00
✕ Broken · not JSON
✓ Samesimilarity 0.90 or higher ● Changed0.60 to 0.90, or a "not" came or went: worth a look ✕ Brokenbelow 0.60, JSON stopped parsing, or a check failed

Example answers written for this page. The scores are what Driftline's scoring code returns for them. Text is compared by word and word-pair overlap; JSON field by field. Overlap reads wording, not meaning, so add checks to the prompts that matter: must_include, must_not_include and same_fields (how). Real answers from live API calls: see a real run.

Fix pull request · Free + Pro

One pull request.
Ready to review.

Add fix-pr: true and Driftline opens one draft pull request with every safe rename, and keeps it up to date until you merge. Lines that need more than a new name get a checklist with the provider's guide. With Pro, your prompts run on the replacement and the verdict sits right in the pull request.

Example pull request: the layout is Driftline's, the prompt results are made up to show all three outcomes. A real one follows. The pull request is closed by Driftline once nothing is left to rename. Set-up and permissions: README.

Real run Live OpenAI and Gemini calls, nothing simulated AI-Driftline/driftline-demo

A small public demo app, run with a Pro key and real API keys. Google already refuses gemini-2.5-flash for new API keys (HTTP 404, "no longer available to new users"), so Driftline tested the replacement on its own and ran the checks on its answer.

🟡 Read before you merge: 1 prompt got a noticeably different answer. 3 prompts ran on the replacement only.

ticket-summary · gemini—● New model only · checks passed sentiment · gemini—● New model only · checks passed invoice-json · gemini—● New model only · valid JSON ticket-summary · openai0.75● Changed sentiment · openai1.00✓ Same invoice-json · openai1.00✓ Same

ticket-summary · gpt-4o-mini-2024-07-18 → gpt-6-luna

- The office printer has been jamming on every second page since Monday and urgently requires repair today.
+ The office printer has been jamming on every second page since Monday, and the team needs it fixed today.

Same meaning, different wording: "Changed" means worth a look, not wrong. The must_include: [printer] check passed.

Open the pull request → · Workflow runs, with both answers for every prompt →

Retirement timeline

The clock
is already running.

Text models with a fixed retirement date, from the providers' own pages. If any of these IDs are in your code, they stop answering on that day.

Checked against OpenAI, Anthropic and Google on 24 Nov 2026. Google publishes only earliest shutdown dates, so Driftline reports those as "may stop working". Mistral, xAI, Cohere, DeepSeek, Groq, Bedrock, Vertex AI and Azure are checked too: when each source was last checked. See all dates →

Privacy by design

Your keys and prompts
never touch our servers.

Driftline is code that runs inside your own GitHub Actions job. Prompts go straight from your runner to your AI provider. There is no Driftline server in between.

0servers between you and your AI provider
655model IDs tracked across 8 providers and 3 clouds
0dependencies. Plain Node, easy to audit
Your GitHub runneryour code, your keys
OpenAI · Anthropic · Googleprompts, with your API key
Polarlicense key only (Pro)
Pricing

Cheaper than
one outage.

The scan and the fix pull request are free forever. Pro tests your prompts on the replacement and puts the verdict in that pull request. API calls in drift tests run on your own provider keys: two calls per prompt per run.

Free
$0
forever, any number of repositories
  • Scan for model IDs from 8 providers and 3 clouds
  • Retirement warnings on the exact file and line
  • Fix pull request with the safe renames, and a checklist for the rest
  • Job summary report, a self-updating issue, SARIF for code scanning
  • Alerts by email, Slack, Discord or webhook
Add the free Action

No account. No key.

Pro
$19/ month
billed monthly, cancel any time
  • Everything in Free
  • Drift tests: your prompts on the current and the replacement model
  • A verdict in the fix pull request: safe to merge, read first, or don't merge yet
  • Similarity score per prompt, hard fail when JSON stops parsing, and your own checks on what the answer says
  • Full before and after answers in the job summary
  • Use on up to 3 GitHub accounts or organizations
Get Pro

Secure checkout by Polar. 14-day refund.

FAQ

Questions,
answered.

Does Driftline see my code or my API keys?

No. Driftline is a step inside your own GitHub Actions job. Prompts go from your runner straight to OpenAI, Anthropic or Google with your own keys. The only call Driftline makes for itself is the Pro license check with Polar, and that sends only the license key.

Where do the retirement dates come from?

From the providers' official deprecation pages. A script compares every entry with those pages every 6 hours, and an AI check following written rules updates the registry daily, or right away when the script finds a difference. Until a difference is fixed, the affected models are marked "under review" and their alerts wait, so you never get a wrong date. Each entry records the date it was last checked. Google lists only the earliest shutdown date, so those models are reported as "may stop working". Some Google IDs are routed to a newer model instead of being switched off; Driftline flags those too, because the call keeps working while the answers change. Anthropic's "not sooner than" dates are shown for information and never fail a build.

Which models does it cover?

655 model IDs in all. 257 OpenAI, Anthropic and Google model IDs (including audio, image, video and embedding models, Vertex and OpenRouter spellings and Claude short names), plus every Amazon Bedrock model with an announced end-of-life date, using Bedrock's own dates per region: Claude, Llama, Mistral, DeepSeek, Cohere and more (Bedrock list), Google Vertex AI's own dates for code that runs on Vertex (Vertex list), Azure's own date per model version for code that calls Azure (Azure list), and the deprecations of Mistral, xAI, Cohere, DeepSeek and Groq (all lists). All of them are scanned and reported. Drift tests run on text models only. The full list, with one page per model, is at aidriftline.com/models.

What does a drift test cost me in API usage?

Two calls per prompt per run: one to the current model, one to the replacement. Ten prompts on a weekly schedule is 20 calls a week, billed by your provider on your own key. If the current model is already retired, only the replacement is called.

Can a similarity score miss a change in meaning?

On its own, yes: "is eligible" and "is not eligible" share almost every word. So an answer that gains or loses a "not" is never marked same, and you can add checks to any prompt: phrases the new answer must or must not contain (must_include, must_not_include) and JSON fields that must keep their value (same_fields). A failed check marks the prompt broken. The fix pull request says "safe to merge" only when your prompts have checks.

Can I use one Pro key in several places?

Yes, in every repository of up to 3 GitHub accounts or organizations, for example your own account and your company's. You activate the key once per account. To move a slot, deactivate one account and activate another. Need more? Write to hello@aidriftline.com.

What happens if I cancel Pro?

Drift tests stop at the end of your paid period. The free scan keeps running. You can cancel any time in the Polar customer portal (linked in your receipt email), and you can ask for a full refund within 14 days of your first payment.

Can Driftline change the code for me?

Yes, where a new model name is the whole change. Run npx @aidriftline/driftline fix locally, or set fix-pr: true in the Action to get one draft pull request that stays up to date. Driftline never touches calls that need more than a rename (new parameters, a different API, a choice between two replacements, Bedrock and Azure IDs): those are listed in the pull request as a checklist, with what to change and a link to the provider's guide.

Can my AI coding agent use it?

Yes. Agents like Claude Code, Cursor or Copilot can run npx -y @aidriftline/driftline . --json to check model IDs before writing them, or read models.json. There is a ready-made snippet for AGENTS.md and CLAUDE.md on the agent guide.

Who is behind Driftline?

Driftline is an independent product, built and run by one developer. Questions go straight to me at hello@aidriftline.com.

Ship on your schedule.
Not theirs.