Docs
Atlias models and API keys
Atlias runs on a model you bring: a local model through Ollama, or your own key from a model provider. Usage is billed by that provider, not by Atlias.
Choose a connection
In the terminal, run /connect or /onboarding. In the app, open Connections and usage in the sidebar. Both list the same options.
| Connection | Key in your environment | Engine |
|---|---|---|
| ChatGPT plan | None: sign in with codex login | codex |
| Ollama, on your computer | None | ollama |
| Anthropic API | ANTHROPIC_API_KEY | anthropic |
| OpenAI API | ATLIAS_RESPONSES_API_KEY or OPENAI_API_KEY | responses |
| Google Gemini API | GEMINI_API_KEY or GOOGLE_API_KEY | gemini |
| DeepSeek | DEEPSEEK_API_KEY or ATLIAS_API_KEY | openai |
| Other OpenAI-compatible endpoint | ATLIAS_API_KEY | openai |
| A listed API provider | That provider's own variable | openai, or the engine listed for it |
With one connection set up, Atlias uses it. With several, pick one with /connect, the Use button in the app, or --engine on the command line. To let Atlias choose once at the start of each chat, run atlias config set agent.autoPick on; it prefers a local model over a paid API.
ChatGPT plan through Codex
This connection uses the Codex CLI you have installed and signed in yourself. Codex makes the model call for each turn; Atlias runs the tools, memory and checks. Codex's own tools are switched off for these calls. Atlias never reads Codex's sign-in files: it only asks codex login status whether you are signed in.
- Install the Codex CLI, or the Codex app, which includes it.
- In a terminal, run
codex loginand sign in with your ChatGPT account. - In the app, open Connections and usage and choose Use on the ChatGPT plan row. Settings > Model accounts shows whether Codex says you are signed in.
- In the terminal, run
/engine codex, or start withatlias agent --engine codex. To keep it as your engine, runatlias config set agent.engine codex.
The model is the one Codex uses unless you set agent.codexModel. Set the effort with /effort or agent.codexEffort: default, low, medium, high, xhigh or ultra.
Atlias looks for the Codex CLI in the Codex app's own folder on Windows, inside Codex.app on a Mac, in ~/.local/bin, npm's user folder and Homebrew on Linux, and then on your PATH. To use a different one, set ATLIAS_CODEX_BIN to its full path.
Local models with Ollama
- Install Ollama from ollama.com and open it.
- Download a model that fits your computer, for example
ollama pull gemma3:4b. - Run
/connectin Atlias, choose Ollama, and pick the installed model.
Atlias talks to Ollama at http://127.0.0.1:11434 unless you change agent.ollamaUrl. Nothing leaves your computer.
Your own API key
Create a key in your provider's console, set it in your environment (see below), then run /connect and choose the provider. Atlias fetches the provider's model list so you can pick one. Google Gemini offers free keys at aistudio.google.com.
For DeepSeek or another OpenAI-compatible provider, set the endpoint and model:
atlias config set agent.openaiUrl https://api.deepseek.comThen set agent.openaiModel to the model name your provider gives, or pick it in /connect.
API providers
Each provider below has a row in Connections and usage and in Settings > Model accounts, marked set up or not set up. A provider is set up when its key variable is in your environment; vLLM and Ollama are set up when their server answers. In the terminal, /provider lists them and /provider groq/llama-3.3-70b-versatile selects one. A model is written as provider/model: the part before the first slash is the provider, the rest is the model name exactly as that provider writes it.
Atlias sends each key only to its provider's own address. The addresses and key names are the ones in each provider's documentation.
| Provider | Prefix | Key in your environment | Address | How Atlias calls it |
|---|---|---|---|---|
| OpenAI | openai/ | OPENAI_API_KEY | https://api.openai.com/v1 | Uses the responses engine |
| Anthropic | anthropic/ | ANTHROPIC_API_KEY | https://api.anthropic.com/v1 | Uses the anthropic engine |
| Google Gemini | google/ | GEMINI_API_KEY | https://generativelanguage.googleapis.com/v1beta | Uses the gemini engine |
| Ollama | ollama/ | None | http://localhost:11434 | Uses the ollama engine |
| AI21 | ai21/ | AI21_API_KEY | https://api.ai21.com/studio/v1 | OpenAI-compatible |
| Baseten | baseten/ | BASETEN_API_KEY | https://inference.baseten.co/v1 | OpenAI-compatible |
| Cerebras | cerebras/ | CEREBRAS_API_KEY | https://api.cerebras.ai/v1 | OpenAI-compatible |
| Cohere | cohere/ | CO_API_KEY | https://api.cohere.ai/compatibility/v1 | OpenAI-compatible |
| Crusoe | crusoe/ | CRUSOE_API_KEY | https://api.inference.crusoecloud.com/v1 | OpenAI-compatible |
| DeepInfra | deepinfra/ | DEEPINFRA_API_KEY | https://api.deepinfra.com/v1/openai | OpenAI-compatible |
| Friendli | friendli/ | FRIENDLI_TOKEN | https://api.friendli.ai/serverless/v1 | OpenAI-compatible |
| Groq | groq/ | GROQ_API_KEY | https://api.groq.com/openai/v1 | OpenAI-compatible |
| Helicone | helicone/ | HELICONE_API_KEY | https://ai-gateway.helicone.ai/v1 | OpenAI-compatible |
| Hugging Face | huggingface/ | HF_TOKEN | https://router.huggingface.co/v1 | OpenAI-compatible |
| Hyperbolic | hyperbolic/ | HYPERBOLIC_API_KEY | https://api.hyperbolic.ai/inference/v1 | OpenAI-compatible |
| MiniMax | minimax/ | MINIMAX_API_KEY | https://api.minimax.io/v1 | OpenAI-compatible |
| Mistral | mistral/ | MISTRAL_API_KEY | https://api.mistral.ai/v1 | OpenAI-compatible |
| Moonshot | moonshot/ | MOONSHOT_API_KEY | https://api.moonshot.ai/v1 | OpenAI-compatible |
| Nebius | nebius/ | NEBIUS_API_KEY | https://api.tokenfactory.nebius.com/v1 | OpenAI-compatible |
| Novita AI | novita/ | NOVITA_API_KEY | https://api.novita.ai/openai/v1 | OpenAI-compatible |
| OpenRouter | openrouter/ | OPENROUTER_API_KEY | https://openrouter.ai/api/v1 | OpenAI-compatible |
| Parasail | parasail/ | PARASAIL_API_KEY | https://api.parasail.io/v1 | OpenAI-compatible |
| Reka | reka/ | REKA_API_KEY | https://api.reka.ai/v1 | OpenAI-compatible |
| SambaNova | sambanova/ | SAMBANOVA_API_KEY | https://api.sambanova.ai/v1 | OpenAI-compatible |
| SiliconFlow | siliconflow/ | SILICONFLOW_API_KEY | https://api.siliconflow.com/v1 | OpenAI-compatible |
| Together AI | together/ | TOGETHER_API_KEY | https://api.together.ai/v1 | OpenAI-compatible |
| Vercel AI Gateway | vercel/ | AI_GATEWAY_API_KEY | https://ai-gateway.vercel.sh/v1 | OpenAI-compatible |
| W&B Inference | wandb/ | WANDB_API_KEY | https://api.inference.wandb.ai/v1 | OpenAI-compatible |
| vLLM | vllm/ | VLLM_API_KEY | http://localhost:8000/v1 | OpenAI-compatible, on this computer |
| Azure OpenAI | azure/ | AZURE_OPENAI_API_KEY and AZURE_OPENAI_ENDPOINT | https://{resource}.openai.azure.com/openai/v1 | Own adapter |
| Amazon Bedrock | bedrock/ | AWS_BEARER_TOKEN_BEDROCK and AWS_REGION | https://bedrock-runtime.{region}.amazonaws.com/openai/v1 | Own adapter (SigV4 or Bedrock API key) |
Azure OpenAI: set AZURE_OPENAI_ENDPOINT to your resource address, such as https://my-resource.openai.azure.com, and use your deployment name as the model. Atlias uses the v1 API; set AZURE_OPENAI_API_VERSION to use the deployment URL with that api-version instead.
Amazon Bedrock: set AWS_REGION, and either a Bedrock API key in AWS_BEARER_TOKEN_BEDROCK or AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY (with AWS_SESSION_TOKEN for temporary keys). Bedrock serves only some models through Chat Completions.
Not listed: Lambda, because its inference API was shut down on 2025-09-25; Perplexity, because its docs say Sonar Chat Completions support ended on 2026-09-27; Nous Research, because its docs give no chat endpoint or tool-call details to check against.
Coding subscriptions
Some providers sell coding plans with their own keys. Set the key in your environment and choose the plan in /connect. Each plan has its own row in Connections and in Model accounts, marked set up or not set up:
- MiniMax M Plan:
ATLIAS_MINIMAX_PLAN_KEY - Kimi Code:
ATLIAS_KIMI_PLAN_KEY - Alibaba Cloud Coding Plan:
ATLIAS_QWEN_PLAN_KEY - Xiaomi MiMo Token Plan:
ATLIAS_MIMO_PLAN_KEY
Setting an API key
Atlias reads keys from your environment and never saves them in a chat or a config file. Never paste a key into a chat. /connections shows which keys Atlias can see, without showing them.
Windows
- Open the Start menu and search for Edit environment variables for your account.
- Under User variables, choose New. Enter the name, such as
ANTHROPIC_API_KEY, and paste the key as the value. - Choose OK, then quit and reopen Atlias and any open terminals.
macOS and Linux
For the terminal, add a line like export ANTHROPIC_API_KEY="your-key" to your shell profile, such as ~/.zshrc, and open a new terminal.
Apps opened from the Dock or Finder don't read your shell profile. For the Atlias Max app on a Mac, run launchctl setenv ANTHROPIC_API_KEY "your-key" in Terminal, then quit and reopen Atlias. Run it again after you restart the Mac.
Model and effort
/modelshows the current model;/model <name>switches to another one from the same connection./effortsets how hard the model thinks: low to max on Anthropic models, low, medium or high on Gemini./usageand/costshow the tokens the provider reported for the session.