Veilفارسی

Codex with Veil API

Codex talks to Veil API in the OpenAI Responses format. Change two settings and every Veil model is available.

Setup

  1. Create a Veil API key. Open the console
  2. Add this to ~/.codex/config.toml.
  3. Restart Codex and choose the Veil provider.
[model_providers.veil]
name = "Veil API"
base_url = "https://api.veil.ir/v1"
env_key = "VEIL_API_KEY"
wire_api = "responses"

# then
codex -c model_provider=veil -m anthropic/claude-haiku-5-5

Which model

Any model id from the models page works. Veil routes it and bills it at its list price.

Browse models and prices