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
- DeepSeek V4.1 Flash API · 1M context, $0.08 / $0.35 per 1M tokens
- DeepSeek V4.1 Flash Uncensored API · 1M context, $0.08 / $0.35 per 1M tokens
All models are self-hosted on Yeta's own GPUs with zero data retention: prompts and outputs are never stored.
Platform: platform.yeta.ai · Email: [email protected] · X: @yetalabs