Agent terminated due to error Model 4.6 opus

i planning with model opus 4.6 and get error :slight_smile:
Trajectory ID: 5bd2da66-..
Error: model unreachable: UNAVAILABLE (code 503): No capacity available for model claude-opus-4-6-thinking on the server: UNAVAILABLE (code 503): No capacity available for model claude-opus-4-6-thinking on the server: model api cannot be reached
(1) attached stack trace
– stack trace:
| google3/third_party/gemini_coder/framework/generator/generator.(*PlannerGenerator).generateWithModelOutputRetry
| third_party/gemini_coder/framework/generator/planner_generator.go:194
| google3/third_party/gemini_coder/framework/generator/generator.(*PlannerGenerator).Generate
| third_party/gemini_coder/framework/generator/planner_generator.go:95
| google3/third_party/gemini_coder/framework/executor/executor.(*Executor).Execute
| third_party/gemini_coder/framework/executor/executor.go:303
| google3/third_party/jetski/cortex/cortex.(*CascadeManager).executeHelper.func1
| third_party/jetski/cortex/cascade_manager.go:1558
| […repeated from below…]
Wraps: (2) secondary error attachment
| UNAVAILABLE (code 503): No capacity available for model claude-opus-4-6-thinking on the server: UNAVAILABLE (code 503): No capacity available for model claude-opus-4-6-thinking on the server
| (1) tags: map[stream_receive_count:0 streaming_duration:0s]
| Wraps: (2) attached stack trace
| – stack trace:
| | google3/third_party/gemini_coder/framework/generator/generator.(*streamResponseHandler).processStream
| | third_party/gemini_coder/framework/generator/stream_handler.go:338
| | google3/third_party/gemini_coder/framework/generator/generator.(*PlannerGenerator).attemptGenerate
| | third_party/gemini_coder/framework/generator/planner_generator.go:437
| | google3/third_party/gemini_coder/framework/generator/generator.(*PlannerGenerator).generateWithAPIRetry
| | third_party/gemini_coder/framework/generator/planner_generator.go:278
| | google3/third_party/gemini_coder/framework/generator/generator.(*PlannerGenerator).generateWithModelOutputRetry
| | third_party/gemini_coder/framework/generator/planner_generator.go:154
| | google3/third_party/gemini_coder/framework/generator/generator.(*PlannerGenerator).Generate
| | third_party/gemini_coder/framework/generator/planner_generator.go:95
| | google3/third_party/gemini_coder/framework/executor/executor.(*Executor).Execute
| | third_party/gemini_coder/framework/executor/executor.go:303
| | google3/third_party/jetski/cortex/cortex.(*CascadeManager).executeHelper.func1
| | third_party/jetski/cortex/cascade_manager.go:1558
| | google3/third_party/jetski/cortex/cortex.(*CascadeManager).executeHelper.func2
| | third_party/jetski/cortex/cascade_manager.go:1676
| | runtime.goexit
| | third_party/go/gc/src/runtime/asm_amd64.s:1771
| Wraps: (3) UNAVAILABLE (code 503): No capacity available for model claude-opus-4-6-thinking on the server
| Wraps: (4) UNAVAILABLE (code 503): No capacity available for model claude-opus-4-6-thinking on the server
| Error types: (1) *go_utils.withTags (2) *withstack.withStack (3) *errutil.withPrefix (4) *utils.HTTPError
Wraps: (3) model unreachable: UNAVAILABLE (code 503): No capacity available for model claude-opus-4-6-thinking on the server: UNAVAILABLE (code 503): No capacity available for model claude-opus-4-6-thinking on the server
Wraps: (4) attached stack trace
– stack trace:
| google3/third_party/jetski/cortex/shared/shared.init
| third_party/jetski/cortex/shared/interfaces.go:21
| runtime.doInit1
| third_party/go/gc/src/runtime/proc.go:8105
| runtime.doInit
| third_party/go/gc/src/runtime/proc.go:8072
| runtime.main
| third_party/go/gc/src/runtime/proc.go:258
| runtime.goexit
| third_party/go/gc/src/runtime/asm_amd64.s:1771
Wraps: (5) model api cannot be reached
Error types: (1) *withstack.withStack (2) *secondary.withSecondaryError (3) *errutil.withPrefix (4) *withstack.withStack (5) *errutil.leafError

1 Like

I have the same error. The worst part is when i switch back to 4.5, it says “Claude Opus 4.5 is no longer available. Please switch to Claude Opus 4.6.”. I think it P0 level bug. Please urgently response to this problem

Same. Pro user subscription

So… we had:

  • agent terminated due to error in 4.5
  • when solved, random quota without any apparent reasons
  • when we had a reason for the quota madness, opus 4.6 agent terminated due to error. 4.5 removed

We will ever be able to use this ide again?

Is there any workaround for it, or do we have to sit this one out and hope they fix it soon?

Hey All,

A 503 error (UNAVAILABLE) indicates that the service is temporarily overloaded or experiencing a capacity constraint. This is common during peak usage hours, particularly with long context requests. The best immediate step is to wait some time and try again.

Could you please confirm if you are still facing this issue while using the Claude Opus 4.6 (Thinking) model?

2 Likes

Nope,Everything seems to be working fine now!

I am glad to hear that.

Happy Coding!

1 Like