Using your own Gemini API key in Cursor — does it count toward Cursor limits?

If I connect my personal Gemini API key to Cursor, does usage still count against Cursor’s limits, or only against my Gemini quota? How does billing and rate limiting work in this setup?