Skip to content

Commit 6f89d08

Browse files
committed
Add details to totalBillableCharacters docs
1 parent 43eddac commit 6f89d08

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

FirebaseVertexAI/Sources/CountTokensRequest.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ public struct CountTokensResponse {
4343
/// The total number of tokens in the input given to the model as a prompt.
4444
public let totalTokens: Int
4545

46-
/// The total number of billable characters in the input given to the model as a prompt.
46+
/// 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.
4750
public let totalBillableCharacters: Int
4851
}
4952

0 commit comments

Comments
 (0)