Driftline

v0.11.7
io.github.AI-Driftline/driftline Checked 4 hours ago Published 7 days ago

Retirement dates and replacements for OpenAI, Anthropic, Google and 5 more, plus Bedrock and Azure.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_models Check model IDs for retirement

Look up OpenAI, Anthropic, Google, Mistral, xAI, Cohere, DeepSeek and Groq model IDs (and Amazon Bedrock, Vertex AI and Azure) and return, for each one, its retirement status, retirement date, days left and replacement. Use it before writing, changing or keeping a model ID in code, or when the user asks whether a model still works. To find the IDs inside a codebase use scan_project instead; to list everything retiring soon use upcoming_retirements. Read-only. Data comes from the providers' official deprecation pages, re-checked daily at aidriftline.com (fetched with a 4 s timeout, falling back…

ParameterTypeDescription
ids *arrayModel IDs exactly as written in code, e.g. ["gpt-4o", "claude-sonnet-4-5", "models/gemini-2.5-pro"]. Provider prefixes (openai/, models/), Bedrock, Vertex and OpenRouter spellings and Claude short nam…

scan_project Scan a project for retiring model IDs

Scan a project folder for OpenAI, Anthropic, Google, Mistral, xAI, Cohere, DeepSeek and Groq model IDs (and Amazon Bedrock, Vertex AI and Azure) in code and config files and report the ones that are retired, retiring soon, deprecated or being re-routed, with file and line, most urgent first. Use it to audit a repository or before a release. For IDs you already know use check_models; for a time-based list use upcoming_retirements. Read-only: reads files on this machine and never changes them. Scans subfolders recursively, skips .git, node_modules, vendor, dist, build and similar folders, and fi…

ParameterTypeDescription
include_okbooleanAlso list models with no retirement announced (status active or unknown). Default false.
pathstringAbsolute path of the folder to scan. Defaults to the server's working directory, which may not be the user's project, so pass it explicitly.

upcoming_retirements List upcoming model retirements

List OpenAI, Anthropic, Google, Mistral, xAI, Cohere, DeepSeek, Groq, Amazon Bedrock, Vertex AI and Azure models whose retirement or re-routing date falls in the next N days, soonest first, with replacement for each. Use it to answer "what is being retired soon?" or to plan migrations. It does not look at code: use scan_project for that, or check_models for specific IDs. Read-only. Models already past their date are not included (check_models reports those as retired). Anthropic "not before" dates are left out because those models are still active.

ParameterTypeDescription
daysnumberLook-ahead window in days, 1 to 3650. Default 90.
providerstringOnly this provider's own API (openai, anthropic, google, mistral, xai, cohere, deepseek, groq), or "bedrock" / "vertex" / "azure" for Amazon Bedrock's, Google Vertex AI's or Microsoft Azure's dates (a…