
On this page
Before you start Decide where inference may run Connect one model Ask one question you can check Separate conversation from worker models Choose capabilities deliberatelyPanCode lets you choose the model connection around your project. Start with the place your code is allowed to go, then choose a model and runtime that can do the task. A local GPU, a model server, an institutional gateway, and a cloud API are different deployment choices.
If you already connected a model, skip to Separate conversation from worker models below.
Before you start
- Linux, macOS, or WSL. The installer supplies Node.js.
- A repository you know, so you can judge the first answer.
- One model route you are allowed to use for this code: an app on your computer, a model server, an AI subscription, or a provider account.
Decide where inference may run
On first setup, Guided setup asks what you have. Choose by where the model input may go, then by what you already run.
| Answer | Where inference runs | What it covers |
|---|---|---|
| An API key | The provider | Anthropic, OpenAI, Google, OpenRouter, Groq, Mistral, DeepSeek, and others |
| A subscription | The provider | ChatGPT Plus or Pro, Claude Pro or Max, or GitHub Copilot |
| A model server or gateway | The server you name | Ollama, LM Studio, llama.cpp, vLLM, LiteLLM, or any OpenAI-compatible address |
| A setup file from my lab or team | The connections the file names | A path or https address someone gave you |
When setup finds a route first, such as a provider key in your environment or a model server on a default local port, it lists that route before asking. A subscription-backed route has its own authentication and usage conditions; it is not interchangeable with an API account. The connection guide covers each route.
Where each part runs
Your computer
PanCode and its tools
The session, repository tools, and approvals run where you start PanCode.
model requests
The route you choose
Inference
A local app, a model server, a subscription, or a provider API.
delegated work
Where a worker runs
Worker tools
On this computer by default, or on an SSH node you configure.
Connect one model
Install PanCode
Shell
curl -fsSL https://pancode.dev/install.sh | sh cd /path/to/your/projectStart guided setup
Shell
pancode configureChoose Guided setup. The desktop alpha offers the same wizard after
pancode gui --open. In a terminal session,/configopens your connections, where Add a connection runs the wizard without leaving the session.Pick the route and the model
Answer what you have, then provide the key, sign-in, or server address it asks for. Setup takes the provider's recommended model, or the only model a server lists; otherwise you pick from the list. For a local server with no models, load one and choose Check again.
Test the connection, then save
Setup sends the model one short test request and saves when it answers. After a failure you can try again, change the key or address, or choose Save anyway. The first connection supplies the chat and worker defaults, and
/modelchanges the model later.

01 When setup finds a stored sign-in it offers that first; Set up something else leads to the other routes. Terminal · v0.9.1

02 Guided setup asks what you have: an API key, a subscription, a model server or gateway, or a setup file. Terminal · v0.9.1

03 Accepting the offer tests the recommended model and saves it as the default for chat and workers. Terminal · v0.9.1
After setup, /model lists the models of every connection and switches the conversation between them:

Transcript
Switching models in PanCode
Recorded with PanCode 0.9.1. Each section is the terminal screen at that moment.
== ready
∀ PanCode 0.9.1 · Systems software for coding agents
/usage shows activity, accounts and model use.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Ask Panos…
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
∀ default · calibration-lab │ ✓ ready gpt-6-luna
== models
∀ PanCode 0.9.1
━ Models ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
all · 26 of 26 models · 1 target · ✓ current copilot · gpt-6-luna
model ctx caps target runtime
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
❯ ✓ gpt-6-luna 272k TRV copilot GitHub Copilot
auto ? T copilot GitHub Copilot
claude-sonnet-5.5 200k TRV copilot GitHub Copilot
claude-sonnet-5 200k TRV copilot GitHub Copilot
claude-opus-5.5 200k TRV copilot GitHub Copilot
claude-opus-4.8-fast 200k TRV copilot GitHub Copilot
claude-haiku-5.5 100k TRV copilot GitHub Copilot
claude-haiku-4.5 136k TV copilot GitHub Copilot
gpt-6.1-sol 272k TRV copilot GitHub Copilot
gpt-6-sol 272k TRV copilot GitHub Copilot
1–10 of 26 models · PgUp/PgDn page
✓ copilot · gpt-6-luna · healthy · in use, its connection's default · no sign-in needed
━━━━━━━━━━━━━━━━━ [type] filter · [Enter] use · [s] save · [Tab] focus/all · [*] fav · [Esc] close ━
∀ default · calibration-lab · main │ ✓ ready ctx 272k · low · gpt-6-luna
== sonnet
∀ PanCode 0.9.1
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Ask Panos… ? keys · / commands
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
∀ default · calibration-lab · main │ ✓ ready ctx 200k · low · claude-sonnet-5.5 · ?
== gemini
∀ PanCode 0.9.1
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Ask Panos… ? keys · / commands
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
∀ default · calibration-lab · main │ ✓ ready ctx 200k · low · gemini-4-argon · ?
== back
∀ PanCode 0.9.1
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Ask Panos… ? keys · / commands
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
∀ default · calibration-lab · main │ ✓ ready ctx 272k · low · gpt-6-luna · ?What you should see
When setup shows a model list, the list says whether it is live, cached, or the provider's catalog; a server that lists one model skips the list. The test request shows that the model answers; it does not test tool calling. An answer is useful, but it is not a coding benchmark.
Ask one question you can check
Explain this project's build and test entry points. Do not change files. Identify one check I could run to confirm your explanation.
Read the tool activity and compare the answer with the project. If it fails, check the endpoint, the loaded model, the credentials, and the selected runtime before giving it a larger assignment. pancode doctor provides diagnostics; it does not certify model quality.
Separate conversation from worker models
The model answering you need not handle every delegated task. The terminal /settings groups its rows into seven areas below Recent & Pinned, with the conversation model under Models and worker defaults under Workers.
pancode configure --settings opens the shell menu, which uses eight sections instead: the conversation model is under Chat and worker defaults under Fleet. On the desktop, Settings has a Models page and a Fleet routes tab. Select a connection and model for conversation, then use worker defaults or profiles for delegated work.

01 Settings: the model answering you, under Models. Terminal · v0.9.2

02 Settings: the default worker's connection, model and thinking level, under Workers. Terminal · v0.9.1
This helps when exploring a repository and changing code have different requirements, or when you want to keep a workflow while evaluating another model. The benefit depends on the task and environment; this guide makes no claim that a particular combination is cheaper or faster.
A worker running on your machine against a remote model server is still a local worker: inference and tool execution are separate choices. To run the worker process on another machine, use the fleet configuration.
Choose capabilities deliberately
PanCode supports more than one kind of model interaction. Its Inception runtime serves Mercury diffusion language models as chat models with tool calling. Optional, experimental System One routes answer typed questions an agent asks through consult. Neither replaces a chat model or is required to get started.
Vision support depends on the model and the route. A model advertised as multimodal is not enough if the bridge does not carry images: the managed Codex, Pi, OpenCode, Claude Code, and Antigravity CLI bridges are text-only. Check what the route accepts before attaching a screenshot.
Know where information goes
- PanCode runs locally, but a configured cloud model receives the input sent to that provider.
- Local inference keeps inference on the selected server; tools, peers, plugins, and commands can still make network requests.
- PanCode is free for individuals, small organizations (fewer than 100 people and under $1M revenue), and noncommercial research and teaching. Inference hardware, provider usage, and subscriptions can still cost money.