🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
chore(pricing): update default model prices (#14954)
langfuse-bot7a0dcb61c5ab
diff --git a/.agents/skills/add-model-price/references/provider-sources-and-price-keys.md b/.agents/skills/add-model-price/references/provider-sources-and-price-keys.mdindex ab84d1267a..bdc7f07cca 100644--- a/.agents/skills/add-model-price/references/provider-sources-and-price-keys.md+++ b/.agents/skills/add-model-price/references/provider-sources-and-price-keys.md@@ -77,6 +77,12 @@ Always fetch pricing from the provider's official docs before editing.WebFetch, but you haven't granted it yet"), not a website-level HTTP 403. If the`developers.openai.com/api/docs/pricing` fetch fails for either reason, leave OpenAIprices unchanged and report it as an unresolved finding.+- **GPT-5.6 model family (added July 2026)** — OpenAI introduced a three-variant naming+ scheme for GPT-5.6: `gpt-5.6-sol` (flagship, $5/$0.50/$30 per MTok input/cached/output),+ `gpt-5.6-terra` (balanced, $2.50/$0.25/$15), and `gpt-5.6-luna` (cost-efficient,+ $1.00/$0.10/$6.00). All three are reasoning models; no date-stamped snapshot versions were+ present at launch. If dated versions appear (e.g. `gpt-5.6-sol-2026-07-xx`), add them+ as separate pricing entries following the gpt-5.4 / gpt-5.5 precedent.Capture:diff --git a/packages/shared/src/server/llm/types.ts b/packages/shared/src/server/llm/types.tsindex 77b295493a..1a258d28ff 100644--- a/packages/shared/src/server/llm/types.ts+++ b/packages/shared/src/server/llm/types.ts@@ -312,6 +312,9 @@ export const openAIModels = ["gpt-4.1-mini-2025-04-14","gpt-4.1-nano","gpt-4.1-nano-2025-04-14",+ "gpt-5.6-sol",+ "gpt-5.6-terra",+ "gpt-5.6-luna","gpt-5.5","gpt-5.5-2026-04-23","gpt-5.5-pro",@@ -367,6 +370,9 @@ export const openAIModels = [type OpenAIReasoningMap = Record<OpenAIModel, boolean>;export const openAIModelToReasoning: OpenAIReasoningMap = {// reasoning models+ "gpt-5.6-sol": true,+ "gpt-5.6-terra": true,+ "gpt-5.6-luna": true,"gpt-5.5": true,"gpt-5.5-2026-04-23": true,"gpt-5.5-pro": true,diff --git a/worker/src/constants/default-model-prices.json b/worker/src/constants/default-model-prices.jsonindex 0077d1749c..0c955f4752 100644--- a/worker/src/constants/default-model-prices.json+++ b/worker/src/constants/default-model-prices.json@@ -4117,6 +4117,96 @@}]},+ {+ "id": "7f3d2e1a-4b5c-4d6e-8f9a-0b1c2d3e4f5a",+ "modelName": "gpt-5.6-sol",+ "matchPattern": "(?i)^(openai/)?(gpt-5.6-sol)$",+ "createdAt": "2026-07-09T00:00:00.000Z",+ "updatedAt": "2026-07-09T00:00:00.000Z",+ "tokenizerConfig": {+ "tokensPerName": 1,+ "tokenizerModel": "gpt-4",+ "tokensPerMessage": 3+ },+ "tokenizerId": "openai",+ "pricingTiers": [+ {+ "id": "7f3d2e1a-4b5c-4d6e-8f9a-0b1c2d3e4f5a_tier_default",+ "name": "Standard",+ "isDefault": true,+ "priority": 0,+ "conditions": [],+ "prices": {+ "input": 5e-6,+ "input_cached_tokens": 0.5e-6,+ "input_cache_read": 0.5e-6,+ "output": 30e-6,+ "output_reasoning_tokens": 30e-6,+ "output_reasoning": 30e-6+ }+ }+ ]+ },+ {+ "id": "8a4e3f2b-5c6d-4e7f-9a0b-1c2d3e4f5a6b",+ "modelName": "gpt-5.6-terra",+ "matchPattern": "(?i)^(openai/)?(gpt-5.6-terra)$",+ "createdAt": "2026-07-09T00:00:00.000Z",+ "updatedAt": "2026-07-09T00:00:00.000Z",+ "tokenizerConfig": {+ "tokensPerName": 1,+ "tokenizerModel": "gpt-4",+ "tokensPerMessage": 3+ },+ "tokenizerId": "openai",+ "pricingTiers": [+ {+ "id": "8a4e3f2b-5c6d-4e7f-9a0b-1c2d3e4f5a6b_tier_default",+ "name": "Standard",+ "isDefault": true,+ "priority": 0,+ "conditions": [],+ "prices": {+ "input": 2.5e-6,+ "input_cached_tokens": 0.25e-6,+ "input_cache_read": 0.25e-6,+ "output": 15e-6,+ "output_reasoning_tokens": 15e-6,+ "output_reasoning": 15e-6+ }+ }+ ]+ },+ {+ "id": "9b5f4a3c-6d7e-4f8a-ab1c-2d3e4f5a6b7c",+ "modelName": "gpt-5.6-luna",+ "matchPattern": "(?i)^(openai/)?(gpt-5.6-luna)$",+ "createdAt": "2026-07-09T00:00:00.000Z",+ "updatedAt": "2026-07-09T00:00:00.000Z",+ "tokenizerConfig": {+ "tokensPerName": 1,+ "tokenizerModel": "gpt-4",+ "tokensPerMessage": 3+ },+ "tokenizerId": "openai",+ "pricingTiers": [+ {+ "id": "9b5f4a3c-6d7e-4f8a-ab1c-2d3e4f5a6b7c_tier_default",+ "name": "Standard",+ "isDefault": true,+ "priority": 0,+ "conditions": [],+ "prices": {+ "input": 1e-6,+ "input_cached_tokens": 0.1e-6,+ "input_cache_read": 0.1e-6,+ "output": 6e-6,+ "output_reasoning_tokens": 6e-6,+ "output_reasoning": 6e-6+ }+ }+ ]+ },{"id": "6ed696e7-5f3a-4113-a233-019155fb3ff0","modelName": "gemini-3.5-flash",