AI Engineer Study Library

Running Codex with DeepSeek V4 Flash through OpenRouter

Melvin Vivas · X post · 2026-08-17 · Open on X

Topics: AI Dev Tools & Productivity, LLM Fundamentals, LLMOps, Deployment & Monitoring · Level: intermediate

Summary

While waiting for his Codex usage limit to reset, the creator switched Codex to DeepSeek V4 Flash through OpenRouter. He shares the ~/.codex/config.toml file that sets OpenRouter as the model provider. This is a practical way to keep coding agents running on cheaper or other models when your OpenAI quota runs out.

Key points

Resources mentioned

Try this

More in AI Dev Tools & Productivity

All of AI Dev Tools & Productivity