Skip to content

Instantly share code, notes, and snippets.

@jmcph4
Created December 15, 2025 12:43
Show Gist options
  • Select an option

  • Save jmcph4/0a839695786abee5afc440130f8b8676 to your computer and use it in GitHub Desktop.

Select an option

Save jmcph4/0a839695786abee5afc440130f8b8676 to your computer and use it in GitHub Desktop.
Error: HttpError: Invalid status code 400 Bad Request with message: {
"error": {
"message": "Requested 1325364 tokens, max 300000 tokens per request",
"type": "max_tokens_per_request",
"param": null,
"code": "max_tokens_per_request"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment