Open CC Switch from MiloRouter

On the API Keys page, choose Import to CCS for the target key. Your browser will ask for permission to open CC Switch.

Import to CCS in MiloRouter
The browser asks to open CC Switch after you choose Import to CCS. The key is masked.

Select the Codex configuration

CC Switch provider list
Choose the Codex configuration area at the top of CC Switch.

Configure MiloRouter manually

  1. 1

    Provider name

    Use a clear name such as MiloRouter.

  2. 2

    Website

    Enter https://milorouter.com.

  3. 3

    API key

    Use a key created in MiloRouter.

  4. 4

    Request URL

    For Codex Responses, use https://milorouter.com and select the native Responses format.

CC Switch provider configuration
Enter the MiloRouter URL, API key, and default model. Never expose a complete key in a screenshot.

Choose the model and protocol

Choose a model from the current model plaza that belongs to the key's group. For Codex Responses, select the native Responses format.

CC Switch model selector
The model list in the screenshot is only an example and can change.

Verify the setup

  1. 1

    Save and enable the provider

    Check the URL, key, model, and protocol.

  2. 2

    Restart Codex

    Fully quit and reopen Codex Desktop, then create a new task.

  3. 3

    Send a short request

    Confirm that a reply is returned.

  4. 4

    Check usage records

    Verify the model, tokens, and cost in MiloRouter.