Long-context Inference