Pollio
All integrations

Codex

Add Pollio as a provider in one config block.

Uses the OpenAI Responses API. Codex docs

Public

Fig. I, prompt

Set POLLIO_API_KEY in your shell, then paste this into Codex.

Set up Pollio as your model provider. Its API is at https://api.pollio.ai/v1 and the model is deepseek/deepseek-v4.1-flash. My key is in the POLLIO_API_KEY environment variable: never print it or write it into a file. In ~/.codex/config.toml, add [model_providers.pollio] with base_url set to that URL, env_key = "POLLIO_API_KEY" and wire_api = "responses". At the top of the file, set model to the model and model_provider = "pollio". Back up the file first, keep my other settings, show me the change, and tell me what to restart.

Fig. I, ~/.codex/config.toml

Add this to ~/.codex/config.toml (not a project's .codex/config.toml, which can't set providers) and put your key in POLLIO_API_KEY.

model = "deepseek/deepseek-v4.1-flash"
model_provider = "pollio"

[model_providers.pollio]
name = "Pollio"
base_url = "https://api.pollio.ai/v1"
env_key = "POLLIO_API_KEY"
wire_api = "responses"

Private

Start pollio proxy on your machine, then point Codex at it instead.

Fig. II, prompt

Set POLLIO_API_KEY in your shell, then paste this into Codex.

Set up Pollio as your model provider. Its API is at http://127.0.0.1:8787/v1 and the model is deepseek/deepseek-v4.1-flash. My key is in the POLLIO_API_KEY environment variable: never print it or write it into a file. In ~/.codex/config.toml, add [model_providers.pollio] with base_url set to that URL, env_key = "POLLIO_API_KEY" and wire_api = "responses". At the top of the file, set model to the model and model_provider = "pollio". Back up the file first, keep my other settings, show me the change, and tell me what to restart.

Fig. II, ~/.codex/config.toml

model = "deepseek/deepseek-v4.1-flash"
model_provider = "pollio"

[model_providers.pollio]
name = "Pollio"
base_url = "http://127.0.0.1:8787/v1"
env_key = "POLLIO_API_KEY"
wire_api = "responses"

Names and logos belong to their owners. No endorsement implied.