In this tutorial, we'll install OpenAI's
codeex app on Windows. Then using CC
switch and AI hub mix. We'll make it run
on almost any AI model, not just Open
AIS.
Start in your browser. Search for codeex
download.
Open the official codeex page on
openai.com.
Click download for Windows.
The installer itself is tiny, so it's
done in seconds.
When it finishes, show it in file
explorer.
Rightclick the installer and run it as
administrator.
A setup window opens and a real download
begins.
This package is about 700 megabytes.
Fair warning, this part can be slow,
usually 5 to 6 minutes. So, let's skip
the wait.
And we're back. 96% and counting.
The moment it hits 100, everything
happens on its own.
The installer closes and Codeex launches
itself.
It lands on a sign-in screen. And here's
the key part. Don't click anything.
We're never going to log in. That's what
CC Switch is for.
Codeex is installed. Now for the fun
part. CC Switch. CC Switch is a free
open- source app that can point CEcs at
thirdparty providers. We'll use it to
connect to AI HubMix, one gateway that
carries basically every AI model behind
a single API key. Today's example model,
DeepSeek V4 Flash, the 0731 release.
Head to the CC Switch site and hit
download free.
It takes us to the downloads page.
Pick your operating system. We're on
Windows 10, so we take the x64
installer.
Chrome flags the file as unverified.
That's just safe browsing being off.
Keep it
12 megabytes. Done instantly. Open it to
install.
Setup takes a few seconds. Then CC
switch is ready. Open it up.
At the top, switch to the open AI
section. That's the one codeex reads.
Then hit the plus to add a provider.
From the presets, choose AI hub mix icon
and endpoint fill in automatically.
Next, we need an API key. So, over to
the AIHubmix website.
Search for iHubmix and open
aihubmix.com.
One gateway, infinite models, every
major LLM behind one unified API.
Click console.
It asks us to sign in Google account.
One click.
Once we're in, open API keys in the
sidebar and add a new key.
Name it DeepSk V4 flash 0731. So we know
what it's for.
Notice the options here. Quota and an
expiry time.
We'll give this key an expiration date.
One day. If it ever leaks, it's already
dead. Cheap insurance.
Submit. And there's our key.
Copy it before closing. It's only shown
once. Back in CC switch, paste the key
into the AI HubMix provider.
Bonus feature, endpoint speed testing.
Both endpoints answer fast. Either one
will do.
Now, the default model. Click the
download icon and CC switch pulls the
full AI hub mix model list. Everything
they carry.
Filter for Deepseek and select Deepseek
V4 flash0731.
Keep the upstream format on responses.
That's what Codeex speaks natively.
Add it saved.
The new provider appears at the bottom.
Click it to enable it. Now it's the
active config for Codeex.
Time to restart Codeex properly. Close
the window. Then quit it from the system
tray bottom right corner
and launch it again.
while it starts. Remember last time it
demanded a chat GPT signin.
This time straight to the welcome
screen. No login at all. CC switch
already wired codecs to AI HubMix.
Pick any field. It doesn't matter. And
continue.
It offers a demo task. Skip it.
Confirm. Go to chat. GPT.
One last popup. Pitching GPT 5.6. Take
continue with current model. So, we stay
on our custom setup. Here's the main
screen. Bottom right of the input box,
the model says custom. That's our
DeepSeek V4 flash riding through AI
HubMix. Time for a real test. I'll ask
for a short introduction of AI HubMix.
Questions in send it.
The request flows through AIHub Mix to
Deep Seek and Codeex gets to work. It's
an agent. So instead of guessing, it
actually runs a shell command to look
around first.
21 seconds of work.
And here's the reply.
It's an honest one. The model says it
doesn't have reliable information about
AI HubMix and asks for a URL or some
context instead of making things up.
Fine by us. Next, we'll hand it the URL.
Picking up right where we left off. The
model wanted a URL. Let's give it one.
The answer, an AI model aggregator. And
the URL is aihubmix.com.
Sent. Now watch it work.
It announces the plan, fetch info from
the site, and fires off curl to download
the homepage.
The first attempt hits a Windows quirk.
In PowerShell, curl is just an alias for
invoke web request. The model catches
that and switches to the real curl.exe.
Still blocked. So, it retries this time
pretending to be a browser with a
masilla user agent.
This is what makes agents fun to watch.
It's debugging its own path to the
answer.
And remember, this is Deepseek V4 Flash,
a fast, inexpensive model doing genuine
multi-step work.
Once the page downloads, it strips the
HTML down to readable text.
1 minute 31 seconds of work.
And here's the payoff.
A real introduction sourced from the
live site. One API, many models, and
OpenAI compatible endpoint routing
developer tools. The works. Final stop.
Let's see what all of this cost. Back to
the AI HubMix console. In the sidebar,
open logs. Here is every request
itemized.
Each row shows the model, our DeepSk,
V4, Flash 0731,
tokens in and out, cash tokens, latency
around a second and a half, and the
exact spend. Most of these calls cost
less than a tenth of a cent. And that's
the full setup. codecs on Windows, CC
switch in the middle, and one AI HubMix
key that unlocks any model you want to
try. Thanks for watching.