Pathfinding: a cost for jumping?

So as explained in the title i want to have a cost for making a character jump.
I have no idea how to do this, exept for trying to put “jump” in the costs list but that didnt work.

goal: make the npc jump if needed and if no other path is present, if there is another path it will take that instead of jumping.

You cant, roblox pathfinding is limited

I think the only way you’d be able to do this is have 2 different paths, one that can jump and one that can’t, then calculate the cost yourself based on the total walking distance on both paths