Skip to content

Commit fd5bdc7

Browse files
feat: increase Claude Code default max output tokens to 16k (#6312)
feat: increase Claude Code default max output tokens from 8k to 16k - Changed CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS from 8000 to 16000 - Users can still lower it to 8k via environment variable if needed - Addresses issue #6125 regarding output token limits Co-authored-by: Roo Code <[email protected]>
1 parent e654ced commit fd5bdc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/types/src/providers/claude-code.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function convertModelNameForVertex(modelName: string): string {
2222
// Claude Code
2323
export type ClaudeCodeModelId = keyof typeof claudeCodeModels
2424
export const claudeCodeDefaultModelId: ClaudeCodeModelId = "claude-sonnet-4-20250514"
25-
export const CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS = 8000
25+
export const CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS = 16000
2626

2727
/**
2828
* Gets the appropriate model ID based on whether Vertex AI is being used.

0 commit comments

Comments
 (0)