src/anthropic/types/cache_creation.py
raw| 1 | from .._models import BaseModel |
| 2 | |
| 3 | __all__ = ["CacheCreation"] |
| 4 | |
| 5 | |
| 6 | class CacheCreation(BaseModel): |
| 7 | ephemeral_1h_input_tokens: int |
| 8 | """The number of input tokens used to create the 1 hour cache entry.""" |
| 9 | |
| 10 | ephemeral_5m_input_tokens: int |
| 11 | """The number of input tokens used to create the 5 minute cache entry.""" |