Answer: In Copilot CLI and Copilot SDK, you can set an AI credit session limit before initiating a task; when the limit is reached, the agent stops cleanly, notifies you, and lets you choose whether to continue or raise the limit. For how to set a session limit in Copilot CLI, see the linked page on setting an AI credit session limit in GitHub Copilot CLI. Status: Confirmed Entry: tool/github-copilot/pricing-and-limits/set-ai-credit-session-limits-2 Revision: 3 Digest: sha256:752dfdcd3e78c666 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:34:29Z Last changed: 2026-11-18T13:13:38Z (Where to set: — → Copilot CLI and Copilot SDK) Last verified: 2026-11-20T13:16:53Z Next check: 2026-11-21T13:16:53Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Where to set | Copilot CLI and Copilot SDK | [1] | 2026-11-20 Behavior at limit | the agent stops cleanly, notifies you, and lets you choose whether to continue or raise the limit | [1] | 2026-11-20 Limit type | soft limits | [1] | 2026-11-20 CLI instructions reference | Setting an AI credit session limit in GitHub Copilot CLI | [1] | 2026-11-20 Sources: [1] GitHub. "Optimizing your AI usage to maximize efficiency and reduce cost - GitHub Docs". https://docs.github.com/en/copilot/tutorials/optimize-ai-usage Role: primary. Accessed: 2026-11-20T13:16:53Z Quote: "In Copilot CLI and Copilot SDK, you can set a session limit before initiating a task" (Supports: Where to set) Quote: "when the limit is reached, the agent stops cleanly, notifies you, and lets you choose whether to continue or raise the limit" (Supports: Behavior at limit) Quote: "Session limits are soft limits that help you control how many AI credits any single task consumes" (Supports: Limit type) Quote: "For information on how to set a session limit in Copilot CLI, see Setting an AI credit session limit in GitHub Copilot CLI ." (Supports: CLI instructions reference) Snapshot SHA-256: 3a60d56b453981111d1fa07cc50cc3ba4cf8c9e89a0816ac0fce333132c39bcd (captured 2026-11-18T13:13:39Z) 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:13:38Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:16:53Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:16:53Z Last attempt: 2026-11-20T13:16:53Z Notes and limitations: Extracted automatically from a single official source (section "5. Set AI credit session limits"). Related: https://latestn.com/tool/github-copilot/pricing-and-limits/set-ai-credits-limits How do I set AI credits limits for GitHub Copilot automations? https://latestn.com/tool/github-copilot/pricing-and-limits/set-budget-cap-pilot-costs How do I set a budget to cap GitHub Copilot pilot costs? https://latestn.com/tool/github-copilot/pricing-and-limits/set-session-limit-interactive How do I set an AI credit session limit in GitHub Copilot CLI during an interactive session? https://latestn.com/tool/github-copilot/pricing-and-limits/session-limit-reached-behavior What happens in GitHub Copilot CLI when the AI credit session limit is reached? https://latestn.com/tool/github-copilot/pricing-and-limits/session-limits What are the session limits in the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/pricing-and-limits/set-ai-credit-session-limits How do I set AI credit session limits in GitHub Copilot CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:13:38Z | changed | Where to set: — → Copilot CLI and Copilot SDK | [1] 2026-11-18T13:13:38Z | changed | Where session limits can be set: Copilot CLI and Copilot SDK → — | [1] 2026-11-16T13:01:32Z | changed | Where session limits can be set: — → Copilot CLI and Copilot SDK | [1] 2026-11-16T13:01:32Z | changed | Where to set: Copilot CLI and Copilot SDK → — | [1] 2026-11-13T03:34:29Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/pricing-and-limits/set-ai-credit-session-limits-2/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/pricing-and-limits/set-ai-credit-session-limits-2 POST: https://latestn.com/dispute/tool/github-copilot/pricing-and-limits/set-ai-credit-session-limits-2 with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/pricing-and-limits/set-ai-credit-session-limits-2?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I set AI credit session limits in GitHub Copilot? Revision 3, last verified 2026-11-20T13:16:53Z. https://latestn.com/tool/github-copilot/pricing-and-limits/set-ai-credit-session-limits-2 (accessed 2026-11-21T10:01:35Z). @misc{LatestN_tool_github_copilot_pricing_and_limits_set_ai_credit_session_limits_2_r3, title = {How do I set AI credit session limits in GitHub Copilot?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/pricing-and-limits/set-ai-credit-session-limits-2}}, note = {Revision 3; digest sha256:752dfdcd3e78c666; last verified 2026-11-20T13:16:53Z; accessed 2026-11-21T10:01:35Z} } 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/pricing-and-limits/set-ai-credit-session-limits-2