# Stop building agents that can't change models

DevFeed: [Stop building agents that can't change models](<https://devfeed.tech/articles/stop-building-agents-that-can-t-change-models-100447.md>)

Original publisher: [Read original article](<https://www.infoworld.com/article/4239696/stop-building-agents-that-cant-change-models.html>)

Author: Alex Merced

Published: 2026-10-26T09:00:00Z

Content type: opinion

Language: en

Sources: [InfoWorld](<https://devfeed.tech/sources/infoworld.md>)

Topics: [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [adapter pattern](<https://devfeed.tech/topics/adapter-pattern.md>)

Tags: [2022](<https://devfeed.tech/tags/2022.md>), [2025](<https://devfeed.tech/tags/2025.md>), [agents](<https://devfeed.tech/tags/agents.md>), [anthropic](<https://devfeed.tech/tags/anthropic.md>), [api](<https://devfeed.tech/tags/api.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [artificial-intelligence-development-approaches-development-tools-generative-ai-software-developm](<https://devfeed.tech/tags/artificial-intelligence-development-approaches-development-tools-generative-ai-software-developm.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [changes](<https://devfeed.tech/tags/changes.md>), [claude](<https://devfeed.tech/tags/claude.md>), [claude-sonnet](<https://devfeed.tech/tags/claude-sonnet.md>), [contributor](<https://devfeed.tech/tags/contributor.md>), [development-approaches](<https://devfeed.tech/tags/development-approaches.md>), [development-tools](<https://devfeed.tech/tags/development-tools.md>), [evaluations](<https://devfeed.tech/tags/evaluations.md>), [generative-ai](<https://devfeed.tech/tags/generative-ai.md>), [google](<https://devfeed.tech/tags/google.md>), [gpt](<https://devfeed.tech/tags/gpt.md>), [language-en](<https://devfeed.tech/tags/language-en.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [llm](<https://devfeed.tech/tags/llm.md>), [menlo-ventures](<https://devfeed.tech/tags/menlo-ventures.md>), [migration](<https://devfeed.tech/tags/migration.md>), [october](<https://devfeed.tech/tags/october.md>), [openai](<https://devfeed.tech/tags/openai.md>), [providers](<https://devfeed.tech/tags/providers.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [storytype-opinion](<https://devfeed.tech/tags/storytype-opinion.md>)

## AI overview

The article argues that agents should treat models as replaceable compute behind a stable interface, since providers retire models and APIs, market shares shift, and prices fall quickly. It recommends keeping provider SDKs out of business logic, storing state and source data in systems the team controls, and using provider adapters with common request and response types. The example contract uses JSON Schema tools, task labels for routing and evaluation, and records token counts and model IDs. A test suite of real tasks, with team-controlled checks plus cost and latency measurements, makes upgrades and provider switches measurable. The text also notes tradeoffs: embeddings must be regenerated when changing embedding models, and a strict common interface can lose provider-specific features. Optional adapter capabilities and small per-model prompt overrides can preserve useful features while keeping their costs visible.

## Source excerpt

No one can predict which AI provider will win the next benchmark cycle. The smarter approach is to build an architecture that can adapt as models change. One with a stable contract between agents and models, tools and state that exist outside any single provider, and evaluations that make each model change a measurable decision. The goal isn't to avoid choosing a preferred model. It's to ensure that when the next model emerges, changing that choice doesn't require rebuilding the system around it. For example, on June 15, 2026, Anthropic retired Claude Sonnet 4 and Claude Opus 4 from its API, after giving developers notice on April 14. Any application still calling those model IDs started receiving errors. Claude Opus 4.1 followed on August 5. Later that month, OpenAI shut down its entire Assistants API and pointed developers to its Responses API. None of this was a surprise. Each provider published dates and migration guides well ahead of time. The problem sits on the builder's side. Many teams designed agents where the model is the foundation and not a component, so when the foundation moves, the whole building moves with it. The model market is moving too fast for that design, and enterprises should treat models as replaceable compute behind stable interfaces. By doing so, they can change providers for cost, capability, privacy or performance without rebuilding their agents. The market refuses to sit still, and the rising costs of tokens According to Menlo Ventures, OpenAI held 50% of enterprise large language model (LLM) API usage in 2023. By the end of 2025, that share had fallen to 27%. Anthropic climbed from 12% to 40%, and Google went from 7% to 21%. The data clearly indicates that leadership in this market changes hands faster than most enterprise software contracts renew. Prices move faster still, as Stanford's 2025 AI Index found that GPT-3.5-level performance on the MMLU benchmark cost $20 per million tokens in November 2022 and $0.07 by October 2024. Epo