Skip to content

Incorrect context size for some Openrouter providersΒ #7952

@Grelo4ka

Description

@Grelo4ka

App Version

3.28.1

API Provider

OpenRouter

Model Used

deepseek/deepseek-chat-v3.1:free

Roo Code Task Links (Optional)

The context size for deepseek/deepseek-chat-v3.1:free is detected as 64k when using DeepInfra provider, although this provider lists the context size as 163.8K tokens, not 64k.

πŸ” Steps to Reproduce

Use deepseek/deepseek-chat-v3.1:free DeepInfra provider

πŸ’₯ Outcome Summary

Expected 163.8K context size, got 64K context size.

πŸ“„ Relevant Logs or Errors (Optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - Needs InfoMissing details or unclear. Waiting on author to provide more context.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions