Lyft raised $1 billion in a new investment led by CapitalG, the venture arm of Alphabet.

SAN FRANCISCO — In an escalation of its ride-hailing war against Uber, Lyft has begun to explore going public in 2018 and is trying to strengthen its position by raising more capital, including $1 billion in new financing led by an investment arm of Google’s parent company.

Lyft has had talks with investment banks about an initial public offering next year, according to two people briefed on the discussions, who asked to remain anonymous because the conversations are confidential. Lyft has not decided which bank may become its lead underwriter for an I.P.O., the people said.

To bolster itself ahead of any public offering, Lyft on Thursday said it had raised $1 billion in financing led by CapitalG, a venture investment arm of Google’s corporate parent, Alphabet. The funding values Lyft at $10 billion before the introduction of new capital — a significant jump from the company’s last valuation of $6.9 billion.

The new investment further complicates the convoluted web of financial relationships in the ride-hailing industry, where companies like Lyft and Uber have hauled in enormous amounts of funding from firms that often put money into competing companies.

But the financing also gives Lyft a new and formidable partner in Alphabet. As part of the deal, David Lawee, a venture partner at CapitalG, will take a seat on Lyft’s board of directors. The investment round, which includes other undisclosed participants, remains open.

“Less than 0.5 percent…