Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

feat(llm-connections): add gemini 2.5 flash lite and gemini 2.5 prices (#7666)

Hassieb Pakzadff40e7914384
diff --git a/packages/shared/src/server/llm/types.ts b/packages/shared/src/server/llm/types.ts
index 12e8256e2d..2298089ad9 100644
--- a/packages/shared/src/server/llm/types.ts
+++ b/packages/shared/src/server/llm/types.ts
@@ -344,6 +344,7 @@ export const anthropicModels = [
export const vertexAIModels = [
"gemini-2.5-pro",
"gemini-2.5-flash",
+ "gemini-2.5-flash-lite-preview-06-17",
"gemini-2.5-pro-preview-05-06",
"gemini-2.5-flash-preview-05-20",
"gemini-2.0-flash",
@@ -360,6 +361,7 @@ export const vertexAIModels = [
export const googleAIStudioModels = [
"gemini-2.5-flash",
"gemini-2.5-pro",
+ "gemini-2.5-flash-lite-preview-06-17",
"gemini-2.5-pro-preview-05-06",
"gemini-2.5-flash-preview-05-20",
"gemini-2.0-flash",
diff --git a/worker/src/constants/default-model-prices.json b/worker/src/constants/default-model-prices.json
index c018ab4eea..9053b88e79 100644
--- a/worker/src/constants/default-model-prices.json
+++ b/worker/src/constants/default-model-prices.json
@@ -1849,5 +1849,47 @@
},
"tokenizer_config": null,
"tokenizer_id": null
+ },
+ {
+ "id": "cmcnjkfwn000107l43bf5e8ax",
+ "model_name": "gemini-2.5-flash",
+ "match_pattern": "(?i)^(gemini-2.5-flash)$",
+ "created_at": "2025-07-03T13:44:06.964Z",
+ "updated_at": "2025-07-03T13:44:06.964Z",
+ "prices": {
+ "input": 0.3e-6,
+ "prompt_token_count": 0.3e-6,
+ "promptTokenCount": 0.3e-6,
+ "output": 2.5e-6,
+ "candidates_token_count": 2.5e-6,
+ "candidatesTokenCount": 2.5e-6,
+ "thoughtsTokenCount": 2.5e-6,
+ "thoughts_token_count": 2.5e-6,
+ "output_reasoning": 2.5e-6,
+ "input_audio_tokens": 1e-6
+ },
+ "tokenizer_config": null,
+ "tokenizer_id": null
+ },
+ {
+ "id": "cmcnjkrfa000207l4fpnh5mnv",
+ "model_name": "gemini-2.5-flash-lite-preview-06-17",
+ "match_pattern": "(?i)^(gemini-2.5-flash-lite-preview-06-17)$",
+ "created_at": "2025-07-03T13:44:06.964Z",
+ "updated_at": "2025-07-03T13:44:06.964Z",
+ "prices": {
+ "input": 0.1e-6,
+ "prompt_token_count": 0.1e-6,
+ "promptTokenCount": 0.1e-6,
+ "output": 0.4e-6,
+ "candidates_token_count": 0.4e-6,
+ "candidatesTokenCount": 0.4e-6,
+ "thoughtsTokenCount": 0.4e-6,
+ "thoughts_token_count": 0.4e-6,
+ "output_reasoning": 0.4e-6,
+ "input_audio_tokens": 0.5e-6
+ },
+ "tokenizer_config": null,
+ "tokenizer_id": null
}
]