AI Accounts & Routing

Connecting AI Accounts

Connect 15+ AI coding agents, OpenCode model providers, local models, web bridges (ChatGPT & Gemini), and the Jev routing model in one workspace.

LightCode brings your existing AI subscriptions, CLI logins, API keys, web accounts, and local open-source models into one workspace—so you can combine strengths across providers and add backup accounts for uninterrupted flow.

Supported platforms & providers#

ProviderBest suited forHow it connects
Claude CodeFull-stack features, deep architecture, and careful multi-file editsExisting machine login, isolated profile sign-in, or API key
CodexFast implementation, deep debugging, audits, and refactorsExisting machine login, isolated profile sign-in, or API key
Gemini CLIBroad repository context, planning, and rapid explorationBrowser OAuth session or API key
AntigravityFrontend design, visual understanding, and autonomous executionExisting machine login or isolated account profile
OpenCodeAccess to 12+ cloud & local model ecosystems under one roofFree built-in models, provider API keys, or local base URL
ChatGPT (web)Connecting your ChatGPT web plan directly to project filesBuilt-in MCP bridge + isolated ChatGPT browser session
Gemini (web)Running sessions, questions, and image generation via your Google accountIsolated browser sign-in with live usage tracking
Jev (TypeSafe)Ultra-fast routing model (~0.3–0.5s) for Auto task classification and team coordinationTypeSafe API key + optional Console balance sync

OpenCode model providers (12+ built-in vendors)#

Through OpenCode, LightCode connects directly to leading global, regional, and local model ecosystems:

  • OpenCode: Free built-in models to start immediately with no API key required.
  • DeepSeek: Strong at algorithms, math, and backend logic.
  • Kimi (Moonshot): Long specifications, large documents, and deep research (Global and China endpoints).
  • Qwen (Alibaba Cloud): Multilingual apps and repository-scale coding (Global and China endpoints).
  • GLM (Zhipu): Multi-step agent flows and web automation (Global and China endpoints).
  • MiniMax: Interactive web UI and product copywriting.
  • Mistral: Fast edits, unit tests, and structured OCR/JSON tasks.
  • Groq: Ultra-fast inference for rapid iteration loops.
  • Grok (xAI): Fast reasoning and real-time knowledge.
  • Muse (Meta): Meta's Muse Spark models.
  • OpenRouter: Access 300+ models through a single API key.
  • Opensource Model: Connect offline local engines such as Ollama, vLLM, or HuggingFace endpoints by specifying a custom base URL and model name.

Auto-installing missing CLIs: If a CLI agent (such as Claude Code, Codex, Gemini CLI, or Antigravity) is not installed on your computer yet, LightCode offers a one-click install right inside the Add account dialog.

Adding multiple backup accounts#

You can connect several accounts for the same provider (for example, Work, Personal, or Backup):

  1. Click Add account in the Accounts & Quota section of the left sidebar.
  2. Any login already saved on your computer is detected automatically.
  3. To add a second or third account without logging out of your main one, click Add Account, enter a clear label, and sign in inside its own isolated profile folder.
  4. Set account Priority order so LightCode uses your preferred subscription first and keeps pay-per-token API accounts as controlled backups.

Pay-per-token protection: API key accounts are never chosen just because they happen to be idle—they follow the exact priority order you configure so spending stays predictable.

Web bridges: ChatGPT (web) & Gemini (web)#

Already pay for ChatGPT Plus/Pro or Gemini Advanced on the web? LightCode lets you use them directly on your local codebase:

  • ChatGPT (web): Starts a local MCP bridge (with optional secure tunnel) and guides you through connecting your ChatGPT account to a project folder. You control whether ChatGPT can read only, write files, or run commands, and can view a live activity log of every tool call.
  • Gemini (web): Opens an isolated browser sign-in to gemini.google.com. Once signed in, Gemini appears directly in your session provider picker so it can answer questions, inspect files, edit code, and generate images while LightCode tracks its current and weekly usage bars.

Linking CLI and web accounts#

When you sign in to Codex and ChatGPT (web)—or Antigravity and Gemini (web)—with the same account, LightCode offers to link the matching partner account using your existing browser session cookies so you do not have to sign in twice. Linking is always optional and keeps each browser profile isolated.

Adding Jev for faster routing#

Jev is a specialized decision model (configured in Add account → Jev using your TypeSafe API key, plus optional sign-in to console.typesafe.ai to display live USD balance and spend). It does not run coding sessions directly; instead, it supercharges Auto threads by routing requests in under half a second, offloading lightweight turns to save your primary coding quota, and helping coordinate multi-agent sessions.