つもり vs ようと思う — both 'plan to'?

「来年日本へ行くつもりです」and 「来年日本へ行こうと思っています」both showed up as 'I plan to go to Japan next year' in my textbook translations. Is there a difference in how firm the plan is?
Post
沐學 Mizuru