Skip to main content
To use Chibi’s full potential, you’ll need API keys from various AI providers. This guide provides direct links to sign up and generate keys for each supported service.

🤖 Major LLM Providers

ProviderKey VariableSign Up & Get KeyNotes
OpenAIOPENAI_API_KEYplatform.openai.com/api-keysGPT-4, GPT-4o, DALL·E 3, Whisper.
AnthropicANTHROPIC_API_KEYconsole.anthropic.comClaude 3.5 Sonnet, Claude 3 Opus. Navigate to “API Keys”.
GoogleGEMINI_API_KEYaistudio.google.com/apikeyGemini Pro/Flash, Imagen, Nano Banana. Often has a generous free tier.
DeepSeekDEEPSEEK_API_KEYplatform.deepseek.comStrong coding models (DeepSeek-V3), very cost-effective.
xAIGROK_API_KEYconsole.x.aiGrok models. Check docs.x.ai for API access.
Mistral AIMISTRALAI_API_KEYconsole.mistral.aiEuropean open-weights models. Navigate to “API Keys”.
Alibaba CloudALIBABA_API_KEYmodelstudio.console.alibabacloud.comQwen (text) and Wan (image) models via DashScope.
Moonshot AIMOONSHOTAI_API_KEYplatform.moonshot.cnKimi models with long context (200K+ tokens).
MiniMaxMINIMAX_API_KEYplatform.minimaxi.comText generation (MiniMax-M2.x), image generation (MiniMax-Image-01), and high-quality speech synthesis.
ZhipuAIZHIPUAI_API_KEYz.ai/manage-apikey/apikey-listGLM models, strong Chinese language support, competitive pricing.

☁️ Cloud & Infrastructure

ProviderKey VariableSign Up & Get KeyNotes
CloudflareCLOUDFLARE_API_KEYdash.cloudflare.com/profile/api-tokensWorkers AI (44+ open-source models). Requires CLOUDFLARE_ACCOUNT_ID and API token with Account.Workers AI permissions.
AWSAWS_ACCESS_KEY_IDaws.amazon.comFor DynamoDB storage backend. Also requires AWS_SECRET_ACCESS_KEY.

🎨 Creative & Specialized Services

ProviderKey VariableSign Up & Get KeyNotes
ElevenLabsELEVEN_LABS_API_KEYelevenlabs.ioPremium Text-to-Speech and voice cloning. Navigate to profile → API Keys.
SunoSUNO_API_ORG_API_KEYsunoapi.orgMusic generation via unofficial API. Sign up and navigate to API Keys.

🔧 Self-Hosted / Local Options

For OpenAI-compatible endpoints (Ollama, vLLM, LM Studio, etc.), you typically don’t need external API keys:
ServiceKey VariableSetup LinkNotes
OllamaCUSTOMOPENAI_API_KEYollama.comSet CUSTOMOPENAI_URL=http://localhost:11434/v1. Key can be any non-empty string.
vLLMCUSTOMOPENAI_API_KEYdocs.vllm.aiPoint CUSTOMOPENAI_URL to your vLLM server.
LM StudioCUSTOMOPENAI_API_KEYlmstudio.aiDefault: CUSTOMOPENAI_URL=http://localhost:1234/v1.

🔐 Security Tips

  • Never commit API keys to version control. Use .env files and add them to .gitignore.
  • Use environment variables or secret management tools (e.g., Docker secrets, AWS Secrets Manager).
  • Rotate keys regularly, especially if they’re exposed or shared.
  • Monitor usage via provider dashboards to detect unauthorized access.
  • Set spending limits where available (OpenAI, Anthropic, etc.) to avoid surprise bills.

💡 Public Mode

If you’re running Chibi in Public Mode (PUBLIC_MODE=True), you don’t need to provide master API keys. Instead, each user will be prompted to provide their own keys via private message when they first interact with the bot. This is ideal for:
  • Shared/community bots
  • Avoiding centralized billing
  • Letting users control their own API usage
See Deployment Modes for more details.
Need help? Check the FAQ or Troubleshooting guide.