# get_default_model

> **Function** in `deepagents`

📖 [View in docs](https://reference.langchain.com/python/deepagents/graph/get_default_model)

Get the default model for Deep Agents.

Used as a fallback when `model=None` is passed to `create_deep_agent`.

Requires `ANTHROPIC_API_KEY` to be set in the environment.

## Signature

```python
get_default_model() -> ChatAnthropic
```

## Returns

`ChatAnthropic`

`ChatAnthropic` instance configured with `claude-sonnet-4-6`.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/3bcc51a95da80094cfc8bc4bcaf25dc1e2ad8f44/libs/deepagents/deepagents/graph.py#L101)