Maximum Context Length of Large Language Models

Home PDF Audio

I recently used the DeepSeek API to generate a commit message, as described in AI-Powered Git Commit Messages.

When a commit involves many changed files, the DeepSeek API reported that the input exceeded its context length limit of 65,535 tokens (2^16 - 1).

Here are the context window sizes of some other models:


Back 2025.01.18 Donate