From the API docs:
"If authentication credentials are provided, the rate limit status for the authenticating user is returned. Otherwise, the rate limit status for the requester's IP address is returned."
http://apiwiki.twitter.com/REST+API+Documentation#ratelimits...
Remember that the 20,000 calls are for GET requests. POST requests don't count towards that number.