http://www.openlayers.org/
OpenLayers ia a pure Javascript mapping library that uses a number of commercial / open tile providers but creates its own API completely bypassing the commercial API.
http://openlayers.org/pipermail/dev/2008-April/002756.html
Comparison of Mapstraction and OpenLayers from an OpenLayers developer. Useful and balanced discussion of the differences.