Answer: To fix the 'Model not specified' error in GitHub Copilot BYOK, you must include the required model parameter when creating a session with a custom provider, for example model: "gpt-4". Status: Confirmed Entry: tool/github-copilot/troubleshooting/byok-model-not-specified Revision: 3 Digest: sha256:d636c0abb724d625 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:27:40Z Last changed: 2026-11-19T13:01:27Z (Example model value: — → gpt-4) Last verified: 2026-11-20T13:07:50Z Next check: 2026-11-21T13:07:50Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Required parameter | model | [1] | 2026-11-20 Example model value | gpt-4 | [1] | 2026-11-20 Sources: [1] GitHub. "BYOK (bring your own key) - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/auth/byok Role: primary. Accessed: 2026-11-20T13:07:50Z Quote: "the model parameter is required" (Supports: Required parameter) Quote: "model : "gpt-4" , // Required!" (Supports: Example model value) Snapshot SHA-256: 936a6e70f52736f1cdd3dc04b14cf3ec1831e8149332473788e03662fdadb8a7 (captured 2026-11-18T13:02:48Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:02:50Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:07:50Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:07:50Z Last attempt: 2026-11-20T13:07:50Z Notes and limitations: Extracted automatically from a single official source (section ""Model not specified" error"). Related: https://latestn.com/tool/github-copilot/troubleshooting/cannot-assign-agent-jira Why can't I assign the GitHub Copilot cloud agent to a Jira work item? https://latestn.com/tool/github-copilot/troubleshooting/capture-mcp-traffic How do I capture all MCP traffic for debugging in GitHub Copilot? https://latestn.com/tool/github-copilot/troubleshooting/certificate-errors How do I troubleshoot certificate-related errors in GitHub Copilot? https://latestn.com/tool/github-copilot/troubleshooting/ask-why-workflow-failed How do I ask GitHub Copilot why a workflow has failed in a pull request? https://latestn.com/tool/github-copilot/troubleshooting/azure-billing-activation-troubleshooting How do I troubleshoot GitHub Copilot activation when billing through Azure? https://latestn.com/tool/github-copilot/troubleshooting/browser-use-troubleshooting How do I troubleshoot browser use in GitHub Copilot CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:01:27Z | changed | Example model value: — → gpt-4 | [1] 2026-11-19T13:01:27Z | changed | Required parameter: — → model | [1] 2026-11-19T13:01:27Z | changed | example model value: gpt-4 → — | [1] 2026-11-19T13:01:27Z | changed | required parameter: model → — | [1] 2026-11-17T13:25:35Z | changed | example model value: — → gpt-4 | [1] 2026-11-17T13:25:35Z | changed | required parameter: — → model | [1] 2026-11-17T13:25:35Z | changed | Example model value: gpt-4 → — | [1] 2026-11-17T13:25:35Z | changed | Required parameter: model → — | [1] 2026-11-13T03:27:40Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/troubleshooting/byok-model-not-specified/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/troubleshooting/byok-model-not-specified POST: https://latestn.com/dispute/tool/github-copilot/troubleshooting/byok-model-not-specified with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/troubleshooting/byok-model-not-specified?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I fix a 'Model not specified' error in GitHub Copilot BYOK? Revision 3, last verified 2026-11-20T13:07:50Z. https://latestn.com/tool/github-copilot/troubleshooting/byok-model-not-specified (accessed 2026-11-21T09:59:32Z). @misc{LatestN_tool_github_copilot_troubleshooting_byok_model_not_specified_r3, title = {How do I fix a 'Model not specified' error in GitHub Copilot BYOK?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/troubleshooting/byok-model-not-specified}}, note = {Revision 3; digest sha256:d636c0abb724d625; last verified 2026-11-20T13:07:50Z; accessed 2026-11-21T09:59:32Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/troubleshooting/byok-model-not-specified