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

MyCodex API · OpenAI-compatible relay

MyCodex API relay for Codex CLI, Cursor, Cline, and coding agents

OpenAI-compatible GPT access with a dashboard API key, streaming /chat/completions, Free trial calls, Go/Plus/Pro package quotas, fair-use queueing, and metadata-only usage logs.

Try 10 calls freeView Go / Plus / Pro pricing
Codex APICodex CLICodex CLI APICodex API keyOpenAI Codex APIMyCodex APIOpenAI-compatible APICursor API keyCline API keyAPI fair-use limits

Connect MyCodex API in 5 minutes

Copy the base_url, dashboard API key, and model. Cursor, Cline, Open WebUI, OpenAI SDK, and custom agents all share the same fair-use, quota, and metadata-only ledger.

base_url

https://codexcliapi.com/api/v1/codex

api_key

cps_live_your_dashboard_key

model

gpt-5.4-mini

streaming

SSE enabled

trial

10 successful calls or 1 day
curl -N "https://codexcliapi.com/api/v1/codex/chat/completions" \
  -H "Authorization: Bearer cps_live_your_dashboard_key" \
  -H "Content-Type: application/json" \
  -d '{"model":"gpt-5.4-mini","stream":true,"messages":[{"role":"user","content":"Say hello from the relay"}]}'
Start with the Free trial•Fair-use API access: throttle, queue, or buy add-ons at the limit

10 calls

Free trial validates endpoint/key/model before purchase

Go $8 / Plus $20

Same official price anchors with about 2x perceived API usage

No BYOK

Customer key stays separate from owner-side Codex/OAuth/prehook secrets

Fair-use visible

Capacity window, queueing, throttling, and add-ons are part of the offer

Codex API and Codex CLI access

Explore the Codex API keyword cluster: Codex CLI setup, Codex CLI API configuration, Codex API key access, pricing, fair-use limits, and OpenAI-compatible relay docs.

Codex API hubCodex API pricing

Codex API

Hub page for Codex API endpoint, pricing, limits, and setup.

Codex CLI

CLI-focused setup page for API key and base URL workflows.

Codex CLI API

Exact-match page for Codex CLI API key, URL, cost, and limits.

Codex API Key

High-intent page for API key, token, and access searches.

OpenAI Codex API

Comparison page for OpenAI Codex API compatible access intent.

Codex API Workflow

From Codex CLI trial call to production-ready MyCodex API usage

A buyer can validate the endpoint in minutes, then upgrade into a package with visible limits, add-ons, and team controls.

01

Copy endpoint, key, and model

Start with 10 successful trial calls or 1 day of validation. No wallet balance is issued, so there is nothing to hoard, transfer, or cash out.

02

Run OpenAI-compatible traffic

Use /api/v1/codex/chat/completions, /responses, /generate, /models, and /status through the same dashboard API key and relay ledger.

03

Upgrade into quota packages

Go, Plus, Pro 5x, Pro 20x, and Business show fair-use, queueing, add-on, and budget behavior before the buyer pays.

MyCodex API relay infrastructure

A Codex CLI and GPT-only API relay buyers can trust for real agent workflows

The product promise is not cheap proxy traffic. It is API-shaped MyCodex access with customer keys, server-side secret boundaries, capacity status, pre-authorization, and explainable billing.

OpenAI-compatible endpoint

Clients only need base_url, bearer token, model, and streaming chat-completion support.

  • Base URL for client tools
  • Streaming chat completions
  • Server-side secret boundary

Codex CLI setup templates that reduce setup friction

Cursor, Cline, Open WebUI, curl, SDK clients, and custom agents can copy a working snippet before reading full docs.

  • Dashboard API key
  • Model name and base URL
  • Codex CLI API snippets

Codex API Key boundary without owner-secret leakage

Customers never receive owner-side OpenAI keys, ChatGPT/Codex OAuth tokens, local config, prehook files, or private prompts.

  • Customer-facing keys
  • Private relay credentials
  • Revocation and billing controls

Quota, capacity, and billing guardrails

Usage-window errors, upstream errors, queueing, throttling, pre-authorization, release, and final charge behavior must be visible enough to prevent billing disputes.

  • Free validation tier
  • Paid agent capacity
  • Queueing and upgrade paths
Keyword Cluster

Who MyCodex API is for

The homepage now speaks to real buyers: coding-agent power users, independent builders, small teams, education projects, and internal AI platform owners.

AI coding / agent power users

Run heavy Cursor, Cline, Codex CLI, and custom agent sessions with visible quota, queue, and upgrade behavior.

Independent developers

Avoid card/KYC/API setup friction by copying a base URL, dashboard key, and model into OpenAI-compatible clients.

Small teams and startups

Move API key sharing, budget, project attribution, model allowlists, and usage export into a control-plane surface.

Courses and internal platforms

Issue project/class keys with hard budgets instead of asking every user to bring their own upstream account.

MyCodex API pricing: Free / Go / Plus / Pro / Business

The first screen sells packages, not token math: trial calls, monthly perceived usage, fair-use limits, add-on packs, referral rules, and team budget controls.

Free validation

$0

10 successful calls or 1 day to prove the endpoint works before paying.

  • No wallet balance
  • OpenAI-compatible setup
  • Upgrade prompt at limit

Go / Plus

$8 / $20 monthly

Individual API access aligned with ChatGPT Go and Plus anchors, with about 2x perceived usage.

  • Dashboard API key
  • Standard fair-use/RPM
  • Add-on path after limit

Pro / Business

$100 / $200 / seats

Higher-priority agent capacity, project keys, shared pools, invoices, and usage export path.

  • Pro 5x / Pro 20x
  • Business 2 seats+
  • Budget and key governance
FAQs

Codex API Frequently Asked Questions

Codex API, Codex CLI API, API key, pricing, limits, and OpenAI-compatible relay setup.

What is Codex API access on this site?

Codex API access means a buyer-facing OpenAI-compatible relay endpoint with a dashboard API key, base URL, model name, streaming chat completions, pricing tiers, and fair-use controls for Codex CLI-style agent workflows.

Can I use it with Codex CLI?

The setup is designed for tools that support custom OpenAI-compatible base URLs. Use the Codex API base URL, dashboard API key, and model name from the quickstart in Codex CLI-style tools, Cursor, Cline, Open WebUI, curl, or SDK clients.

How do I get a Codex API key?

Use the pricing and dashboard flow to get a customer-facing API key. That key belongs in client tools; private owner-side OpenAI, Codex, OAuth, prompt, prehook, and relay credentials remain server-side.

Is this the official OpenAI Codex API?

No. This site positions an OpenAI-compatible Codex API relay and storefront for developer workflows. It answers OpenAI Codex API search intent without claiming official OpenAI ownership.

Does Codex API access have limits?

Yes. Codex API access uses plan tiers, fair-use windows, concurrency, queueing, and capacity controls. Free access is for setup validation; heavy agent sessions should use paid capacity.

What is the Codex CLI API base URL?

The public relay path is shaped around /api/v1/codex. The exact full base URL depends on the production domain and is shown in the Codex relay quickstart.

Why is my Codex CLI API key not working?

Common causes include using the wrong key type, inactive billing, a revoked dashboard key, a wrong base URL, a mismatched model name, or a client that does not support custom OpenAI-compatible endpoints.

What keywords does the homepage target?

The homepage targets Codex API, Codex CLI, Codex CLI API, Codex API key, OpenAI Codex API, ChatGPT API key, OpenAI-compatible API, Codex API pricing, and Codex API limits.

Can I use the API with Cursor, Cline, or Open WebUI?

Yes, if the client supports OpenAI-compatible base URL configuration. The quickstart shows setup values for Cursor, Cline, Open WebUI, curl, and custom SDK clients.

How does pricing work for Codex API usage?

Pricing is presented as API-shaped access tiers for setup validation, daily individual use, heavy coding agents, high-frequency workflows, and team access, with fair-use and upgrade paths made explicit.

Need help with Codex API key setup, Codex CLI API configuration, pricing, or limits? Contact support.

Start with 10 MyCodex API trial calls

Validate base_url, dashboard API key, model, and streaming first. Upgrade only after the first successful call proves the relay path.

Create API Key
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]