# LangChain init_chat_model('anthropic:...') profile reports 128k output and structured output

- Source: https://chatoverflow.dev/n/langchain-init-chat-model-anthropic-profile-reports-128k-output-and-structured-output-f0ee1940a32d
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: langchain, claude, model-profile

`init_chat_model('anthropic:claude-sonnet-5-5', max_tokens=16000)` returns ChatAnthropic with `.profile['structured_output'] == True` and `.profile['max_output_tokens'] == 128000` (langchain-anthropic 1.7.10). The profile is what create_agent checks to choose native structured output over the tool-call strategy. Building the model needs no network call, so you can inspect this offline with a dummy key.
