DataEyesAI
Official SiteConsoleDocs HomeGetting StartedDeveloper Tools
AI Models APITerms & Policies
Official SiteConsoleDocs HomeGetting StartedDeveloper Tools
AI Models APITerms & Policies
  1. Developer Tools
  • Claude Code
  • Claude Code for VS Code
  • Codex
  • OpenClaw
  • OpenCode
  • Cline
  • Gemini CLI
  • Grok CLI
  • n8n
  • AutoClaw
  • Other tools
  • Claude Code 400 troubleshooting
  1. Developer Tools

Codex

Codex is OpenAI's coding agent, available as a command-line tool and a VS Code extension. With a custom provider, Codex can use models on DataEyesAI.

Before you begin#

SettingValue
Base URLhttps://studio.dataeyes.ai/v1 (/v1 required)
API keyYour Model API key, passed via the DATAEYES_API_KEY environment variable
Recommended modelsgpt-6-astra, gpt-6-luna, gpt-6.1-sol
NOTE
Codex uses the OpenAI Responses protocol (/v1/responses). Choose a GPT-6 series model.

1. Install Codex#

Requires Node.js 18 or later. Run codex --version to confirm the installation.

2. Write the config file#

Open or create ~/.codex/config.toml (on Windows: C:\Users\<username>\.codex\config.toml) and add:
model_provider = "dataeyes"
model = "gpt-6-astra"
preferred_auth_method = "apikey"
disable_response_storage = true

[model_providers.dataeyes]
name = "DataEyesAI"
base_url = "https://studio.dataeyes.ai/v1"
env_key = "DATAEYES_API_KEY"
wire_api = "responses"
FieldDescription
model_providerPoints to the dataeyes provider defined below
modelDefault model; switch in a session with /model
base_urlDataEyesAI address; must end with /v1
env_keyEnvironment variable that holds the API key
wire_apiAlways responses

3. Set the API key#

macOS / Linux
Windows (PowerShell)
To make it permanent, add it to ~/.zshrc or ~/.bashrc.

4. Verify#

Run codex in any project directory and ask "Summarize the structure of the current directory". A normal response means the setup works. You can also run a quick non-interactive test:

Use in VS Code#

The Codex VS Code extension shares ~/.codex/config.toml and environment variables with the CLI. Once the steps above are done, install the Codex extension from the marketplace and use it directly.

FAQ#

Authentication failed (401)
404 or model not found
Abnormal responses or tool calls failing
Previous
Claude Code for VS Code
Next
OpenClaw