api_keys

x47 works out of the box without any configuration. Add your own API keys if you want higher rate limits, access to specific models, or to use your existing provider accounts.

no setup required

You can start using x47 immediately - just open the console and run prompts. Custom API keys are optional and only needed if you want to:

  • Use higher rate limits or quotas
  • Access models not available by default
  • Use your existing provider accounts and billing

Your keys stay local

Your API keys are stored in your browser's localStorage. They are never sent to x47 servers. Keys are only transmitted directly to the respective AI provider when you execute a prompt.

adding_keys_in_x47

  1. Open the console
  2. Click the "api_keys" button in the header
  3. Select the provider tab you want to configure
  4. Paste your API key in the input field
  5. Click "Save" to store your key

getting_api_keys

Available models:

GPT-5.1GPT-4o

Steps to get your key:

  1. Go to the OpenAI Platform
  2. Sign in or create an account
  3. Navigate to API Keys section
  4. Click "Create new secret key"
  5. Copy the key (it won't be shown again)

Note: OpenAI keys start with 'sk-'. You'll need a paid account or credits to use the API.

Anthropic

Get API Key

Available models:

Claude Opus 4Claude Sonnet 4

Steps to get your key:

  1. Go to the Anthropic Console
  2. Sign in or create an account
  3. Navigate to API Keys in Settings
  4. Click "Create Key"
  5. Name your key and copy it

Note: Anthropic keys start with 'sk-ant-'. You may need to add billing information first.

Google AI

Get API Key

Available models:

Gemini 2.5 ProGemini 2.0 Flash

Steps to get your key:

  1. Go to Google AI Studio
  2. Sign in with your Google account
  3. Click "Get API Key" in the top right
  4. Create a new API key or use an existing one
  5. Copy your API key

Note: Google AI has a free tier with generous limits. No credit card required to start.

DeepSeek

Get API Key

Available models:

DeepSeek R1DeepSeek Reasoner

Steps to get your key:

  1. Go to the DeepSeek Platform
  2. Sign in or create an account
  3. Navigate to API Keys section
  4. Create a new API key
  5. Copy the key

Note: DeepSeek offers competitive pricing and strong reasoning capabilities.

Together AI

Get API Key

Available models:

Llama 4 Maverick

Steps to get your key:

  1. Go to Together AI
  2. Sign in or create an account
  3. Navigate to Settings > API Keys
  4. Generate a new API key
  5. Copy your key

Note: Together AI provides access to open-source models including Meta's Llama.

security_tips

Keep your API keys secure:

  • Never share your API keys with others
  • Don't commit API keys to version control
  • Rotate keys periodically for better security
  • Set usage limits in your provider dashboard
  • Monitor your API usage for unexpected activity

troubleshooting

"Invalid API key" error

Double-check that you copied the entire key without extra spaces. Some keys are quite long - make sure you got it all.

"Insufficient quota" error

Your API account may need billing information added, or you've exceeded your free tier limits. Check your provider dashboard.

Model not responding

Ensure you have the correct API key for the provider. Each provider requires its own separate key - you can't use an OpenAI key with Anthropic, etc.