ModelInfo Class — anthropic-sdk-python Architecture
Architecture documentation for the ModelInfo class in model_info.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 2608af38_7f25_6a41_86ce_050d21936c7a["ModelInfo"] 17ce5647_6f06_0676_a4a5_e378a3f57cb1["BaseModel"] 2608af38_7f25_6a41_86ce_050d21936c7a -->|extends| 17ce5647_6f06_0676_a4a5_e378a3f57cb1 fda2aa78_bc52_7232_5c7a_55bb29a912a4["model_info.py"] 2608af38_7f25_6a41_86ce_050d21936c7a -->|defined in| fda2aa78_bc52_7232_5c7a_55bb29a912a4
Relationship Graph
Source Code
src/anthropic/types/model_info.py lines 11–28
class ModelInfo(BaseModel):
id: str
"""Unique model identifier."""
created_at: datetime
"""RFC 3339 datetime string representing the time at which the model was released.
May be set to an epoch value if the release date is unknown.
"""
display_name: str
"""A human-readable name for the model."""
type: Literal["model"]
"""Object type.
For Models, this is always `"model"`.
"""
Domain
Defined In
Extends
Source
Frequently Asked Questions
What is the ModelInfo class?
ModelInfo is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/model_info.py.
Where is ModelInfo defined?
ModelInfo is defined in src/anthropic/types/model_info.py at line 11.
What does ModelInfo extend?
ModelInfo extends BaseModel.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free