Skip to content

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

feat(models): add o3-mini and o3-mini-2025-01-31 (#5327)

Marc Klingene15a26d1de54
diff --git a/packages/shared/src/server/llm/types.ts b/packages/shared/src/server/llm/types.ts
index d5d880b13f..038b8a1701 100644
--- a/packages/shared/src/server/llm/types.ts
+++ b/packages/shared/src/server/llm/types.ts
@@ -85,6 +85,8 @@ export const openAIModels = [
"gpt-4o-2024-05-13",
"gpt-4o-mini",
"gpt-4o-mini-2024-07-18",
+ "o3-mini",
+ "o3-mini-2025-01-31",
"o1-preview",
"o1-preview-2024-09-12",
"o1-mini",
diff --git a/worker/src/constants/default-model-prices.json b/worker/src/constants/default-model-prices.json
index 57b4d5e981..7dfb50b704 100644
--- a/worker/src/constants/default-model-prices.json
+++ b/worker/src/constants/default-model-prices.json
@@ -1372,5 +1372,39 @@
"prices": {},
"tokenizer_config": null,
"tokenizer_id": null
+ },
+ {
+ "id": "cm6l8j7vs0000tymz9vk7ew8t",
+ "model_name": "o3-mini",
+ "match_pattern": "(?i)^(o3-mini)$",
+ "created_at": "2025-01-31T20:41:35.373Z",
+ "updated_at": "2025-01-31T20:41:35.373Z",
+ "prices": {
+ "input": 1.1e-6,
+ "input_cached_tokens": 0.55e-6,
+ "input_cache_read": 0.55e-6,
+ "output": 4.4e-6,
+ "output_reasoning_tokens": 4.4e-6,
+ "output_reasoning": 4.4e-6
+ },
+ "tokenizer_config": null,
+ "tokenizer_id": null
+ },
+ {
+ "id": "cm6l8jan90000tymz52sh0ql8",
+ "model_name": "o3-mini-2025-01-31",
+ "match_pattern": "(?i)^(o3-mini-2025-01-31)$",
+ "created_at": "2025-01-31T20:41:35.373Z",
+ "updated_at": "2025-01-31T20:41:35.373Z",
+ "prices": {
+ "input": 1.1e-6,
+ "input_cached_tokens": 0.55e-6,
+ "input_cache_read": 0.55e-6,
+ "output": 4.4e-6,
+ "output_reasoning_tokens": 4.4e-6,
+ "output_reasoning": 4.4e-6
+ },
+ "tokenizer_config": null,
+ "tokenizer_id": null
}
]