> For the complete documentation index, see [llms.txt](https://gitbook.mor.lumerin.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.mor.lumerin.io/conceptual-architecture/session-flow.md).

# Session Flow

1. User selects model & receives endpoints from router.
2. User node pings endpoints to determine best provider & requests session with provider.
3. If provider accepts session request, User submits “open session” transaction to router.
4. User opens socket to provider & submits prompts.
5. Once done, User requests receipt from provider & submits receipt + User report to router to close the session.
6. Provider claims payment from router.

<figure><img src="/files/e3HJMNq2qdkZxtXd7Fsh" alt=""><figcaption></figcaption></figure>
