Can Cursor Index very large code bases and documentation?

If Cursor uses OpenAI or other LLM models with limited input token, how can it index and use large amounts of documentation and codebase?