Cesium terrain altitude discrepancy

Which function are you using to get the altitude value shown there—would you mind sharing your code? This past forum post had a similar question, and the asker was ultimately linked to a related CesiumJS issue with this comment that might explain the discrepancy.