That all depends on how you are tuning and what you are wanting the CI to do. Same goes for the ED. If you’re looking to get a high end extension, 3mmODx2mmID is what I use + a small valued series resistor(5 or 10) followed by a capacitor of 3.3-4.7uf. You want to be sure you account for THD and sibilance (especially if youre mounting it closer to the spout) for the CI I typically use 2mmODx1-1.5mm tubing to cut some of the mid push + and L-Pad to reduce volume and eliminate the higher frequency bump that comes with using a single series resistor. Keep in mind that the CI is a big motor frequency pusher. It can be very loud and over powering. The bass is super tight, clean, and accurate. However, you wont really get that sub frequency like you would from a sonion 38, 33 or the knowles HOD.
@piotrus-g has way more experience with using the CI in different capacities. I only use it in a triple driver configuration. The dual driver configuration I am starting to use the BK.
To you‘re real question, test/ analyze response from both the ED and CI for varying lengths. Dont go any shorter than 10mm for either driver. I usually start at like 18-20mm (if it will fit in the shell) test and log. Trim 1mm. Test and log. I have this data on every driver I choose for the build. I could share all that data but because Im essentially standardized to myself and my equipment/mics, the SPL in dB’s and other readings would be different from what you would have or are using. Plus, I always incorporate some sort of damper into the tube. Which, that will move as you trim. Lastly, Im also usually breadboarding with different components in multiple sequences. So, that wouldnt really help the matter. Hopefully my ramblings answer your question.