AI Chat Models
OpenCompany supports 12 providers (11 dedicated model nodes, plus xAI through the OpenAI-compatible path), with models fetched dynamically from each provider’s API (and, for the local nodes, from your running server). The backend uses a hybrid architecture: a native SDK layer inserver/services/llm/ for direct chat completions, and a LangChain + LangGraph path for agent tool-calling.
Available Chat-Model Nodes
xAI (Grok) is native-chat-only: it runs through the shared OpenAI-compatible provider with
base_url=https://api.x.ai/v1 and is not wired as an agent provider. Ollama and LM Studio connect to a local server running on your machine.Adding API Keys
- Click the key icon in the toolbar
- Select the provider
- Enter your API key
- Click Validate to test
API keys are encrypted and stored locally. They’re never sent to OpenCompany servers.
OpenAI Chat Model
Models
Parameters
select
required
The model to use
string
required
The message to send. Supports template variables.
slider
default:"0.7"
Randomness (0 = deterministic, 1 = creative)
number
default:"1000"
Maximum response length
select
default:"text"
Output format: text or json_object
select
default:"medium"
For o-series and GPT-5 hybrid reasoning: low, medium, high (GPT-5 also supports xhigh)
Output
Anthropic Claude Model
Models
Parameters
select
required
Claude model to use
string
required
The message to send
string
System instructions for the model
slider
default:"0.7"
Randomness (0-1)
number
default:"1000"
Maximum response length
boolean
default:"false"
Enable extended thinking mode (all Claude 4.x models)
number
default:"2048"
Token budget for thinking (1024-16000). Shown when thinkingEnabled is true.
Extended Thinking
Claude’s extended thinking mode shows the model’s reasoning process:Anthropic model IDs use hyphens, not dots (
claude-sonnet-4-6, not claude-sonnet-4.6).Google Gemini Model
Models
Parameters
select
required
Gemini model to use
string
required
The message to send
slider
default:"0.7"
Randomness (0-1)
number
default:"1000"
Maximum response length
select
default:"default"
Content safety level
boolean
default:"false"
Enable thinking mode (Gemini 3.x and 2.5 models)
Output
OpenRouter Model
OpenRouter provides access to 200+ models from multiple providers through a single API.Features
- Unified API: One API key for OpenAI, Anthropic, Google, Meta, Mistral, and more
- Free Models: Some models available at no cost (marked with [FREE] prefix)
- Fallback: Automatic model fallback if primary is unavailable
Models
Models are grouped by cost in the dropdown:- Free models: [FREE] prefix, no cost
- Paid models: Standard pricing per provider
openai/gpt-5.5anthropic/claude-sonnet-4.6(the OpenRouter default)google/gemini-3.5-flashmeta-llama/llama-3.3-70b-instructmistralai/mistral-large-latest
Parameters
select
required
Model in format: provider/model-name
string
required
The message to send
slider
default:"0.7"
Randomness (0-1)
number
default:"1000"
Maximum response length
Output
Groq Model
Groq provides ultra-fast inference on custom LPU (Language Processing Unit) hardware.Models
Parameters
select
required
Groq model to use
string
required
The message to send
slider
default:"0.7"
Randomness (0-1)
number
default:"1000"
Maximum response length
select
default:"parsed"
For Qwen3 models: “parsed” returns reasoning, “hidden” returns only final answer
Reasoning Output
Qwen3-32b supports reasoning output:Cerebras Model
Cerebras provides ultra-fast inference on custom wafer-scale AI hardware.Models
Parameters
select
required
Cerebras model to use
string
required
The message to send
slider
default:"0.7"
Randomness (0-1)
number
default:"1000"
Maximum response length
Output
DeepSeek
DeepSeek V4 models with reasoning support and long context.Models
The legacy
deepseek-chat and deepseek-reasoner aliases still resolve (scheduled for deprecation 2026-07-24). deepseek-reasoner returns always-on reasoning in the thinking field.Parameters
select
required
DeepSeek model
string
required
The message to send
slider
default:"0.7"
Randomness (0-2)
number
default:"8192"
Maximum response length (up to 64K)
Reasoning Output
DeepSeek’s reasoning is mapped to the standardthinking field:
Kimi (Moonshot AI)
Moonshot’s Kimi models with 256K context window and thinking on by default.Models
Parameters
select
required
Kimi model
string
required
The message to send
number
default:"4096"
Maximum response length (up to 96K)
Output
Mistral
Mistral AI models including Large, Small, and Codestral for code tasks.Models
Parameters
select
required
Mistral model
string
required
The message to send
slider
default:"0.7"
Randomness (0-1.5)
number
default:"8192"
Maximum response length (up to 131K)
Output
Mistral models support up to 256K context but do not have a thinking mode. Temperature range is 0-1.5 (not 0-2).
Ollama (Local)
Run models locally through an Ollama server. No API key is needed; instead you point OpenCompany at your running server’s URL in the Credentials Modal (defaulthttp://localhost:11434/v1).
Models
The dropdown reflects whatever you have pulled into Ollama (e.g.qwen2.5, llama3.x, phi-3, deepseek-r1). OpenCompany probes your running server via the official Ollama Python SDK and reads per-model context length directly. When the server is offline the list is empty, cueing you to start it.
Parameters
select
required
A model loaded in your local Ollama server
string
required
The message to send
slider
default:"0.7"
Randomness (0-2)
number
default:"4096"
Maximum response length (per-model, roughly context / 4, capped at 4096)
Traffic stays on your machine. OpenCompany sends requests to your local server URL, never to a cloud API.
LM Studio (Local)
Run models locally through the LM Studio server. Like Ollama, no API key is required; you set your local server URL in the Credentials Modal (defaulthttp://localhost:1234/v1).
Models
The dropdown reflects whatever you have loaded in the LM Studio UI. OpenCompany probes the running server via the official LM Studio Python SDK and reads typed model info (context length, tool-use support, vision).Parameters
select
required
A model loaded in your LM Studio server
string
required
The message to send
slider
default:"0.7"
Randomness (0-2)
number
default:"4096"
Maximum response length (per-model, roughly context / 4, capped at 4096)
Native SDK vs LangChain Path
OpenCompany uses a hybrid architecture for LLM access:- Native SDK path (
server/services/llm/): Used byexecute_chat()for direct chat completions. Returns a normalizedLLMResponseacross providers. This path also serves the OpenAI-compatible providers including DeepSeek, Kimi, Mistral, xAI, Ollama, and LM Studio. - LangChain path: Used by
execute_agent()andexecute_chat_agent()for tool-calling agents via LangGraph. All chat-model providers are supported (Groq and Cerebras use this path for direct chat too).
OpenAIProvider class with base_url read from server/config/llm_defaults.json. For the local nodes (Ollama, LM Studio) the base_url resolves to your machine’s server URL, so traffic never leaves your host. Adding a new OpenAI-compatible provider is largely a config change.
Thinking/Reasoning Modes
Several providers support extended thinking or reasoning modes that show the model’s internal reasoning process.Using Thinking Output
Thethinking field is available in the node output for downstream nodes:
Comparing Providers
Ollama and LM Studio are local nodes: capabilities depend entirely on the model you have pulled/loaded.
Common Use Cases
Text Generation
Data Extraction
Complex Reasoning (with thinking)
Tips
Error Handling
Related
AI Agent
Use models with memory and tools
AI Skills
Extend Chat Agent capabilities
AI Tools
Tool nodes for AI agents
AI Tutorial
Build an AI-powered workflow