Skip to content

kimi-k3 token usage counts completely messed up on openrouter / third-party routers smh #27

Description

@cniladri

ugh seriously losing my mind over this. whenever i route kimi k3 through openrouter or other API gateways, the token usage and tracking just breaks completely.

the reasoning tokens and input/output counts are totally miscalculated, and sometimes it causes my context window calls to just throw weird errors or get cut off mid-way even though i'm well under the 1m limit. like my billing dashboard is showing random spikes and it feels like the router integration isn't parsing the token headers right.

is anyone else dealing with this?? it's driving me crazy trying to run agent tasks. pls look into this asap 😩

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