Question · Vibe coding with Claude Code course · Module 15: Advanced Claude Code

Quiz: An approved API key

You have a paid plan, and in an interactive session you approved the key from ANTHROPIC_API_KEY. What happens?

Answer options

  • The key works only in -p mode, and interactive sessions still use the plan limit
  • The key switches on only after the plan limit runs out, like usage credits
  • You pay for tokens from the API account although your plan is paid; you change the choice in /config, and /status shows which login is in effect
  • /schedule tasks start paying from the key instead of the subscription

You can check the correct answer by solving this task in the CodeWorlds game.