Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface LlmUtilityServiceGrpc.AsyncService (1.32.0)\n\n public static interface LlmUtilityServiceGrpc.AsyncService\n\nService for LLM related utility functions.\n\nMethods\n-------\n\n### computeTokens(ComputeTokensRequest request, StreamObserver\\\u003cComputeTokensResponse\\\u003e responseObserver)\n\n public default void computeTokens(ComputeTokensRequest request, StreamObserver\u003cComputeTokensResponse\u003e responseObserver)\n\nReturn a list of tokens based on the input text.\n\n### countTokens(CountTokensRequest request, StreamObserver\\\u003cCountTokensResponse\\\u003e responseObserver)\n\n public default void countTokens(CountTokensRequest request, StreamObserver\u003cCountTokensResponse\u003e responseObserver)\n\nPerform a token counting."]]