EigentDocs
12.1KDownload

Getting Started

  • Welcome
  • Installation
  • Quick Start
  • Self-Hosting

Modes

  • Single Agent
  • Workforce

Models

  • Overview
  • Eigent Cloud
  • BYOK
  • Local Model
  • Provider Reference
  • Provider Models
  • Gemini
  • ERNIE
  • MiniMax
  • Kimi
  • SambaNova

Connectors & Skills

  • MCP
  • Skills
  • Scheduled
  • Browser
  • Dispatch

Community & Support

  • Community

Privacy & Policy

  • Privacy Policy
  • Terms of Use
  • Cookie Policy

Bring Your Own Key (BYOK)

Configure your own API keys to use various LLM providers with Eigent.


Bring Your Own Key configuration

What is BYOK?

Bring Your Own Key (BYOK) allows you to use your own API keys from various AI model providers with Eigent. Instead of relying on a shared service, you connect directly to providers like OpenAI, Anthropic, or Google using your personal API credentials. This gives you:

  • Full control over your API usage and billing
  • Direct access to the latest models from each provider
  • Privacy - your requests go directly to the provider

Gemini Configuration (Example)

Step 1: Get Your API Key

  1. Visit Google AI Studio
  2. Create or select a project
  3. Generate an API key and copy it

Step 2: Configure in Eigent

  1. Launch Eigent and go to Agents > Models

  2. Find the Gemini card in the Custom Model section

Gemini configuration fields

  1. Fill in the following fields:
Field Value Example
API Key Your Gemini API key AIza...
API Host Gemini API endpoint https://generativelanguage.googleapis.com/v1beta/openai/
Model Type The model you want to use gemini-3.5-flash
  1. Click Save to validate and store your configuration
  2. Click Set as Default to use this provider for your agents

Configuration Fields

Field Description Required
API Key Your authentication key from the provider Yes
API Host The API endpoint URL Yes (pre-filled for most providers)
Model Type The specific model variant to use Yes
External Config Provider-specific settings (e.g., Azure deployment name) Only for certain providers

Common Errors

When saving your configuration, Eigent validates your API key and model. Here are the errors you may encounter:

Error Cause Solution
Invalid key. Validation failed. API key is incorrect, expired, or malformed Double-check your API key. Regenerate a new key if needed.
Invalid model name. Validation failed. The specified model does not exist or is not available for your account Verify the model name is correct. Check if you have access to that model.
You exceeded your current quota API quota exhausted or billing issue Check your provider's billing dashboard. Add credits or upgrade your plan.

Supported Providers

Eigent supports the following BYOK providers:

Provider Default API Host Official Documentation
Google Gemini https://generativelanguage.googleapis.com/v1beta/openai/ Gemini API Docs
OpenAI https://api.openai.com/v1 OpenAI API Docs
Anthropic https://api.anthropic.com Anthropic API Docs
OrcaRouter https://api.orcarouter.ai/v1 OrcaRouter Docs
OpenRouter https://openrouter.ai/api/v1 OpenRouter Docs
Qwen (Alibaba) https://dashscope.aliyuncs.com/compatible-mode/v1 Qwen API Docs
DeepSeek https://api.deepseek.com DeepSeek API Docs
MiniMax https://api.minimax.io/v1 MiniMax API Docs
Z.ai https://api.z.ai/api/coding/paas/v4/ Z.ai Developer Docs
Moonshot https://api.moonshot.ai/v1 Moonshot AI Platform
ModelArk https://ark.ap-southeast.bytepluses.com/api/v3 ModelArk Docs
SambaNova https://api.sambanova.ai/v1 SambaNova API Reference
Grok https://api.x.ai/v1 xAI Docs
Mistral https://api.mistral.ai Mistral API Docs
AWS Bedrock https://bedrock-mantle.us-east-1.api.aws/v1 AWS Bedrock Docs
AWS Bedrock Converse https://bedrock-runtime.us-east-1.amazonaws.com Bedrock Converse API
Azure OpenAI (user-provided) Azure OpenAI Docs
Baidu ERNIE https://qianfan.baidubce.com/v2 Baidu Qianfan Docs
OpenAI Compatible (user-provided) For custom endpoints (e.g., xAI, local servers)

Tips

  • Keep your API key secure - Never share or expose your API key publicly
  • Monitor usage - Check your provider's dashboard regularly to track costs
  • Use appropriate models - Different models have different capabilities and pricing

Eigent CloudLocal Model

On this page

  • What is BYOK?
  • Gemini Configuration (Example)
  • Configuration Fields
  • Common Errors
  • Supported Providers
  • Tips
ProductEigentEnvironmentsPricingEnterprise
ExploreSolutionsUse CasesSkillsPluginsBlog
DevelopersDocsGitHubCAMEL-AIOpen Source FundPartner
CompanyAboutBrandCareersTerms of UsePrivacy PolicyCookie Policy
DownloadOpen Source

© 2026 Eigent AI. All rights reserved.

GitHubDiscordYouTubeLinkedInX