Tabbit
ResourcesBlogModels
Tabbit LogoTabbit

Tabbit — The AI Browser that Works for You

Topics

  • AI Browser Resources
  • Agentic Browser Resources
  • Browser Downloads and Install Guides
  • Browser Comparisons
  • AI Browser Alternatives
  • Browser Productivity Resources

Popular Guides

  • AI Browser
  • Agentic Browser Download
  • Best AI Browser 2026: Top 9 Tested & Ranked
  • AI Browser Download
  • Free AI Browser
  • Best AI Browser 2026
  • AI Browser Comparison 2026
  • AI Browser for Windows
  • AI Browser for Mac
  • Chrome Alternative 2026

Events

  • Tabbit Skill Competition
  • KPOP SBTI Fandom Personality Test
  • Tabbit Campus Creator Program
  • fifi's Picks: AI Skills for Research Papers
  • User Survey

About

  • Tabbit Blog
  • Press & Media
English
简体中文English
Prompts and workflows

DeepSeek V4 Flash · configuration

Connect DeepSeek to Codex with the official configuration

Back up local configuration, use the official script or minimal provider fields, and verify with a reversible task.

Source reviewed; not testedCodex CLI, ChatGPT desktop, or the VS Code Codex extension

Prerequisites and inputs

  • DeepSeek API key
  • config.toml
  • models.json
  • reversible verification task

Steps

  1. Back up ~/.codex/config.toml, MCP settings, and project trust settings.

  2. Prefer the official script; manually add only the provider, wire_api = "responses", model ID, and reasoning tier. Do not reconstruct unknown models.json metadata.

  3. Check key-file permissions, start Codex, and confirm the banner shows deepseek-v4-flash.

  4. Run a read-only task, then a small reversible change; this is configuration guidance, not a quality test.

Read the source research notes

One-sentence takeaway

The official Responses API configuration lets Codex CLI, the ChatGPT desktop app, and the VS Code Codex extension share a single DeepSeek-V4-Flash configuration, making it suitable for migrating the same code Agent workflow to DeepSeek.

Use cases

  • Suitable tasks: Modifying codebases with an existing Codex workflow, running tests, calling tools, and carrying out long-running Agent tasks.

  • Unsuitable tasks: Teams that do not want to place an API key directly in the local Codex configuration, or that depend on a ChatGPT account login session; evaluate a key-management approach first.

  • Supported model version: deepseek-v4-flash.

  • Supported clients, Agent, or API: Codex CLI, ChatGPT desktop app, and VS Code Codex IDE extension; all three read the same configuration.

  • Recommended reasoning level and parameters: The official manual configuration example uses model_reasoning_effort = "high"; for simple tasks, switch to low according to the thinking-mode documentation, and for complex tasks, use max.

Ready-to-use content

Official recommended one-click installation entry points

Make sure Codex CLI or the ChatGPT desktop app has been launched at least once, then run the official script for your operating system. The script backs up the existing config.toml, writes models.json, preserves MCP and project trust settings, and validates the TOML/JSON before writing it back:

# macOS / Linux
bash <(curl -fsSL https://cdn.deepseek.com/api-docs/codex-deepseek-setup-en.sh)

# Windows PowerShell
irm https://cdn.deepseek.com/api-docs/codex-deepseek-setup-en.ps1 | iex

Minimal ~/.codex/config.toml snippet for manual configuration

model = "deepseek-v4-flash"
model_provider = "deepseek"
preferred_auth_method = "apikey"
forced_login_method = "api"
model_reasoning_effort = "high"
model_catalog_json = "~/.codex/models.json"

[model_providers.deepseek]
name = "deepseek"
base_url = "https://api.deepseek.com/"
wire_api = "responses"
experimental_bearer_token = "<your DeepSeek API Key>"

The models.json mentioned above is not reconstructed in this article. Have the official script generate it directly, or expand the complete content from the official documentation and save it; do not guess the model-catalog metadata from this snippet.

Testing/workflow steps

  1. Back up the existing ~/.codex/config.toml and MCP configuration; the official script places backups in ~/.codex/backup-deepseek/, and you should also make a backup before configuring manually.

  2. Run the one-click script and select deepseek-v4-flash from the menu, or manually write the provider configuration above.

  3. Use the official script to generate ~/.codex/models.json; do not delete existing project trust settings or MCP servers.

  4. Run codex from the project directory; the startup banner should show model: deepseek-v4-flash.

  5. Validate the Responses API, tool calls, test execution, and result delivery with one read-only task and one small, reversible change before migrating to a production codebase.

  6. If you cannot find historical sessions after switching, restart the client; according to the official documentation, ChatGPT login sessions and third-party API sessions are saved in separate groups by authentication method rather than being deleted.

Raw evidence and data

  • The official documentation states that DeepSeek natively supports the OpenAI Responses API, and that Codex CLI, the ChatGPT desktop app, and the VS Code extension share the same configuration file.

  • Official example fields include model="deepseek-v4-flash", model_provider="deepseek", wire_api="responses", base_url="https://api.deepseek.com/", and model_reasoning_effort="high".

  • Verifiable behavior of the official one-click script: backs up the existing configuration; writes models.json; rewrites only the necessary config.toml fields; preserves MCP servers and project trust levels; validates TOML/JSON before writing; and offers menu options to switch models or restore the original configuration.

  • The official update page says that 0731 V4-Flash natively supports the Responses API and is “specifically adapted for Codex”.

Scope and limitations

  • This is a configuration and integration guide, not an independent benchmark; the startup banner can show that the configuration is active, but cannot demonstrate task quality.

  • experimental_bearer_token places the API key in the configuration file; production environments should restrict file permissions or use a team-approved secret-injection method instead.

  • The official documentation requires Codex CLI/the desktop app to have been launched previously to create ~/.codex; without that directory, the one-click script's prerequisite is not met.

  • This article does not reconstruct the complete official models.json; metadata such as the context window and tool formats should follow the script or the expanded official content.

Source excerpt or observation (compliance short quote only)

The official documentation describes the three types of clients as sharing “the same configuration file” and uses wire_api = "responses" as the protocol field for the DeepSeek provider.

Source and dates

DeepSeek API Docs · Source date: 2026-07-31 · Edited: 2026-09-20

Read the original source
Variable checklist

No required variables

Related prompts

Configure reasoning tiers and continue tool callsChoose a DeepSeek-to-Codex integration pathConnect DeepSeek V4 Flash to Codex quicklyDelegate in layers and synthesize a monograph with DSH

Related reviews

DeepSeek-V4-Flash: 0731 Benchmark Update and Harness ConditionsDeepSeek-V4-Flash: Local Deployment, Quantization, and Agent TestingI Ran DeepSeek V4 Flash on 8 Agent Harnesses (Reddit r/DeepSeek)DeepSeek V4 Flash doesn't like us? (Reddit r/opencodeCLI)

Read the full analysis

Pricing · English

DeepSeek V4 Flash Pricing: What You Pay in 2026

DeepSeek V4 Flash pricing changed with the V4.1 migration. See the current cache, peak-hour, output, and workload cost math before you budget.

DeepSeek V4 Flash

Use DeepSeek V4 Flash in Tabbit

Run this guide in the environment listed above. Downloading does not transfer the template or establish model availability for your account.