
Codex works with the catalogue text models that support tools (function calling): it needs them to read files, edit and run commands. These are the ones we recommend for coding. They are all in the catalogue, support tools and are part of the Coding Plan.
The recommended models
| Model | Context | What for |
| moonshotai/kimi-k2.7-code | 262,144 tokens | Made for coding: the best starting point for everyday work. |
| deepseek-ai/deepseek-v4-pro | 1,048,576 tokens | Strong reasoning, for large changes and hard bugs. |
| zai-org/glm-5.2 | 1,048,576 tokens | Built for agents: uses tools well in long tasks. |
| qwen/qwen3.8-max | 1,000,000 tokens | A large model, for reasoning and code across whole projects. |
| deepseek-ai/deepseek-v4-flash | 1,048,576 tokens | Fast and cheap, for background tasks and short questions. |
| zai-org/glm-5.3-flash | 1,048,576 tokens | Light and cheap, good for simple edits. |
Setting the model in Codex
The starting model goes in the model line of ~/.codex/config.toml:
model = "moonshotai/kimi-k2.7-code"
For another one in a single session: codex -m deepseek-ai/deepseek-v4-pro. Use the id exactly as it is, with the slash. See using another model for one session.
How to choose
|
|
|
|
Seeing the full list and the prices
The ids are in the Models tab of All in One AI or in the API list. On Linux and macOS:
curl "https://api.mozout.co.mz/v1/models?type=text" -H "Authorization: Bearer $MOZOUT_API_KEY"
In Windows PowerShell:
curl.exe "https://api.mozout.co.mz/v1/models?type=text" -H "Authorization: Bearer $env:MOZOUT_API_KEY"
Each model comes with its id (always with the slash), its context_length and its price in pricing. Listing the models spends no credits.
With the Coding Plan, requests to the models in the plan spend points instead of credits, and stronger models spend more points per token. The models that spend points are in the Plan tab.
| A model without tools cannot edit files or run commands in Codex. If in doubt, stick to the models in this table. |
|
Want to code with AI in Codex? Visit the Coding with AI page. See Coding with AI |
RECOMMENDED PRODUCT Web hosting with cPanel Domain and SSL included, daily backups and the panel you already know. from 396,00 MT/mo (3-year plan, with coupon) See plans |











