TTL, or time to live, is a duration or counter that determines how long data, a cached item, packet, or record remains valid before expiring. In AI systems, TTL may be used for cache control, temporary records, retrieval results, or operational metadata.