First, you need to work with absolute pressures (gauge plus atmospheric pressure) when working with gases. This might be implied I realize in your post. Assuming you are talking about absolute pressures and you want volumetric or mol% and the gases act as ideal gases as BRT549, then 10 psia of methane with the balance being nitrogen with a total system pressure of 400 psia would give you 2.5% methane. Lots of ifs there I know.
Secondly, there are compressibility issues with gases at higher pressures where they no longer act purely as ideal gases. This can be avoided as a factor if, as I think you imply, you intend to make this mixture by filling the cylinder first with 10psi of methane (methane acts as an ideal gas at this pressure) and then pressuring it up to 400 psi with nitrogen (nitrogen still essentially acts as an ideal gas at this pressure). And to top the whole thing off, there may be some temperature effects to think about depending how accurate of a mixture you need.
[Interesting question for everyone. What drives the compressiblity factor for the methane in the mixture at 400 psi? The system pressure or the partial pressure of methane?]
Finally, how accurate of a blend do you need and how do you plan to make this blend (eg, flow control both streams into the cylinder, pressure the tank first with one component and then top up the tank with the other to the final 400 psi, etc?).