Guide

New User Guide

AI Chat

Prefer not to install a client? Use your browser.

Open PhotonMark AI Chat and sign in with your existing PhotonMark Cloud Account. No additional registration, Codex App, ChatGPT desktop client, or CLI is required. Usage is deducted from your existing Codex Pay balance.

Native web search is available without entering a Serper, Firecrawl, Jina, OpenAI, or other third-party API key. When you need current information, ask the model to search the web. A successful search costs USD $0.0005 under the existing Web Search rule; ordinary model usage is billed separately to the same Codex Pay balance.

Open AI Chat
1

Sign up for PhotonMark Cloud Account

First open the sign-up page to create a PhotonMark Cloud Account. This account can also be used for other PhotonMark services such as VPN, Google Veo, AI chat, AI agent, Private collaboration and IT services.

Create Account
2

Log In To Codex Service

After signing up and verifying your email, open the login page and log in to PhotonMark Codex with the same PhotonMark Cloud Account.

Log in
3

Buy Service In The Dashboard

After login, you will enter the dashboard. You can buy or renew any service directly. Current pricing and balance validity follow the pricing page . Pay and Boost balance may come from top-ups, renewals, limited-time bonus credit, or manually enabled grants.

SituationRecommended serviceNotes
No paid ChatGPT account Codex Pay Use PhotonMark managed quota; no local OpenAI Platform API key or ChatGPT authorization is required.
Already have paid ChatGPT or Codex account Codex Boost Use your own quota first, then switch to PhotonMark managed quota when it is insufficient.
Only need stable proxy access Codex Link Use your own official account and Codex quota; this is only a relay / transparent proxy and does not charge by token.
4

Install And First Start An Official Codex Client

First, use the Download Center install or update at least one official client: ChatGPT Desktop (with Codex), Codex CLI, or an IDE Extension. The PhotonMark dashboard auto-install script only writes the dedicated config.toml configuration; it it does not install a Codex client. If you use Desktop, first open the app, sign in to ChatGPT, and enter Codex. If you use the CLI, first run codex to complete first-time sign-in or initialization, then return to the dashboard to download the configuration script.

5

Run the dedicated installer

After payment or granted balance is activated, find the service card you want in Dedicated Configuration on the Dashboard and download its macOS / Linux or Windows installer. For Pay, use the installer rather than copying the routing reference: it keeps model_provider = "openai", uses the fixed /openai/v1 endpoint, sets a compatible high default, and automatically adds the PhotonMark Gemini models to the picker. Users do not edit config.toml or add model_catalog_json themselves. Then enter the separate Pay API Key through Use API Key and restart Codex. Link / Boost also keeps the built-in openai provider. Every installer backs up and updates the user-level config with permissions restricted to the current user.

Dashboard dedicated setup: download the installer for the current service; manual TOML is advanced reference.
Dashboard dedicated configuration block with TOML copy and installer download buttons
  • Linux / macOS: ~/.codex/config.toml
  • Windows: C:\Users\your-username\.codex\config.toml
  • If the dashboard shows multiple Pay / Boost config blocks, each block corresponds to a separate balance or granted credit. To use a specific balance, copy or download the TOML or script below that block.
  • When switching a Link / Boost configuration or balance manually, keep model_provider = "openai" and replace openai_base_url with the complete URL shown in the target block.
  • Legacy custom-provider blocks remain compatible, but they change model_provider and may hide chats created under the built-in OpenAI provider from the normal history list. Use them only to maintain an existing installation.
  • Current Codex releases use the standalone alpha/search endpoint for the built-in web.run tool. PhotonMark supports this endpoint. The recommended built-in provider already enables it; an old custom-provider block must use the exact case-sensitive display name name = "OpenAI".
  • Global model_provider and openai_base_url must appear before any [section]. When merging manually, do not put global notify / personality values under another section.
  • If you use CC Switch for Pay, follow the field-by-field example: provider name photonmark, website URL, current Pay API Key, complete /openai/v1 request URL, a supported model, and Responses (native). Do not paste a key from a screenshot. For Link / Boost, use the service-specific Dashboard installer instead.
  • Remove or comment out unused OPENAI_API_KEY, sk-proj-*, old openai_base_url, old custom-provider, or old auth configuration.

Codex Pay does not require your own OpenAI Platform API key; enter the Pay API Key from the Dashboard through Use API Key in Codex. Link / Boost TOML and installer scripts contain a dedicated proxy token. Do not share any API Key, token-bearing TOML, or installer script.

6

Start Or Restart The Codex Client

After saving the user-level config.toml, reopen Codex Desktop, Codex CLI, or the IDE Extension, or start a new Codex session. The client reads the built-in openai provider and current openai_base_url, then connects through the matching PhotonMark service.

Pay API Key

Other clients at a glance

The official Codex client (steps above) and Claude Code are the supported clients. The Pay API Key from the Dashboard also works in the other clients below through the OpenAI-compatible endpoint; the Claude routes accept only the official Claude Code and Claude Desktop (Code mode only; Desktop chat is not supported). Those other clients can connect, but we cannot help with their setup; features depend on each client's support for a custom API. Pay only: Link and Boost use your own ChatGPT authorization and are not model API entry points.

ClientProtocolBase URLWhere to enter it
Claude Code CLI Anthropic https://codex.photonmark.com/anthropic-mixed ~/.claude/settings.json β†’ env: ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN (your Pay API Key). Self-managed pure privacy route is /anthropic (legacy /anthropic3 retires in ~1 month); third-party routes are /anthropic2 and /anthropic1; the status page shows which routes are open. Copy-ready settings: Dashboard β†’ Claude Code. Test service.
Claude Desktop app (Code mode only) Anthropic https://codex.photonmark.com/anthropic-mixed Help β†’ Developer mode, then Developer β†’ Configure third-party inference β†’ Gateway + Static API key; or add a Claude provider in CC Switch with the same Base URL and Pay API Key.
CC Switch Codex (Responses) or Anthropic https://codex.photonmark.com/openai/v1 or /anthropic-mixed Codex provider: follow the field-by-field example and pick Responses (native). Claude provider: the Base URL and Pay API Key above.
Cursor OpenAI-compatible (Chat Completions) https://codex.photonmark.com/openai/v1 Settings β†’ Models: enter the Pay API Key as the OpenAI API Key, turn on the OpenAI Base URL override, then add a model name such as gpt-6.1-sol. Some Cursor agent features require Cursor's own models.
Cline / Roo Code OpenAI-compatible https://codex.photonmark.com/openai/v1 Choose the OpenAI Compatible provider (Base URL, Pay API Key, model ID).
OpenCode OpenAI-compatible https://codex.photonmark.com/openai/v1 In opencode.json, set the provider's options.baseURL to the Base URL and options.apiKey to the Pay API Key.
Cherry Studio / Chatbox OpenAI-compatible https://codex.photonmark.com/openai/v1 Add a provider of the OpenAI type (API address = Base URL, API Key = Pay API Key), then add the model names you use.
OpenAI SDK / curl OpenAI-compatible https://codex.photonmark.com/openai/v1 Bearer token = Pay API Key. Endpoints, images and the usage export are documented on the API page.
  • OpenAI-compatible clients take only https://codex.photonmark.com/openai/v1 as the Base URL. Do not paste the dedicated proxy URL from the Dashboard's Codex TOML; some clients append the wrong path and fail to connect.
  • Clients with tool calling work best over the Responses API; Chat Completions is available for ordinary chat, with streaming still experimental.
  • Model names are the ones on the Pricing page, for example gpt-6-astra, gpt-6.1-sol, claude-opus-5-5, claude-sonnet-5-5. Claude routes, Gemini and Grok are test services.
  • Every request is charged to the same Pay balance and appears in Dashboard β†’ Usage & billing. Keep the Pay API Key out of shared or public files.