Codex APICodex API is live — connect Codex CLI with an API keyOpen Codex API
Codex API
  • Codex API
  • Codex CLI
  • API Key
  • Relay
  • Pricing
Codex API
Codex API
  • Codex API
  • Codex CLI
  • Codex CLI API
  • Codex API Key
  • OpenAI Codex API
API setup
  • Codex Relay Overview
  • Codex API Pricing
  • Dashboard API Keys
  • Codex Referral
Company
  • About
  • Contact
Legal
  • Privacy Policy
  • Terms of Service
  • Refund Policy
Codex API

Codex API access for Codex CLI, Codex App-style tools, dashboard API keys, OpenAI-compatible base URLs, streaming, pricing, and fair-use agent workflows.

Email

This site provides a Codex API storefront and OpenAI-compatible relay surface for developer workflows. It is not the official OpenAI Codex product.

© 2026 Codex API Frontend All Rights Reserved. DREAMEGA INFORMATION TECHNOLOGY LLC

[email protected]
OverviewPricingReferral
Referral program

Invite friends to subscribe to Codex or use the API and earn up to 20%

MyCodex API: same-price anchors with about 2x visible usage

When a friend buys a Codex plan, API add-on, or Business seat, commission is tiered by first-month net paid revenue. It enters pending first and becomes withdrawable after 30 paid, risk-free days.

Generate referral linkView plans

Codex subscription

Buy MyCodex API and agent coding usage through Go, Plus, Pro 5x, or Pro 20x plans.

API relay

Issue Dashboard API Keys from the same account for Cursor, Cline, Open WebUI, custom agents, and the OpenAI SDK.

Server-side secret boundary

Upstream tokens, local Codex config, prehook files, prompts, and private context stay server-side.

Commission rules

Commission after payment, not unconditional cash

Signup rewards grant trial calls only to prevent bulk freeloading. Standard and channel referrals settle on net paid revenue; refunds, bad debt, same-device self-referrals, abnormal bulk signups, and custom enterprise contracts are excluded from standard commission.

Standard referral

Tiered commission based on the invitee's first-month net paid revenue.

$0-$99910%
$1,000-$4,99915%
$5,000+20%

Content channels / communities

Tiered commission on channel first-month net paid revenue, then default 10% from month two.

$0-$9,99910%
$10,000-$49,99915%
$50,000+20%
Following monthsDefault 10%
Settlement states

pending / available / cashed out

1

pending

A friend buys a plan or API add-on and enters pending settlement.

2

available

Available after 30 days with no refund, chargeback, or risk hit.

3

cashed out

Ledger records remain after payout for refund and dispute traceability.

Risk control and attribution rules

Attribution window defaults to 30 days and can extend to 90 days for channel partnerships.
Commission younger than 30 days is shown as pending and cannot be withdrawn.
Refunds, chargebacks, bad debt, same-device self-referrals, and abnormal bulk signups do not settle.
B2B partners do not use standard referral links; they settle by contract and actual collections.

Copy-ready share templates

Try GPT API for free with OpenAI SDK compatibility. Change base_url and run. My referral code: {code}
Configure Cursor, Cline, or Open WebUI directly: base_url={url}. Start with 10 successful trial calls, then pick Go, Plus, or Pro.
Plus is $20/month, the same as ChatGPT Plus, but adds a MyCodex API endpoint and about 2x visible usage.
Give teams unified Codex usage, API keys, project allowances, and billing exports without sharing keys everywhere.

Copy the message first, then watch conversion

P0 only ships copy-ready messages and referral codes. Platform-specific posters, channel dashboards, and automatic withdrawals are later-version work.

Sign in to generate referral code