Skip to content

Context Length Mismatch for Kimi K2 #134

@MananSuri27

Description

@MananSuri27

Using fireworks through LiteLLM.

Model: fireworks_ai/accounts/fireworks/models/kimi-k2-instruct

litellm.BadRequestError: Fireworks_aiException - {"error":{"object":"error","type":"invalid_request_error","co$
e":"invalid_request_error","message":"The prompt is too long: 40177, model maximum context length: 32767"}}

This is inconsistent, since the context window is stated as 128k/131k tokens for Kimi.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions