Article

Anthropic 3 First update in years Claude API: Three commonly used parameters removed; old code may throw errors after upgrading

Beating AI Newsflash: Anthropic has released Claude API a new version `2026-10-21`, marking the first official version-number update since 2023 June.

Over the past 3 years, Claude models have continued to iterate, while the API version remained unchanged. Anthropic plans to update API more frequently going forward, allowing developers to adapt in advance to compatibility issues that new models may introduce.

This update mainly removes the three parameters `temperature`、`top_p` and `top_k`. They were originally used to control the randomness of model responses and generation methods. After upgrading to the new API version, code that continues to pass these parameters will throw errors directly. Some other legacy fields and message formats have also been adjusted.

Anthropic has simultaneously updated the official SDK, and the new version uses `2026-10-21` by default. Developers can use Claude Code's `/claude-api` Skill to help modify their code.

However, the legacy `2023-06-01` remains available, and existing projects do not need to migrate immediately.

Original link https://m.theblockbeats.info/flash/373120