Skip to content

Providers and API keys

Where to get an API key for every provider, how 9Router and OpenAI-compatible endpoints work, and how users add their own keys.

2 min readUpdated
On this page4 sections

Getting a key

ProviderCreate a key atNotes
OpenAIplatform.openai.com/api-keysGPT models with tools and images
Anthropicplatform.claude.com/settings/keysClaude models; thinking is shown under Show thought process
Google Geminiaistudio.google.com/apikeyHas a free tier with a small daily request limit per model
OpenRouteropenrouter.ai/settings/keysHundreds of models with one key
xAIconsole.x.aiGrok models
Z.AIz.ai/manage-apikey/apikey-listGLM models
Moonshot AIplatform.moonshot.ai/console/api-keysKimi models
Groqconsole.groq.com/keysVery fast open models

Choosing models

AI Helper reads files, logs and settings with tools, so pick models that support tool calling. Models that can see images also answer questions about screenshots. When a model can't read images, AI Helper notices it, leaves the images out and tells the user.

Fast, low-cost models are a good default for everyday questions. Offer a stronger model next to it for hard crashes, and let users switch in the model picker.

9Router and other OpenAI-compatible endpoints

9Router is a self-hosted router that combines your AI subscriptions and free models behind one OpenAI-compatible endpoint. Run it on a machine the Panel can reach, choose 9Router as the provider and set Base URL to its address, for example http://10.0.0.12:20128/v1. Paste its key if you set one.

Choose OpenAI compatible for any other service that speaks the OpenAI Chat Completions API, such as a gateway, a proxy or a local model server. Set its Base URL (ending in /v1 for most services) and click Load models from the provider. If the service has no model list, type the model IDs yourself.

Users' own keys

When Own API keys is on, users open Account → AI Helper and add a key for any allowed provider:

  1. Choose the provider and paste the key.
  2. Click Load models and pick a model.
  3. Keep Use this key by default on to use it for new messages, then click Check and save key.

The key is tested before it is saved, stored encrypted and only ever shown masked, like sk-...b81e. Replies with an own key skip the panel quota; the page shows the tokens used with each kind of key. Users can test, remove or stop using a key at any time.