OnStar will offer a three-month free trial period (or three gigabytes of data, whichever comes first), allowing vehicle owners to sample the service. Monthly fees start at $5 for OnStar subscribers, who would receive up to 200 megabytes of data (enough to stream about 6.5 hours of music or go online for 13 hours).
More from Re/code:
TV From the Cloud: Which Device Is Best for You?
Anaplan,Business Planning in the Cloud, Lands $100 Million
SwagbucksLands $60 Million Investment, New CEO
Rates increase with consumption, reaching $50 a month for five gigabytes of data. The OnStar hotspot would support up to seven devices — from laptop computers to smartphones, tablets and videogame consoles.
Read MoreMotorola unveils budget smartphone
OnStar said it plans to introduce this feature on GM vehicles of various makes — including Buick, Cadillac and GMC — throughout the year.
The service, provided through AT&T, is available only on 2015 models.
—By Dawn Chmielewski, Re/code.net.
CNBC's parent NBC Universal is an investor in Re/code's parent Revere Digital, and the companies have a content-sharing arrangement.