Plan around your fleet’s operating rules

NextBillion.ai vs. Mapbox for Route
Optimization API

  • Single plan for vans and trucks
  • 500+ routing constraints
  • Same-day re-optimization
  • Gaurav
  • Request a live demo
    (and get the trial API key)
  • bryan
generate-optimal-routes generate-optimal-routes

Scale route planning with your own rules

Keep cost per delivery in focus as order volumes grow.

Plan vans and heavy
trucks together

With NextBillion.ai, you get routes and ETAs for vans and trucks in one plan that accounts for truck dimensions and weight.

With Mapbox, applying truck height, width, and weight limits requires a separate Directions API call.

plan-vans-and-heavy-trucks-together
plan-around-site-and-loading-rules

Plan around site and
loading rules

NextBillion.ai handles depot turn restrictions, compartment-level LIFO unloading, and oversized order splitting.

Mapbox avoids specified roads, applies vehicle-wide unloading rules, and requires oversized orders to be pre-split.

Choose pricing that fits
your fleet

With NextBillion.ai, you can choose pricing by order, asset, or API call.

With Mapbox, Optimization v1 is priced by request volume, and Optimization v2 requires a public beta sign-up.

choose-pricing-that-fits-your-fleet
test-a-real-route-with-a-solutions-engineer

Test a real route with a solutions engineer

With NextBillion.ai, you can test real orders and routing constraints with a NextBillion.ai solutions engineer.

With Mapbox, you can test pickups, drop-offs, and delivery windows in the Optimization v2 playground.

KEY FEATURE COMPARISON

NextBillion.ai Route Optimization API vs.
Mapbox Optimization

Capability NextBillion.ai Route Optimization API Mapbox Optimization v1 Mapbox Optimization v2 (public beta)
Route Planning Assigns jobs and shipments across a fleet and sequences each route Sequences coordinates for a single trip Assigns services and shipments across a fleet and sequences each route
Routing Profiles Car and truck profiles within one plan, including truck dimensions and weight Driving, traffic-aware driving, cycling, or walking for the trip Driving, traffic-aware driving, cycling, or walking per vehicle
Appointment Windows Multiple eligible windows per job and configurable limits on selected timing exceptions Sequences the trip to minimize travel duration One time window per service with strict or soft options
Fleet & Task Matching Vehicle capacities, job requirements, driver skills, shifts, and breaks Stops supplied for one trip Multiple capacity dimensions, capability requirements, shifts, and breaks
Loading and delivery sequence Paired pickups and deliveries, split orders, and LIFO unloading across vehicle compartments Pickup-before-drop-off coordinate pairs Paired pickup and delivery shipments with vehicle-level FIFO or LIFO
Optimization objectives Time, distance, or custom costs, including fixed, hourly, per-kilometer, and per-order costs Minimize trip duration Minimize total fleet travel time or the duration of the longest vehicle schedule
Same-day Plan Changes Update an existing plan using its original request ID Submit a revised set of coordinates Submit a revised routing problem
Unassigned work Returns unassigned tasks with reasons such as capacity or time-window conflicts Returns a trip or a response code indicating a routing issue Lists dropped services and shipments in the solution
Documented request limit Up to 4,000 tasks per optimization problem 2–12 coordinates per request Up to 1,000 named locations per routing problem

Try NextBillion.ai with your fleet in three steps

  • 1
  • 2
  • 3
tick

Get a trial
API key

Start a trial and choose a representative dispatch day. Bring order locations, service durations, vehicle profiles, depots, and the shift and delivery windows that apply.

tick

Run your current plan and a same-day change

Compare vehicle assignments, travel time, distance, and orders that remain unassigned. Then add a rush pickup or remove a vehicle to see how each planning workflow handles the change.

tick

Connect the routes to your dispatch workflow

Send TMS orders and vehicles to NextBillion.ai, then push optimized assignments to your driver app. Display stops and routes in Mapbox GL JS using GeoJSON layers.

Product managers and developers
love NextBillion.ai APIs

G2 Badge G2 Badge G2 Badge G2 Badge G2 Badge G2 Badge
G2 Badge G2 Badge G2 Badge G2 Badge

Frequently asked questions

NextBillion.ai’s Route Optimization API assigns jobs and plans routes for vans and trucks in one request. You can set truck dimensions and weight so the plan accounts for road restrictions such as low bridges.
Mapbox Optimization v1 finds the quickest order for up to 12 coordinates on a single trip. The v2 public beta supports multi-vehicle planning with delivery windows, vehicle capacities, and driver shifts. Its routing profiles cover driving, traffic-aware driving, cycling, and walking.

Evaluate NextBillion.ai when the vehicle assignment depends on how a job can be served. A delivery might need a refrigerated truck that fits under a low bridge, or a service call might need a certified technician with enough time left in the shift. The API supports 50+ routing parameters for modeling those decisions. See a multi-vehicle example

Mapbox Directions accepts height, width, and weight parameters, with road restriction coverage varying by region. In NextBillion.ai, a truck profile can be part of the fleet optimization request so the route and assignment can reflect the vehicle's dimensions and weight. Mapbox Directions documentation · NextBillion.ai truck optimization guide

Yes. Use NextBillion.ai to calculate which vehicle gets each job and the order of its stops. You can plot those stops in Mapbox GL JS and request route geometry for the optimized sequence to draw it on the map. See how to retrieve GeoJSON geometry · Mapbox GeoJSON layer guide

Mapbox v1 accepts 2–12 coordinates. Mapbox v2 documents a limit of 1,000 named locations per routing problem. NextBillion.ai documents a limit of 4,000 tasks per optimization problem. Each job counts as one task, and each shipment counts as two, one for pickup and one for delivery. Multiple tasks can reference the same location. NextBillion.ai query limits · Mapbox v2 limits

Yes. Use the original optimization request ID and send the changes to your jobs, shipments, or vehicles. For example, remove a canceled delivery and add a time-sensitive pickup to the plan. Re-optimization guide

Yes. Set starting and ending depots by vehicle. For a vehicle that needs to reload during the day, model a return to the warehouse as a pickup so the optimizer can plan around when the vehicle has capacity for the next set of deliveries. Multi-depot route optimization · Depot reload example

Yes. Pin an appointment to a technician who already knows the site or a vehicle that carries the required equipment. The optimizer can assign the remaining work around that commitment. Pinned technician assignments

Review the reason in the optimization response. If the eligible vehicle lacks capacity, check whether a larger vehicle or a split delivery is available. If the job falls outside the driver's shift, review which other eligible vehicles can reach the stop within the customer's time window. Unassigned task example

Yes. In NextBillion.ai Route Planner, dispatchers can import orders and vehicles from a spreadsheet, generate routes, move stops between routes, and update stop order. They can export the results or send routes through integrations such as Samsara, Geotab, and Motive. Explore Route Planner · Route editing guide

Mapbox Optimization v1 has a published free tier of up to 100,000 requests per month, followed by volume-based request pricing. Confirm v2 beta terms with Mapbox. NextBillion.ai offers quotes based on orders, assets, or API calls. If you plan in the morning and replan several times throughout the day, include those reruns in your estimate. Mapbox pricing · NextBillion.ai pricing

If you use v1, start with the stop coordinates and add the dispatch data you want the optimizer to use, such as service durations, delivery windows, vehicle capacities, and shifts. For v2, map the locations, services, shipments, and vehicles to their NextBillion.ai equivalents. Carry over your order IDs so the optimized stops can be matched to your dispatch records. NextBillion.ai request reference

Yes. NextBillion.ai offers multi-tenant cloud, private cloud, and on-premises deployment options. Its Route Optimization, Directions, and Distance Matrix APIs are available for on-premises deployment. Explore deployment options

See what NextBillion.ai can do
with your routes