token cost management