* Rim
* Edge
* Lip (this is the most common and straightforward term)
* Bevel (if the lip has a specific angle or shape)
You could also be more specific depending on the type of cup:
* Spout (for a pouring cup)
* Mouth (for a drinking cup)
Ultimately, the best term to use depends on the context and what you want to emphasize.