forked from router-for-me/CLIProxyAPI
-
-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Due to how model names are just gpt-5.1/5.2 etc across both, only Copilot provider is available for them.
curl -s http://localhost:6616/v1/models \
-H "Authorization: Bearer $OPENAI_API_KEY" \
| jq '.data[] | select(.id | contains("gpt-5.2"))'
{
"created": 1732752000,
"id": "gpt-5.2",
"object": "model",
"owned_by": "github-copilot"
}
Note the lack of a gpt-5.2 from openai.
curl -s http://localhost:6616/v1/models \
-H "Authorization: Bearer $OPENAI_API_KEY" \
| jq '.data[] | select(.id | contains("gpt-5.1"))'
{
"created": 1732752000,
"id": "gpt-5.1-codex-mini",
"object": "model",
"owned_by": "github-copilot"
}
{
"created": 1732752000,
"id": "gpt-5.1-codex",
"object": "model",
"owned_by": "github-copilot"
}
{
"created": 1732752000,
"id": "gpt-5.1",
"object": "model",
"owned_by": "github-copilot"
}
{
"created": 1763424000,
"id": "gpt-5.1-codex-max",
"object": "model",
"owned_by": "openai"
}
Here as well, gpt-5.1/5.1-codex/5.1-codex-mini from openai not visible despite 5.1 codex max being available.
A way to fix this could be to append a prefix, as done with Antigravity. Something like ghc-gpt-5.1.
Metadata
Metadata
Assignees
Labels
No labels