Skip to main content

OpenAI (incl. Codex models)

OpenAI's Chat Completions API. Official docs: All models · List models API · Pricing. Check these links for the latest IDs.

1. Get a key​

Create a key at platform.openai.com/api-keys → repo secret OPENAI_API_KEY (Settings → Secrets and variables → Actions).

2. Configure​

providers:
codex:
protocol: openai-chat
model: gpt-5.3-codex # agentic coding model; see table
base_url: https://api.openai.com/v1
key_from: secrets.OPENAI_API_KEY
reviews:
- id: security-strict
if_paths: ["auth/**", "payments/**"]
main:
provider: codex
instructions: "Staff security reviewer. OWASP, authz, injection. High-confidence findings only."
verdict: { mode: request_changes, min_severity: high }

OpenReview calls POST {base_url}/chat/completions with Authorization: Bearer — the standard shape. Note: subscription-only Codex models served over the Responses API are not supported, only chat/completions-compatible IDs.

3. Verify the key (optional)​

curl https://api.openai.com/v1/models \
-H "Authorization: Bearer $OPENAI_API_KEY" | head -c 500
Model IDNotes
gpt-5.3-codexRecommended reviewer — most capable agentic coding model, chat-completions compatible
gpt-5.5 / gpt-5.5-proFrontier coding + professional work
gpt-5.4 / gpt-5.4-miniCheaper coding tiers
gpt-5 / gpt-5-mini / gpt-5-nanoBudget ladder
gpt-5-codex, gpt-5.1-codex, gpt-5.2-codexDeprecated — do not use in new configs