We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
totalBillableCharacters
1 parent 43eddac commit 6f89d08Copy full SHA for 6f89d08
FirebaseVertexAI/Sources/CountTokensRequest.swift
@@ -43,7 +43,10 @@ public struct CountTokensResponse {
43
/// The total number of tokens in the input given to the model as a prompt.
44
public let totalTokens: Int
45
46
- /// The total number of billable characters in the input given to the model as a prompt.
+ /// The total number of billable characters in the text input given to the model as a prompt.
47
+ ///
48
+ /// > Important: This does not include billable image, video or other non-text input. See
49
+ /// [Vertex AI pricing](https://cloud.google.com/vertex-ai/generative-ai/pricing) for details.
50
public let totalBillableCharacters: Int
51
}
52
0 commit comments