Within the first 8 years the battery replacement is free. We've also yet to see good statistics on battery charge loss as that 8 years is still running for the vast majority of Tesla cars. It seems that charge loss is far less than doubters expected with most approaching that age being up in the high 90s percentage of retained range.
We're seeing the same with our Leaf. It's currently 5 years old and we are seeing exactly the same range as we did when we bought it (no - we do use it - it does a 40 mile each way commute daily).
You also don't mention trade in. Most older batteries will be traded in and it looks like Tesla will pay a large amount for the battery for power wall use. Again proper prices aren't available yet.