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]

Codex API Pricing for Codex CLI

Pricing for Codex API keys, Codex CLI API usage, and OpenAI-compatible agent workflows

Starter

$20$16/mo
πŸ’° Pay yearly only$240$192
Save $4820% OFF

Perfect for getting started with Codex API

Cost per 100 credits$1.78

  • 900 credits/month
  • Use dashboard API keys and relay endpoints
  • Access to all templates
  • Keep API key and billing history
  • Email support within 24h
  • Community access
  • Codex API Fast & Pro mode support
  • Additional AI models
  • Access to Codex API usage models (Flux, Seedream, etc.)
  • Priority support
  • Advanced features
Popular

Pro

$59.92$29.95/mo
πŸ”₯ 50% OFF Launch Sale
πŸ’° Pay yearly only$719$359.5
Save $359.5

Most popular for API creators

Custom VolumePro
$14.95$99.5
3,200
Credits
~32
API sessions
Cost per 100 credits$0.94

  • 3200 credits/month
  • Use dashboard API keys and relay endpoints
  • Access to advanced Codex API usage models (Flux 2 Pro, Seedream 5.0, etc.)
  • Access to all templates
  • Priority customer support
  • Faster generation queue
  • Keep API key and billing history
  • Advanced API features
  • Higher resolution API outputs
  • Priority API processing
  • Full Codex API Pro access
  • Premium Codex API usage features
  • Codex API Pro support
    PricingPage.PricingCard.maxVideosPerMonthHint

    Scale

    $299$149.5/mo
    πŸ”₯ 50% OFF Launch Sale
    πŸ’° Pay yearly only$3,588$1,794
    Save $1,794

    For power users creating API sessions with Codex API

    Cost per 100 credits$0.84

    • 17900 credits/month
    • Use dashboard API keys and relay endpoints
    • Access to advanced Codex API usage models (Flux 2 Pro, Seedream 5.0, etc.)
    • Access to all templates
    • Priority customer support
    • Fastest generation queue
    • Dedicated account manager
    • Keep API key and billing history
    • All advanced API features
    • Priority API processing
    • Access to all Codex API modes
    • All premium API features
    • Full Codex API access
      Codex subscription + API relay

      Same price, twice the usage

      Buy Codex usage like a subscription, or use your dashboard API key with the frontend Codex relay endpoint for Codex CLI-style tools, OpenAI-compatible SDKs, Cursor, Cline, and Open WebUI. Plans follow ChatGPT price anchors, but the product shape is Codex usage, API endpoint, service key, streaming, and fair-use controls.

      Dedicated Codex pages now cover overview, pricing, and referral rewards

      Free

      Setup validation

      Free

      Trial access for confirming endpoint, key, model, and streaming setup. Not a production allowance.

      Go

      Light individual use

      $8/month

      Same ChatGPT Go price anchor, API-shaped for developer tools and occasional agents.

      Plus

      Daily individual use

      Common choice
      $20/month

      Same ChatGPT Plus price anchor with about 2x perceived usage for API and agent workflows, subject to fair-use.

      Pro 5x

      Heavy coding agents

      $100/month

      Higher-priority API access for longer coding and automation sessions. Queue or throttle behavior may apply at capacity boundaries.

      Pro 20x

      High-frequency agents

      $200/month

      Highest individual capacity anchor for frequent agents and small production workflows. Add-on packs handle bursts.

      Business

      Teams and studios

      $25/user/month monthly Β· $20/user/month annual

      Business price anchor for workspace use. Shared org pools and member budgets depend on runtime rollout state.

      Endpoint, key, model

      Customers receive subscription allowance, a base URL, dashboard API key, and model name instead of owner-side OpenAI or Codex secrets.

      No unlimited promise

      Paid plans are governed by runtime fair-use, concurrency, queueing, and capacity windows.

      Privacy boundary

      The relay keeps owner-side tokens, local Codex config, prehook files, prompts, and private context server-side.

      Add-on path

      When fair-use is reached, users should see slowdown, queueing, or add-on/upgrade options instead of silent drops.

      Codex/API quickstart

      Copy these Codex API values into Codex CLI-style tools, OpenAI-compatible SDKs, Cursor, Cline, or Open WebUI. The frontend endpoint validates your dashboard API key before forwarding to the private relay; the same account can also be used as a Codex usage subscription.

      base_url
      https://codexcliapi.com/api/v1/codex
      api_key
      cps_live_your_api_key
      model
      gpt-5.4-mini
      Three-line curl
      curl -N "https://codexcliapi.com/api/v1/codex/chat/completions" \
        -H "Authorization: Bearer cps_live_your_api_key" \
        -H "Content-Type: application/json" \
        -d '{"model":"gpt-5.4-mini","stream":true,"messages":[{"role":"user","content":"Say hello from the relay"}]}'
      Cursor
      Provider: OpenAI Compatible
      Base URL: https://codexcliapi.com/api/v1/codex
      API Key: cps_live_your_api_key
      Model: gpt-5.4-mini
      Cline
      API Provider: OpenAI Compatible
      Base URL: https://codexcliapi.com/api/v1/codex
      API Key: cps_live_your_api_key
      Model ID: gpt-5.4-mini
      Streaming: enabled
      Open WebUI
      Connection type: OpenAI API compatible
      API Base URL: https://codexcliapi.com/api/v1/codex
      API Key: cps_live_your_api_key
      Model: gpt-5.4-mini

      Use the dashboard API key issued here. Do not paste owner-side OpenAI Platform keys, ChatGPT/Codex OAuth tokens, or private relay internal keys into Codex CLI or client tools.

      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

      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.

      Persistent API Access History

      Keep your dashboard key records, billing history, and setup references available in your account.

      PERMANENT

      OpenAI-Compatible Setup

      Use a dashboard API key, base URL, and model name with Codex CLI-style tools and SDK clients.

      PRO ESSENTIAL
      ?Trouble with order?
      Refund / Order Inquiry

      We usually reply within 24 hours

      Have feedback on our Codex API plans? Submit feedback or email us at [email protected]

      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.