Opus 4.7 Thinking API

Author: simon-lee-1Created Apr 17, 2026Updated Apr 17, 2026

Opus 4.7 changed their thinking api from thinking.type.enabled to thinking.type.adaptive

Any requests would return with this API Error: 400 {"type":"error","request_id":"req_b7jesh7znqogylzc7fgoqj37vx3f ywzzczyzcjhadw25kwypde4a","error":{"type":"invalid_request_error","message":" \"thinking.type.enabled\" is not supported for this model. Use \"thinking.type.adaptive\" and \"output_config.effort\" to control thinking behavior."}}