Originally published at hafiz.dev
Claude Opus 4.7 dropped on April 16, 2026. If you're using the Laravel AI SDK with the Anthropic driver, there are breaking API changes that will throw 400 errors in your existing setup the moment you swap the model string. Not deprecation warnings. Not behavior shifts. Actual request failures.
This isn't a "what's new" roundup. It's a migration guide for Laravel developers who already have Anthropic agents in production and want to know exactly what to touch before flipping the switch.
The model string and pricing
Start with the easy bit. The API model ID is claude-opus-4-7 . In your Laravel AI SDK agent, that's one line:
#[Provider(Lab::Anthropic)] # [ Model ( 'claude-opus-4-7' )] // was: 'claude-opus-4-6' class YourAgent implements Agent { use Promptable ; }
Enter fullscreen mode
Exit fullscreen mode
Pricing is unchanged from Opus 4.6: $5 per million input tokens, $25 per million output.…