Comparison
Codex vs Gemini CLI
How the two compare on the things that decide whether your setup carries over: open standards, license, models and where they run.
| Codex | Gemini CLI | |
|---|---|---|
| Maker | OpenAI | |
| License | Apache-2.0 | Apache-2.0 |
| Models | OpenAI models | Google Gemini models |
| Runs in | Terminal, IDE, Desktop, Web | Terminal |
| MCP | MCP: supported | MCP: supported |
| Agent Skills | Agent Skills: supported | Agent Skills: supported |
| AGENTS.md | AGENTS.md: supported | AGENTS.md: supported |
| ACP | ACP: supported | ACP: supported |
Key differences
- Both are open source (Apache-2.0 and Apache-2.0), so you can inspect and self-host either.
- Models: Codex runs OpenAI models; Gemini CLI runs Google Gemini models.
- Codex also runs in IDE, Desktop, Web.
- Both support MCP, Agent Skills, AGENTS.md, ACP, so MCP servers, skills and repo instructions you set up carry over if you switch.
In their own words
FAQ
- Is Codex or Gemini CLI open source?
- Codex is open source under Apache-2.0. Gemini CLI is open source under Apache-2.0.
- Do Codex and Gemini CLI support MCP servers?
- Codex: yes. Gemini CLI: yes.
- Can I reuse Agent Skills between Codex and Gemini CLI?
- Yes. Both read the open Agent Skills (SKILL.md) format, so the same skill folder works in both.
Set up MCP servers in either one
More comparisons
Reviewed Oct 5, 2026.