Two friends leave a café after rehearsal. One had lunch and the other only coffee. The server needs to know how to take payment. The friends still need to decide who owes what. Those are two different conversations.
What to say to the server
Juntos and por separado describe the payment the server will take. Paying together lets one person settle the bill, but it does not decide how the friends will share the cost afterward. If you need two payments, ask whether that is possible.
—¿Nos trae la cuenta? —Claro. ¿Van a pagar juntos o por separado?
—Juntos, gracias. Después hacemos cuentas entre nosotros.
What did you mean by splitting it?
With two people, a medias normally means half each. Pagar lo mío means covering my own share. Try the two answers below with a pretend total of thirty. Both settle the same bill, but the person who had only coffee owes a different amount.
A medias: total 30 → 15 + 15. / Cada cual paga lo suyo: 12 + 18 = 30.
—¿A medias? —Prefiero pagar lo mío. Tú pediste la comida y yo solo tomé café.
Offer to cover one item
Yo pago los cafés names the item you are covering. Invito yo in this context offers to treat the other person. Swap roles and ask a partner to listen for what you actually offered to buy. Discussing a bill this way is a language exercise you can adapt to the café.
—Yo pago los dos cafés. ¿Tú te encargas del pan? —Hecho.
—No, hoy invito yo. / —¿Seguro? Entonces la próxima vez invito yo.
