OpenAI Codex sağlayıcısına derinlemesine bakış — modeller, kimlik doğrulama, özellikler ve yapılandırma.
Codex sağlayıcısı, scorpiox code'u OAuth Bearer token kimlik doğrulaması ile OpenAI Codex arka ucuna bağlar. ChatGPT arka uç API'sini hedefler ve akış, genişletilmiş düşünme, araç kullanımı, işlev çağrısı, görüntü ve otomatik token yenilemeyi destekler.
Codex, Authorization başlığı üzerinden OAuth Bearer token kimlik doğrulaması kullanır. Tokenlar scorpiox-codex-fetchtoken tarafından yönetilir ve üç kaynaktan alınabilir:
CODEX_TOKEN_SOURCE=localscorpiox-codex-fetchtoken. Default mode — no network calls needed for token acquisition. The token file is stored alongside your scorpiox configuration.CODEX_TOKEN_SOURCE=remoteCODEX_REMOTE_URL. Default URL: https://token.scorpiox.net/codex. Useful for centralized token management across teams.CODEX_TOKEN_SOURCE=sshCODEX_SSH_HOST, CODEX_SSH_USER, CODEX_SSH_PASS, and CODEX_SSH_PORT. Ideal for air-gapped or private infrastructure environments.Tüm Codex ayarları proje kökündeki scorpiox-env.txt dosyasında saklanır. Etkileşimli yapılandırma için scorpiox-config çalıştırın.
| Key | Description | Default |
|---|---|---|
| PROVIDER | Set to codex to use this provider | scorpiox |
| MODEL | Model name or alias (e.g. gpt-5.3-codex) | sonnet |
| TOOLS | Enable/disable all tool execution | 1 |
| CODEX_TOKEN_SOURCE | Token acquisition method: local, remote, ssh | local |
| CODEX_REMOTE_URL | Remote HTTP endpoint for token fetching | https://token.scorpiox.net/codex |
| CODEX_SSH_HOST | SSH hostname for remote token retrieval | — |
| CODEX_SSH_USER | SSH username | — |
| CODEX_SSH_PASS | SSH password | — |
| CODEX_SSH_PORT | SSH port number | — |
| Feature | Codex | Claude Code | Anthropic | Gemini | OpenAI | Router |
|---|---|---|---|---|---|---|
| Streaming | ✓ | ✓ | ✓ | — | — | ✓ |
| Thinking | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Tool Use | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Function Calling | ✓ | — | — | — | — | — |
| Vision | ✓ | — | — | — | — | — |
| Token Refresh | ✓ | ✓ | — | — | — | — |
| Context Caching | — | — | — | ✓ | — | — |
| Auth Method | OAuth Bearer | OAuth Bearer | x-api-key | API Key | API Key | None |
The Codex provider is implemented as a single-file C module following the scorpiox provider interface pattern:
All providers compile as part of libsxnet and are statically linked into the sx binary. Zero runtime dependencies — the Codex provider uses raw socket HTTP built into scorpiox's networking layer.