Muse Code can sign in with a browser or an API key, and the key is also your way into Meta’s Model API. How to create a key, the environment variable each tool expects (META_API_KEY vs. MODEL_API_KEY), base URLs, per-token prices, rate limits, and the mistakes that cause surprise bills.