A sweeping new immigration deal coming out this week creates a new “provisional status” for 11 million illegal immigrants, creates a new program for up to 75,000 guest workers, and pours $4.5 billion to beef up the borders.

After weeks of tough behind-the-scenes deliberations, the agreement reached by a bipartisan group of eight senators would allow those who came to the country illegally to live and work in the United States and travel abroad, after paying a $500 penalty and meeting other criteria, such as paying taxes and learning English.

According to an outline of the bill obtained by The Post yesterday, illegal immigrants would be able to apply for green cards after 10 years and gain citizenship three years later.

The plan also calls for the government to enhance southern border security through fencing and high-tech military surveillance capabilities including drones.

The measure would also result in the hiring of 3,500 additional customs agents and call for a new 90-percent turn-back rate for illegal aliens.

A document outlining the plan shows that the number of visas for high-skilled workers will double from 65,000 to 110,000 while a new visa for low-skilled guest workers would be increased up to 75,000 in the fourth year.

The legislation also creates 120,000 new merit-based visas that take into account such aspects as education and employment history. Employers would have to track workers through an “e-verify” system that would require photo identification.

The senators are expected to unveil the bill — which would be the biggest change to the nation’s immigration law in 25 years — tomorrow. The bill was finalized Friday, and was expected to be unveiled today but was put off because of yesterday’s Boston Marathon bombing.

Bill supporters, including President Obama, hope to have the measure up for House and Senate votes by the end of the summer.

The new requirements would not affect children of illegal immigrants under the proposed Dream Act, which would allow them to get citizen status in five years.

The new provisional status will be granted only to immigrants who came into the country before Dec. 31, 2011. They will have a year to apply. Spouses and children can also petition to get in while those convicted of a crime would be prohibited. US citizens would not be able to sponsor siblings for eventual citizenship.

Illegal immigrants will be required to pay all taxes owed during the provisional period. They would also be prohibited from federal benefits such as welfare, food stamps and Medicaid. Those applying for citizenship will also have to have a “demonstrated knowledge” of English, civics and history.