Home / Function/ models() — anthropic-sdk-python Function Reference

models() — anthropic-sdk-python Function Reference

Architecture documentation for the models() function in _client.py from the anthropic-sdk-python codebase.

Function python AnthropicClient AsyncAPI calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  f9e86e0f_08e2_932c_b998_cf4c0d3c0ab8["models()"]
  0fd89929_7b38_b43a_7bae_43e09dda2e19["AsyncAnthropic"]
  f9e86e0f_08e2_932c_b998_cf4c0d3c0ab8 -->|defined in| 0fd89929_7b38_b43a_7bae_43e09dda2e19
  958cf950_0053_7db5_4fee_810d283f6c41["models()"]
  958cf950_0053_7db5_4fee_810d283f6c41 -->|calls| f9e86e0f_08e2_932c_b998_cf4c0d3c0ab8
  93aac091_868b_aa95_5066_6a252a5dcd51["models()"]
  f9e86e0f_08e2_932c_b998_cf4c0d3c0ab8 -->|calls| 93aac091_868b_aa95_5066_6a252a5dcd51
  style f9e86e0f_08e2_932c_b998_cf4c0d3c0ab8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/_client.py lines 371–374

    def models(self) -> AsyncModels:
        from .resources.models import AsyncModels

        return AsyncModels(self)

Subdomains

Calls

Called By

Frequently Asked Questions

What does models() do?
models() is a function in the anthropic-sdk-python codebase, defined in src/anthropic/_client.py.
Where is models() defined?
models() is defined in src/anthropic/_client.py at line 371.
What does models() call?
models() calls 1 function(s): models.
What calls models()?
models() is called by 1 function(s): models.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free