Repository navigation
fix(ai-gateway): retire inclusionai/ling-3.0-flash:free - #5108
Conversation
Upstream removed the free tier (OpenRouter 404 / Novita model-not-found), which zeroed successful traffic and kept /api/models/up unhealthy. Drop it from auto-free routing and mark it unavailable so stale clients get a clean error and the health monitor stops paging on a dead SKU.
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (4 files)
Reviewed the retirement of Reviewed by kimi-k3 · Input: 59.7K · Output: 9.2K · Cached: 515.4K Review guidance: REVIEW.md from base branch |
Summary
inclusionai/ling-3.0-flash:free(OpenRouter 404 “unavailable for free”; Novita/Vercel “model not found”), which zeroed successful traffic and kept BetterStack/api/models/upunhealthy.autoFreeModelssokilo-auto/freeand preferred/monitor lists no longer include it.unavailableModelIdsso direct requests get a clean unavailable-model error.Test plan
models.test.ts,unavailable-models.test.ts,variants.test.tscurl -s 'https://api.kilo.ai/api/models/up?key=kilo-models-health-check' | jq '.healthy, .models["inclusionai/ling-3.0-flash:free"]'— overall healthy; free Ling absent or not monitoredkilo-auto/freestill resolves to remaining candidates (stepfun / laguna)