One is a temporary library card. No matter where you come from or where you work, you can apply. Just show me your ID card. You can only read books there, but you can't borrow them. I remember the cost was below 20 yuan. The other is that students studying in colleges and universities in Beijing (with student ID cards and ID cards) or those who have formal jobs in Beijing (with unit certificates and ID cards, readers can apply for reading and borrowing cards) pay a deposit of 100 yuan, and the annual fee is 20 yuan.
There are many specific rules. Please visit the website of the National Library for details.