Overview
Codex is powered by OpenAI’s models and offers high-reasoning capabilities for complex tasks and critical reviews.Latest Model
- GPT 5.2 - OpenAI’s latest model with advanced reasoning capabilities
Authentication
Codex supports two authentication methods:- OpenAI API Key
- OpenAI Subscription
Pay-as-you-go API access
- Get an API key at OpenAI Platform
- In Blocks Dashboard, go to Dashboard → Agents
- Select Codex and choose “API Key”
- Paste your API key (starts with
sk-)
Setting as Default
To use Codex automatically for all requests:- Go to Dashboard → Agents
- Select “Set as default agent” from Codex’s dropdown menu
Using Codex
Once configured, Codex is used automatically if it’s your default agent:/codex slash command to use it specifically:
Best For
- Complex reasoning tasks
- Critical code reviews
- Advanced problem solving
- Detailed analysis
- Architecture decisions
- In-depth explanations
Cost
Codex uses your OpenAI API key or subscription:- Check pricing at OpenAI Pricing
- Monitor usage in OpenAI Dashboard
- API usage is billed by OpenAI based on tokens

