Skip to main content
Claude Code is Anthropic’s terminal-based coding agent.

Quick start

Install Node.js 18 or later before you begin. Install Claude Code in the terminal:
Open Claude Code’s local settings file to configure access through GeekAI:
On Windows, create or edit settings.json in %USERPROFILE%\.claude. %USERPROFILE% is your user directory, such as C:\Users\GeekAI for the Windows user GeekAI.
In settings.json, enter:
Replace <YOUR_GEEKAI_API_KEY> with your GeekAI API key. If you use GeekAI International, use its endpoint and a key issued by that service instead:
Do not append /v1 to the base URL; doing so causes requests to fail.
The default balanced routing policy works for individual developers. For larger projects or faster responses, edit your key on the API Keys page and select Speed first. This route supports caching and costs 40% of the official price. Selecting the speed-first routing policy for Claude Code For smaller projects, you can reduce the cost to 20% of the official price by selecting the low-cost channel and keeping the Speed first policy: Selecting the low-cost channel for Claude Code Save the settings and launch Claude Code:
Starting Claude Code for the first time On first launch, press Enter to accept the setup prompts. At the interactive prompt, ask Claude for coding suggestions or help with a problem: Coding with Claude Code through GeekAI

Customize Claude Code

You can add the following options to env in settings.json:
  • ANTHROPIC_MODEL: Main model (default: claude-sonnet-4-5-20250929).
  • ANTHROPIC_SMALL_FAST_MODEL: Model for background tasks (default: claude-haiku-4-5-20251001).
  • BASH_DEFAULT_TIMEOUT_MS: Default timeout for long-running Bash commands.
  • BASH_MAX_TIMEOUT_MS: Maximum timeout the model can request for a Bash command.
  • BASH_MAX_OUTPUT_LENGTH: Maximum output length for a Bash command.
  • CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR: Return to the original working directory after each Bash command.
  • CLAUDE_CODE_MAX_OUTPUT_TOKENS: Maximum number of tokens the model can generate.
  • HTTP_PROXY: HTTP proxy server for network connections.
  • HTTPS_PROXY: HTTPS proxy server for network connections.
  • MAX_THINKING_TOKENS: Enforced token budget for thinking.
  • MCP_TIMEOUT: MCP server startup timeout in milliseconds.
  • MCP_TOOL_TIMEOUT: MCP tool execution timeout in milliseconds.
  • MAX_MCP_OUTPUT_TOKENS: Maximum tokens allowed in an MCP tool response (default: 25000).
To manage global Claude Code settings:
  • List settings: claude config list
  • Read a setting: claude config get <key>
  • Change a setting: claude config set <key> <value>
For example, set the theme:
To display full Bash command output:
See the official settings documentation for more options.

Use third-party models

Kimi K2

After configuring GeekAI as your provider, use /model to switch to Kimi K2:
Using Kimi K2 in Claude Code

DeepSeek V3.1

To switch to DeepSeek V3.1 through GeekAI, enter:
Using DeepSeek V3.1 in Claude Code

GLM 4.5

GeekAI also supports Zhipu’s Claude Code-compatible GLM 4.5 series. Switch to GLM with:
Using GLM 4.5 in Claude Code
glm-4.5, glm-4.5-air, and glm-4.5-flash all work in Claude Code.

Qwen3 Coder

To use Qwen3 Coder Plus through GeekAI, enter:
Using Qwen3 Coder Plus in Claude Code

MiniMax M2

MiniMax M2 is designed for coding and agent tasks. It offers twice the speed at 8% of the price of Claude Sonnet, with a limited-time free offer.
Using MiniMax M2 in Claude Code

Use Claude Code in an IDE

In VS Code, install the Claude Code extension: Claude Code for VSCode Click the Claude Code icon at the upper right of the editor to open the chat window: Opening Claude Code in VS Code Chatting with Claude Code in VS Code The extension uses the Claude Code environment you configured in the terminal, so no additional setup is needed.