GPU RAM

How do I tell how much GPU RAM there is/left? Any ideas? I was thinking it should be in renderer Hmm.