Qwen Code
Use Qwen Code with CodexIn as an OpenAI-compatible provider.
Setup progress
Finish these once. After that, CodexIn works like a prepaid OpenAI-compatible endpoint.
x
Have usable credits
Create or select an API key
Copy the setup command
Send the first request
Install in your tool
Pick the coding tool and operating system, then copy the exact command.
PowerShell writes config files into
C:\Users\<username>\.codexQwen Code
$dir = Join-Path $env:USERPROFILE ".qwen"
New-Item -ItemType Directory -Force -Path $dir | Out-Null
$utf8NoBom = New-Object System.Text.UTF8Encoding $false
[System.IO.File]::WriteAllText((Join-Path $dir "settings.json"), @'
{
"modelProviders": {
"openai": [
{
"id": "gpt-5.5",
"name": "GPT-5.5",
"envKey": "CODEXIN_API_KEY",
"baseUrl": "https://api-c085633c1fd4.preview.codexin.lol/v1",
"generationConfig": {
"timeout": 240000,
"maxRetries": 2,
"samplingParams": {
"temperature": 0.2,
"max_tokens": 8192,
"reasoning_effort": "xhigh"
}
}
},
{
"id": "gpt-5.4",
"name": "GPT-5.4",
"envKey": "CODEXIN_API_KEY",
"baseUrl": "https://api-c085633c1fd4.preview.codexin.lol/v1",
"generationConfig": {
"timeout": 240000,
"maxRetries": 2,
"samplingParams": {
"temperature": 0.2,
"max_tokens": 8192,
"reasoning_effort": "xhigh"
}
}
},
{
"id": "gpt-5.4-mini",
"name": "GPT-5.4 Mini",
"envKey": "CODEXIN_API_KEY",
"baseUrl": "https://api-c085633c1fd4.preview.codexin.lol/v1",
"generationConfig": {
"timeout": 240000,
"maxRetries": 2,
"samplingParams": {
"temperature": 0.2,
"max_tokens": 8192,
"reasoning_effort": "xhigh"
}
}
}
]
},
"security": {
"auth": {
"selectedType": "openai"
}
},
"model": {
"name": "gpt-5.5"
}
}
'@, $utf8NoBom)
[System.IO.File]::WriteAllText((Join-Path $dir ".env"), @'
CODEXIN_API_KEY=ci_live_YOUR_KEY_HERE
'@, $utf8NoBom)
Write-Host "Qwen Code is ready. Start it with: qwen"Writes the user-scope Qwen settings file.
Use /model inside Qwen Code to switch between configured CodexIn models.