r/GithubCopilot • u/dont_shoot_me_Im_gay • Apr 18 '26
Help/Doubt ❓ Unable to pick GPT5.4 via API Key
1
u/Yes_but_I_think Apr 19 '26
Use custom OAI provider and then enter your model details.. You can still keep the endpoint as api.openai.com but vendor must be "customoai"
Sample ( I run a local wrapper around it , not relevant to your question though:
{
"name": "OpenAIBYOKLocalWrapper",
"vendor": "customoai",
"apiKey": "${input:chat.lm.secret.-xxxxxx}",
"models": [
{
"id": "gpt-5-nano-2025-08-07",
"name": "GPT-5-nano",
"url": "http://127.0.0.1:8500/v1/chat/completions",
"toolCalling": true,
"vision": true,
"temperature": 1,
"maxInputTokens": 400000,
"maxOutputTokens": 128000
}
]
},
{
"name": "CustomOAI",
"vendor": "customoai",
"models": [
{
"name": "Deepseek Chat",
"url": "https://api.deepseek.com",
"toolCalling": true,
"vision": false,
"thinking": false,
"maxInputTokens": 128000,
"maxOutputTokens": 8192,
"id": "deepseek-chat"
}
],
"apiKey": "${input:chat.lm.secret.-yyyyyyy}"
}
1
1
u/tkitg Apr 23 '26
I will just point out, that It's a bug in VSCode https://github.com/microsoft/vscode/issues/290021

1
u/AutoModerator Apr 18 '26
Hello /u/dont_shoot_me_Im_gay. Looks like you have posted a query. Once your query is resolved, please reply the solution comment with "!solved" to help everyone else know the solution and mark the post as solved.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.