Today let's share something suitable for GPT 5.6 Sol reverse proxystuff.
So-called reverse proxy can be understood as converting the client's model into an API for use.
I used to think the official side didn't want users to do reverse proxying, but recently Codex 's official staff are teaching everyone how to reverse proxy, so what are we waiting for?Claude Code + GPT 5.6 Sol, let's use it.
The tool needed is a GitHub project called CLIProxyAPI .
01. Project Introduction
CLIProxyAPI is a self-hosted AI API gateway. It can convert Codex, Claude Code, Gemini, Grok, Kimi, and other OpenAI-compatible upstreams into common OpenAI, Anthropic, and Gemini API interfaces.
Project address:https://github.com/router-for-me/CLIProxyAPI
CLIProxyAPI provides a set of compatible interfaces externally. Many clients don't need code changes; just replace the Base URL and API Key with the local configuration, and requests can be handed over to CLIProxyAPI。
- Traditional OpenAI SDK continues to use /v1/chat/completions
- New OpenAI clients mainly request /v1/responses
- Claude Code uses the Anthropic protocol, corresponding to /v1/messages
- Gemini SDK and compatible clients use /v1beta/models/*
- Image generation calls /v1/images/generations
- Image editing calls /v1/images/edits
Supports login flows for Codex, Claude, Antigravity,Kimi, xAI, etc.
The same provider can be configured with multiple accounts.
02. Project Testing
For installation, you can directly let Codex or Claude Code do it; just send them this prompt.
Prompt:
Please help me install and configure CLIProxyAPI on Windows.
Official project address:
https://github.com/router-for-me/CLIProxyAPI
Requirements:
1. Only download the latest version from the project's official GitHub Releases;
2. Choose the windows_amd64 or windows_arm64 installer based on the computer architecture;
3. Install to the CLIProxyAPI folder under the current user directory;
4. Copy config.example.yaml to config.yaml;
5. Bind the service to 127.0.0.1, using port 8317;
6. Disable remote management, and generate a random management password and downstream API Key;
7. Keep the default auth-dir; do not read, copy, or display OAuth Tokens;
8. When a Codex account login is needed, pause the operation and tell me the command I should execute, and I will complete the login in the browser;
9. After login is complete, start the service and request /healthz and /v1/models to check whether it succeeded;
10. Finally, tell me the Base URL, the location of the API Key in the configuration file, and the currently available model list.
Please directly execute the steps that can be completed automatically. When encountering errors, check the logs first and try to fix them; don't just give operating instructions.
After installation, login still requires entering it yourself in PowerShell:
.\cli-proxy-api.exe --config .\config.yaml --codex-login
After logging in, you can check the models once:
$match = Get-Content .\config.yaml |
Select-String '^\s*-\s*"([^"]+)"\s*$' |
Select-Object -First 1
$key = $match.Matches[0].Groups[1].Value.Trim()
$result = Invoke-RestMethod `
-Uri "http://127.0.0.1:8317/v1/models" `
-Headers @{ Authorization = "Bearer $key" }
$result.data | Select-Object id
If you can see the model names, it means:
- The service started successfully;
- The client key is correct;
- The OAuth account has been loaded;
- The upstream models can be accessed.
Finally, start the service; after starting, do not close the window during the whole process:
.\cli-proxy-api.exe --config .\config.yaml
Then, in cc switch or software that supports the OpenAI API, enter:
API 地址:http://127.0.0.1:8317/v1
API Key:config.yaml 文件中 api-keys 下的字符串
模型列表里想用的模型
Once configured, we can open Claude Code and use it directly! Although if you ask it what model it is, it will still stubbornly claim to be some Claude model, its guts have already been swapped for GPT 5.6 Sol.
Let's run the same case with GPT 5.6 Sol in both Claude Code and Codex, and compare the results.
Prompt:
Develop a ready-to-run personal task board in the current empty directory.
Requirements:
1. Use native HTML, CSS, and JavaScript; do not use frameworks or external CDNs;
2. Include three columns: "To Do, In Progress, Done";
3. Support adding, editing, deleting, dragging, and keyword search;
4. Store data in localStorage;
5. Support JSON import and export, and validate the data structure before importing;
6. Support dark mode, mobile layout, and keyboard operation;
7. Provide 8 demo items covering different statuses;
8. The interface must have a clear visual hierarchy and must not use gradients;
9. After completion, check the code for errors and provide a local run method.
Please create the required files directly; do not just provide code snippets.
Claude Code + GPT 5.6 Sol:
Codex + GPT 5.6 Sol:
Claude Code distinguishes the three columns with brown, blue, and green, so the status is visible at a glance. Each card provides edit, move left/right, and delete buttons, so even first-time users need no learning.
The new-window flow is highly complete, with word count, status selection, and shortcut hints. It proactively pauses dragging during search to prevent users from accidentally changing the order in filtered results; this detail is handled very well.
Codex's information architecture is more complete: the brand area, task statistics, search toolbar, and three-column board have clear hierarchy. It provides independent shortcut help and delete confirmation windows, making the experience more consistent than the browser's native pop-ups.
However, every card repeats "drag to another column to change status," which takes up space and easily creates visual noise. The dark cards use brighter borders, making the overall look rather harsh; the border contrast could be reduced.
In terms of visual presentation and the intuitiveness of moving tasks, Claude Code really does perform a bit better.
03. Dig a Little Deeper
In Stack Overflow's 2025 Developer Survey, 51% of professional developers use it every day; at the same time, 54% of developers have to switch between more than 6 software tools while working.
People's needs for AI have already begun to flow beyond the models themselves: integration, management, and monitoring.
CLIProxyAPI packages these needs into desktop software that ordinary people can use. Automatic download and updates, one-click account login, automatic model detection, tray operation, and quick client configuration.
We can build a separate product based on CLIProxyAPI: model evaluation and intelligent routing. Submit a batch of real tasks, and the system calls models such as GPT, Claude, and Gemini separately, recording completion time, token usage, error rate, and human ratings.
This evaluation result can directly participate in model selection. When writing frontend code, prioritize calling the model with better visual performance; when handling long documents, switch to a model with more stable context; when encountering rate limits or service anomalies, the system automatically switches to a backup model.
The longer it is used, the more tasks, ratings, and routing records the system accumulates, and the more the recommendations will align with our actual work. Public leaderboards can only answer which model is good; users care more about which model suits our tasks and how much money can be saved when the quality is sufficient.
CLIProxyAPI already provides the underlying capability for multi-model access. By continuing to add evaluation, routing, cost management, and team permissions, it can be turned into a standalone AI model management product.
Original link:GitHub rakes in 42K Stars, bringing GPT and Claude together for a powerful combination