GuLiN supports a wide range of AI providers through a unified backend abstraction. You can connect to any cloud provider, run a fully local model with Ollama or LM Studio, or point GuLiN at any OpenAI-compatible endpoint. Switching providers is non-destructive: your chat history and Gulin Brain memories are shared across all providers, so changing models mid-project does not interrupt your flow.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jorgeurtubiam-ship-it/Gulin_ia/llms.txt
Use this file to discover all available pages before exploring further.
Hot-switching models: Use the model dropdown at the top of the AI panel to change the active model at any time. The chat history is preserved — the next message simply uses the newly selected provider and model. You can switch from GPT to Claude to Gemini within the same conversation.
Settings Keys
All AI provider settings are written to~/.config/gulin/settings.json (or %APPDATA%/gulin/settings.json on Windows). The following keys control provider behavior:
| Key | Type | Description |
|---|---|---|
ai:apitype | string | Backend type: openai, anthropic, google, azure, azure-legacy, ollama, openai-compatible |
ai:baseurl | string | Override the provider’s API base URL |
ai:apitoken | string | Your API key or token for the provider |
ai:model | string | Model identifier to use (e.g. gpt-4o, claude-3-5-sonnet-20241022) |
ai:maxtokens | number | Maximum tokens in the completion (default: 4000) |
ai:timeoutms | number | Request timeout in milliseconds (default: 60000) |
ai:orgid | string | OpenAI organization ID (optional) |
ai:apiversion | string | API version string — required for Azure; optional for Anthropic |
ai:proxyurl | string | HTTP/HTTPS proxy URL to route all AI API requests through |
Provider Configuration
- OpenAI
- Anthropic Claude
- Google Gemini
- Azure OpenAI
- Ollama (Local)
- OpenAI-Compatible
OpenAI uses the To use your OpenAI Organization ID:The default GuLiN preset uses the GuLiN cloud proxy with
openai API type. GuLiN supports all chat completion models including reasoning models (o1, o3, o4, gpt-5 families). For reasoning models, MaxCompletionTokens is used automatically instead of MaxTokens.gpt-5-mini. To use your own key, set ai:apitype and ai:apitoken directly.Custom Provider Example
You can define a completely custom provider by editing yoursettings.json directly. Environment variables are supported via the $ENV:<VAR>:<fallback> syntax:
$ENV: prefix tells GuLiN to resolve the value from the named environment variable at startup. If the variable is not set, the optional fallback value (after the second :) is used instead.
Provider Comparison
| Provider | API Type | Base URL | Key Required |
|---|---|---|---|
| OpenAI | openai | (default) | Yes |
| Anthropic Claude | anthropic | (default) | Yes |
| Google Gemini | google | (default) | Yes |
| Azure OpenAI | azure / azure-legacy | Custom required | Yes |
| DeepSeek | openai | https://api.deepseek.com/v1 | Yes |
| OpenRouter | openai | https://openrouter.ai/api/v1 | Yes |
| Ollama | openai | http://localhost:11434/v1 | No |
| LM Studio | openai | http://localhost:1234/v1 | No |