Commit 9e1d428
authored
update gemini embedding model cost metrics (#1010)
# Add cost metrics to Gemini embedding models
Adds `input_cost_per_mil_tokens` and `output_cost_per_mil_tokens` to the
Gemini embedding models in `model_list.json`, covering both the Gemini
API entries and the Vertex (`publishers/google/models/...`) entries:
| Model | Input ($/1M tokens) | Output ($/1M tokens) |
|---|---|---|
| `gemini-embedding-001` | 0.15 | 0 |
| `gemini-embedding-2` | 0.20 | 0 |
Pricing verified against the [official Gemini API pricing
page](https://ai.google.dev/gemini-api/docs/pricing). Embedding models
have no billed output tokens, so output cost is set to 0.
**Note:** `gemini-embedding-2` is multimodal with per-modality input
pricing (text $0.20/1M, image $0.45/1M, audio $6.50/1M, video
$12.00/1M). The schema only supports a single input cost, so these
entries reflect the text rate; non-text embedding inputs will be
under-costed until per-modality cost fields exist.1 parent 2e7e690 commit 9e1d428
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7320 | 7320 | | |
7321 | 7321 | | |
7322 | 7322 | | |
| 7323 | + | |
| 7324 | + | |
7323 | 7325 | | |
7324 | 7326 | | |
7325 | 7327 | | |
| |||
7328 | 7330 | | |
7329 | 7331 | | |
7330 | 7332 | | |
| 7333 | + | |
| 7334 | + | |
7331 | 7335 | | |
7332 | 7336 | | |
7333 | 7337 | | |
| |||
11614 | 11618 | | |
11615 | 11619 | | |
11616 | 11620 | | |
| 11621 | + | |
| 11622 | + | |
11617 | 11623 | | |
11618 | 11624 | | |
11619 | 11625 | | |
| |||
11626 | 11632 | | |
11627 | 11633 | | |
11628 | 11634 | | |
| 11635 | + | |
| 11636 | + | |
11629 | 11637 | | |
11630 | 11638 | | |
11631 | 11639 | | |
| |||
0 commit comments