Skip to content

How to set 1M context? #38

Open
Open

Description

@leeming87v5
No description provided.

Activity

  1. PauloDaniel1993 commented on May 26, 2026

    @PauloDaniel1993

    enable max mode in cursor

    Image
  2. davidyaaw commented on Sep 24, 2026

    @davidyaaw

    Max mode alone doesn't do it for DeepSeek. Cursor takes the context window from its own model catalog, not from the endpoint, and DeepSeek isn't in that catalog at 1M.

    What works: select a catalog model that has a 1M window (e.g. GPT-5.6 Sol). The proxy already rewrites any non-deepseek-* model id to the model: fallback in config.yaml, so DeepSeek answers with the 1M budget Cursor granted. After the first run, a custom deepseek-flash model also gets 1M.

    One catch: with a GPT-named model, Cursor sends type: "custom" tools that DeepSeek rejects with a 400. I've opened a PR for that (#53). Until it lands, my fork has the fix, a step-by-step guide and one-click launchers: https://github.com/davidyaaw/deepseek-cursor-proxy-1m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions