Distance Matrix API Cost & Pricing

Simple, usage-based pricing with no subscriptions, no setup fees, and no hidden costs. Pay only for the API elements you actually use.

Start free with 1,000 elements a month or use at scale with our Growth plan when you need more. See your Distance Matrix API cost before you commit.

Our plans: choose the one that fits your project

Both plans include the same core functionality. The only difference is how many API elements and tokens your project requires.
Access to all four products
Includes access to all four APIs:
- Distance Matrix API Accurate
- Distance Matrix API Fast
- Geocoding API Accurate
- Geocoding API Fast
Included
Included
Traffic information
Access to all the features: traffic information, driving and walking mode, quick response, departure & arrival time, all common languages, and many more
Included
Included
API tokens
5 tokens/month
Unlimited tokens
Monthly API elements
Each query sent to the Distance Matrix API generates elements. One element equals one origin-destination pair, where the number of origins × the number of destinations = the number of elements
Example:
10 origins × 20 destinations = 200 elements.
1,000
Unlimited
$50 bonus (25,000 elements)
Not available
Included
Cost
Free
Pay-as-you-go pricing
Best for teams that want to:
  • Explore the APIs
  • Test your integration
  • Build a prototype
  • Estimate your usage
  • Process production workloads
  • Need unlimited usage
  • Want lower pricing as they scale
  • Build applications with growing traffic

Growth plan pricing: pay only for the API elements you use

As your monthly usage grows, your cost per 1,000 elements automatically decreases. No subscriptions, upfront costs, or long-term commitments

If you spend more than 500,000 elements per month, you will pay $1 for every further 1,000 elements, but you can always contact us for better pricing.

1 – 100,000 elements

Entry band · full list price

$2.00 per 1,000 elements

Next 100,000 – 300,000

Automatic 20% off this band

$1.60 per 1,000 elements

Next 300,000 – 500,000

Automatic 37% off this band

$1.25 per 1,000 elements

500,000 and more

Floor rate · 50% vs entry price

$1.00 per 1,000 elements

Distance Matrix API Cost Calculator

Estimate your monthly API cost in seconds.

Move the slider to calculate your expected monthly cost, compare it with the Market Leader, and see how much you could save.

elements

min: 1,000

max 2.5 million

Market leader
real-time traffic data
multimodal support
asynchronous matrices
200$ bonus
Distancematrix.ai
real-time traffic data
multimodal support
asynchronous matrices
live chat with support
50$ bonus
Contact us for better pricing
How does it work?

Not sure how many elements you'll need?

One element equals one origin–destination pair. Estimate your monthly volume from how many routes you calculate.

For example: 200 elements = (10 origins × 20 destinations).

How pricing is calculated

Here's how the math works on 345,000 elements.

Distancematrix.ai

The pricing is calculated in stages. When the limit of one stage is reached, the calculation continues at the rate for the next stage:

Usage

Price ($/1,000 elements)

Cost

First 100,000 elements

$2

$200

Next 200,000 elements

$1.6

$320

Remaining 45,000 elements

$1.25

$56.25

Subtotal

$200 + $320 + $56.25

$576.25

Welcome bonus

-$50

Total

$576.25 − $50

$526.25

Market Leader

The pricing is also calculated in stages:

Usage

Price ($/1,000 elements)

Cost

First 100,000 elements

$10

$1,000

Next 245,000 elements

$8

$1,960

Subtotal

$1,000 + $1,960

$2,960

Welcome bonus

-$200

Total

$2,960 − $200

$2,760

Estimated Savings

$2,233.75

($2,760 − $526.25)

For 345,000 elements, Distancematrix.ai costs 81% less than the Market Leader.

Ready to get started?

  • Create your free account.

  • Get instant access to all four APIs.

  • Test the service with 1,000 free elements every month.

  • Upgrade to Growth whenever your project needs more capacity.

Distance Matrix API Cost: Frequently Asked Questions

Do I need a credit card to get started?

Nope. Create a free account, go straight to the dashboard and begin with the Free plan with no payment information. With the Free plan, you get 1,000 API elements each month, allowing you to try out all four APIs before moving up.

When will I be charged?

At the end of each billing period, you pay for API elements processed. Rightly processed elements will be billed, not failed or errored ones. Stripe securely processes payments without monthly subscriptions, setup fees, or upfront payments.

What happens if I exceed 500,000 elements per month?

But once you go above 500,000 items per month, you will be billed $1 for each additional 1,000 items used. If your project needs much larger volumes please contact us for custom pricing.

What happens if my payment fails?

If a payment for your most recent billing period fails, your account will be automatically downgraded back to the Free plan. You will still get your dashboard access and 1,000 free elements per month. Once the outstanding payment is settled, you can upgrade to the Growth plan again any time.

How does the $50 welcome bonus work?

Upon upgrading to the Growth plan, you get a $50 welcome bonus (25,000 free elements). It’s automatically applied to your usage. Any remaining balance will remain available until it’s used up completely.

Can I switch from the Free plan to Growth later?

Yes. You can upgrade at any time directly from your dashboard. Your account, API tokens, and settings remain the same. You simply unlock unlimited usage and usage-based (pay-as-you-go) pricing.

What is an API element?

Elements are created for each query sent to the Distance Matrix API. One element corresponds to one origin-destination pair:

Number of origins times number of destinations = number of elements

For example, a request with 5 origins and 12 destinations creates 60 elements (5x12).

How can I monitor my API usage and costs?

Your Dashboard gives you real-time visibility into your API usage, remaining bonus balance, estimated charges, billing history, and downloadable invoices so you know exactly how much you’ve used and what you’re going to pay.

Where does the traffic information come from?

Travel time estimates are calculated using statistical traffic data from public sources combined with our own routing algorithms. You can test the results using the Free plan before upgrading.