Use DeepSeek in Codex CLI & Claude Code (Base URL Guide)

Configure DeepSeek with Codex CLI and Claude Code using custom Base URLs, Responses vs Messages protocol checks, and a single Modelseed API key.

Modelseed ·

One account, two separate configurations

Sign in through the browser in Modelseed Desktop for Windows and open Connections. Choose an available DeepSeek ID for each CLI and save its profile. Each tool has its own model and working folder. Copy the launch command from the tool card.

Codex CLI
Base URL: https://api.modelseed.dev/v1. Requires Responses API. Codex 0.134 and later can load the separate profile with --profile modelseed.
Claude Code
Base URL: https://api.modelseed.dev. The client adds /v1/messages. Copy the command with --settings from Modelseed to use the saved profile.

Check the connection in this order

  1. Check that DeepSeek appears in your account model list. If Claude Code reports model discovery trouble, verify the base URL without a path suffix and the key permissions.
  2. Check the agent protocol for the selected model. The Desktop compatibility test sends billable requests after confirmation. A visible model does not establish support for tool calls and follow-up turns.
  3. Start with a small task in a separate project and review the changes and usage. Recheck the protocol when switching to another ID.
BUILD WITH MODELSEED

From an idea to your first request.

One key and a familiar API. New verified accounts receive a random $1–$2 welcome bonus (1,000–2,000 credits) to test requests before topping up.

Get API key + bonus