Infer × Codex
Point Codex at an explicit model policy.
Generate the user-level provider block Codex needs for Infer’s Responses endpoint. The selector comes from Infer’s current catalog; the limitations stay on the page.
Configuration generator
Choose the selector Codex should request.
The model family stays explicit. The price option changes the routing policy without changing the Responses integration.
Verify the selected model is operational, the account email is verified, and the wallet has service credit.
# Waiting for the current Infer catalog…
Merge this block with your existing user-level configuration. Do not replace unrelated settings.
Install and verify
Three deliberate steps.
- 01
Save the provider at user level.
Codex requires custom provider definitions in
~/.codex/config.toml. A project-local.codex/config.tomlcannot define or override these provider keys. - 02
Set the key outside the file.
export INFER_API_KEY="your-infer-key"Keep the API key in the environment. The generated block contains only the environment-variable name.
- 03
Run the real agent loop.
Test the tools, streaming events, output limits, and error paths your workload actually uses. A “hello world” response is not compatibility proof.
Domain-owned Agent Skill
Install the setup boundary, not a brochure.
The skill reads Infer’s live catalog and status before it recommends a selector. It keeps keys in the environment and stops before a paid check when the selected model is unavailable.
DO_NOT_TRACK=1 npx -y skills@1.5.22 add https://infer.flow7.org --skill infer-codex-provider -g -a codexOpen Agent Skills CLI 1.5.22 checked 2026-08-11. The command disables that CLI’s optional usage telemetry, fetches Infer’s domain-owned discovery index, and verifies the skill’s SHA-256 before installation. Inspect the index.
Verification record
What is—and is not—verified.
Checked August 11, 2026 with codex-cli 0.146.0 and the production Infer Responses endpoint.
base_url, env_key, and wire_api = "responses" are supported custom-provider fields./v1/responses, returned the requested text, completed with receipt rcpt_2fe4f132900e54b93e4c5f9a, and cost $0.004686.relay.session_id; do not assume session affinity from this config alone.Test one real Codex workload.
Create an account, verify the email, add service credit, and start with one bounded run.