OpenAI API key: create, fund, and fix errors

If OpenAI replies fail, the cause is usually billing, key mismatch, or model access. This checklist resolves the common setup failures quickly.

1

Create API key

  1. Open your OpenAI account dashboard and create a new API key.
  2. Copy it once and store in your password manager.
  3. Add it to your agent as OPENAI_API_KEY.
2

Enable billing and limits

Add a valid payment method, confirm your usage limits, and wait a few minutes for account updates to propagate.

3

Fix common errors

  • insufficient_quota: add funds or increase limits.
  • 401 unauthorized: invalid or wrong key in environment.
  • model not found: use a model your account can access.

Sign up

Welcome to ClawNode

Pick a plan: OpenClaw (bring your own API key) or a Node (Ollama + open-source LLM preinstalled).

or

By selecting Agree and continue, I agree to ClawNode's Terms of Service and Privacy Policy.

or

Already have an account? Log in