Skip to content

VertexAI: Gemini 3 or 2.5 Pro or Flash , do they have input tokens limit? #2050

@XinyueZ

Description

@XinyueZ

I don't know when it started, it should have been fine last week. Today, the same project, nothing has changed, and it suddenly started throwing errors.

{'error': {'code': 400, 'message': 'The input token count (25270) exceeds the maximum number of tokens allowed (4000).', 'status': 'INVALID_ARGUMENT'}}

I worked with the RAG Engine and Document AI. The 2.5 stuffs function normally.

Metadata

Metadata

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