MadeMore API ● Codex line operational · 45 ms
简体中文 / EN

Codex CLI with a custom base URL —
pay as you go at ~7% of list price

Two environment variables and Codex CLI runs against our OpenAI Responses-compatible endpoint. No subscription, no card, no minimum: prepaid credits are consumed per token at roughly 7% of the official list price, and the line stops the moment the balance reaches zero.

Get a free trial key See pricing
OpenAI Responses compatible Prepaid, stops at zero WeChat Pay — no card No prompt logging

Point Codex CLI at this endpoint

macOS / Linux

export OPENAI_BASE_URL=https://api.mddtech.cn/p/v1
export OPENAI_API_KEY=sk-your-key
codex

Windows PowerShell

$env:OPENAI_BASE_URL="https://api.mddtech.cn/p/v1"
$env:OPENAI_API_KEY="sk-your-key"
codex
One key is one line: keys issued for the Codex line only serve Codex models, and keys for the Claude line only serve Claude models. The portal issues both, and the setup snippet for your key is shown on the dashboard after login.

Or let ccpkit write the config for you

If you switch between providers — official API, a relay, your own gateway — hand-editing ~/.codex/config.toml gets old fast. ccpkit keeps each provider as a named profile and writes the config for you, with automatic backups.

pipx install ccpkit        # or: pip install ccpkit

ccpkit add mdd --preset mdd --claude-key sk-your-key --codex-key sk-your-other-key --use
ccpkit use mdd             # switch, any time
ccpkit doctor mdd          # is it reachable? how fast? which models?
ccpkit restore             # undo — roll back to the previous config

Prefer clicking to typing? It ships a local web UI — ccpkit ui — and on Windows you don't even need Python. Download the exe and double-click it:

https://github.com/kanfangwang/ccpkit/releases/latest/download/ccpkit.exe

ccpkit is an independent open-source tool (MIT, zero dependencies). The mdd preset is just one of several — it works with any OpenAI- or Anthropic-compatible endpoint. Source: github.com/kanfangwang/ccpkit

Using CC Switch, or any other profile manager? You do not need us to be in its built-in preset list — add it as a custom provider. Works in CC Switch, ccpkit, or anything else that lets you set a base URL:

Name      麦多 API / MadeMore API
Claude    https://api.mddtech.cn/p
Codex     https://api.mddtech.cn/p/v1
Key       your own key (starts with sk-)

Save it, select it, done. Nothing else to configure.

What you actually pay

What you payOfficial-priced usage you getTypical use
$5≈ $70a few evenings of agent work
$10≈ $140a light week of Codex CLI
$20≈ $280heavy use, multiple repos

Rates follow the official published token prices ÷ 7 on the Claude line and ÷ 14 on the Codex line. Credits do not expire and the balance cannot go negative.

Models on this line

gpt-5.5

Only models that genuinely work are enabled — a request for an unsupported model is rejected before it reaches upstream and is not billed. We would rather expose three working models than twenty that fail halfway through a task.

Questions people ask before paying

Does Codex CLI support a third-party provider?

Yes. Codex CLI honours OPENAI_BASE_URL and OPENAI_API_KEY, so any endpoint that implements the OpenAI Responses API works. Ours does, and it is Anthropic-compatible too, so the same portal serves both tools.

Will my key stop working if the upstream changes?

Upstream capacity is third-party, so it can degrade — that is the honest risk of a relay. What we control is the model list (kept in sync with what actually works) and transparency: the live status panel on the home page shows real probe latency and availability, not an invented uptime figure.

How do I pay, and how fast is it credited?

With WeChat Pay: the portal shows a one-time QR code, you scan it in WeChat and confirm, and the balance is credited automatically — usually within seconds. No card details ever reach this service. If WeChat Pay is not an option for you, email us and we will arrange something by hand.

Is there a free trial?

Yes, self-service and without an email address, so you can benchmark the endpoint from your own machine before paying.

Are you affiliated with OpenAI?

No. This is an independent third-party relay. Model names describe API compatibility only.

Get a free trial key Also need Claude Code?