cost

fun cost(): Double

Dollar cost of this embedding call. Computed from prompt tokens only (embeddings have no completion tokens).