Skip to content

API Providers

N.E.K.O. supports two categories of API providers: Core (for real-time voice/multimodal) and Assist (for text-based tasks like summarization, emotion analysis, and vision).

Core API providers

Core providers must support Realtime API (WebSocket-based streaming).

ProviderWebSocket URLDefault model
freeBuilt-in serverfree-model
qwenwss://dashscope.aliyuncs.com/api-ws/v1/realtimeqwen3-omni-flash-realtime
openaiwss://api.openai.com/v1/realtimegpt-realtime-mini
stepwss://api.stepfun.com/v1/realtimestep-audio-2
geminiGoogle GenAI SDKgemini-2.5-flash-native-audio-preview-12-2025

TIP

The free tier uses a community server and requires no API key. It's suitable for testing but has limited capacity.

Assist API providers

Assist providers use OpenAI-compatible HTTP APIs for text-based tasks.

ProviderBase URL
qwenhttps://dashscope.aliyuncs.com/compatible-mode/v1
openaihttps://api.openai.com/v1
glmhttps://open.bigmodel.cn/api/paas/v4
stephttps://api.stepfun.com/v1
siliconhttps://api.siliconflow.cn/v1
geminihttps://generativelanguage.googleapis.com/v1beta/openai/
kimihttps://api.moonshot.cn/v1

Each assist provider defines models for these tasks:

TaskField in configPurpose
Conversationconversation_modelCharacter chat (offline mode)
Summarysummary_modelConversation summarization
Correctioncorrection_modelText correction
Emotionemotion_modelEmotion analysis
Visionvision_modelImage understanding
Agentagent_modelAgent task execution

Provider configuration

Providers are defined in config/api_providers.json. You can select providers through:

  1. Web UI at http://localhost:48911/api_key
  2. Environment variables NEKO_CORE_API and NEKO_ASSIST_API
  3. Config file core_config.json fields coreApi and assistApi

API key mapping

Each assist provider maps to a specific environment variable:

ProviderEnvironment variable
qwenNEKO_ASSIST_API_KEY_QWEN
openaiNEKO_ASSIST_API_KEY_OPENAI
glmNEKO_ASSIST_API_KEY_GLM
stepNEKO_ASSIST_API_KEY_STEP
siliconNEKO_ASSIST_API_KEY_SILICON
geminiNEKO_ASSIST_API_KEY_GEMINI
kimiNEKO_ASSIST_API_KEY_KIMI

Released under the MIT License.