You don't have to use both. Service context is deprecated and settings is the new way to add your global requirements at one place.
Today you can work with any part of llama-index even by directly passing the required items like llm, embed_model if you don't want to define settings too