Setup guide

Run Codex on DeepSeek V4.1 Flash

Yeta supports the OpenAI Responses API that Codex uses, so it's a few lines of config.

Setup

npm install -g @openai/codex

Add this to the top of ~/.codex/config.toml:

model_provider = "yeta"
model = "deepseek-v4.1-flash"
model_context_window = 1048576

[model_providers.yeta]
name = "Yeta"
base_url = "https://platform.yeta.ai/v1"
wire_api = "responses"
env_key = "YETA_API_KEY"

Then run it with your key in the environment:

export YETA_API_KEY=YOUR_API_KEY
codex

Set model = "deepseek-v4.1-flash-uncensored" for the uncensored version.

Models you can use

All models are self-hosted on Yeta's own GPUs with zero data retention: prompts and outputs are never stored.

Get an API key Talk to us

More setup guides