🪢 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 (#14414)
langfuse-botd2515cf595bc
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 fc9d4da87a..fc67aed4d6 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@@ -8,10 +8,36 @@ Always fetch pricing from the provider's official docs before editing.| --- | --- || Anthropic Claude | `https://platform.claude.com/docs/en/about-claude/pricing` || OpenAI | `https://openai.com/api/pricing/` |-| Google Gemini | `https://ai.google.dev/pricing` |+| Google Gemini (AI Studio) | `https://ai.google.dev/pricing` |+| Google Gemini (Vertex AI) | `https://cloud.google.com/vertex-ai/generative-ai/pricing#gemini-models` || AWS Bedrock | `https://aws.amazon.com/bedrock/pricing/` || Azure OpenAI | `https://azure.microsoft.com/pricing/details/cognitive-services/openai-service/` |+### Known source quirks (as of 2026-06)++- **OpenAI** — `openai.com/api/pricing/` returns HTTP 403 to automated fetchers. No+ accessible alternative has been confirmed. If this page fails, leave OpenAI prices+ unchanged and report the 403 as an unresolved finding.+- **Google Gemini** — The AI Studio page (`ai.google.dev/pricing`) and the Vertex AI+ page (`cloud.google.com/vertex-ai/generative-ai/pricing`) can show different prices+ for the same model (e.g. Gemini 2.0 Flash: AI Studio $0.10/MTok vs Vertex $0.15/MTok+ as of June 2026). When they differ, prefer the AI Studio page for AI Studio–specific+ models and Vertex for Vertex-specific ones; leave the file unchanged and report the+ discrepancy when uncertain which applies.+- **Gemini 1.5 models** — `gemini-1.5-pro`, `gemini-1.5-flash`, and `gemini-1.5-flash-8b`+ are no longer listed on either official Gemini pricing page as of June 2026. They+ appear to be retired/deprecated. Do not add or modify their pricing without a concrete+ official source.+- **Gemini experimental / preview model IDs** — Models such as+ `gemini-2.0-flash-exp`, `gemini-2.0-pro-exp-02-05`, `gemini-2.0-flash-thinking-exp-01-21`,+ `gemini-2.5-flash-preview-09-2025`, and `gemini-2.5-flash-lite-preview-09-2025` are+ in the selectable model lists but have no standalone pricing entry on official pages.+ Do not add pricing for them without explicit official evidence.+- **Gemini cache-read ratio** — Google Gemini models consistently price cached input at+ 10% of the base input price (e.g. Gemini 2.5 Flash: $0.30/MTok input → $0.03/MTok+ cached). If a cache-read price in the file diverges from this ratio, treat it as+ suspicious and verify against the official page before correcting.+Capture:1. Base input token price per million tokensdiff --git a/.github/workflows/model-price-audit.yml b/.github/workflows/model-price-audit.ymlindex 720cac0938..28134a72fa 100644--- a/.github/workflows/model-price-audit.yml+++ b/.github/workflows/model-price-audit.yml@@ -180,7 +180,7 @@ jobs:--max-turns ${{ github.event.inputs.max_turns || '250' }}--max-budget-usd ${{ github.event.inputs.max_budget_usd || '15' }}--no-session-persistence- --allowedTools "Read(/.github/workflows/model-price-audit.yml),Read(/worker/src/constants/default-model-prices.json),Read(/packages/shared/src/server/llm/types.ts),Read(/.agents/skills/add-model-price/SKILL.md),Read(/.agents/skills/add-model-price/references/*.md),Edit(/.github/workflows/model-price-audit.yml),Edit(/worker/src/constants/default-model-prices.json),Edit(/packages/shared/src/server/llm/types.ts),Edit(/.agents/skills/add-model-price/references/*.md),Write(/.agents/skills/add-model-price/references/*.md),WebFetch(domain:platform.claude.com),WebFetch(domain:docs.anthropic.com),WebFetch(domain:openai.com),WebFetch(domain:ai.google.dev),WebFetch(domain:aws.amazon.com),WebFetch(domain:azure.microsoft.com),Bash(date -u +%Y-%m-%dT00:00:00.000Z),Bash(node .agents/skills/add-model-price/scripts/validate-pricing-file.mjs),Bash(node .agents/skills/add-model-price/scripts/test-match-pattern.mjs:*)"+ --allowedTools "Read(/.github/workflows/model-price-audit.yml),Read(/worker/src/constants/default-model-prices.json),Read(/packages/shared/src/server/llm/types.ts),Read(/.agents/skills/add-model-price/SKILL.md),Read(/.agents/skills/add-model-price/references/*.md),Edit(/.github/workflows/model-price-audit.yml),Edit(/worker/src/constants/default-model-prices.json),Edit(/packages/shared/src/server/llm/types.ts),Edit(/.agents/skills/add-model-price/references/*.md),Write(/.agents/skills/add-model-price/references/*.md),WebFetch(domain:platform.claude.com),WebFetch(domain:docs.anthropic.com),WebFetch(domain:openai.com),WebFetch(domain:ai.google.dev),WebFetch(domain:cloud.google.com),WebFetch(domain:aws.amazon.com),WebFetch(domain:azure.microsoft.com),Bash(date -u +%Y-%m-%dT00:00:00.000Z),Bash(node .agents/skills/add-model-price/scripts/validate-pricing-file.mjs),Bash(node .agents/skills/add-model-price/scripts/test-match-pattern.mjs:*)"--json-schema '{"type":"object","additionalProperties":false,"properties":{"summary":{"type":"string"},"changedModels":{"type":"array","items":{"type":"string"}},"skillReferenceUpdates":{"type":"array","items":{"type":"string"}},"workflowUpdates":{"type":"array","items":{"type":"string"}},"unresolvedFindings":{"type":"array","items":{"type":"string"}},"validation":{"type":"array","items":{"type":"string"}}},"required":["summary","changedModels","skillReferenceUpdates","workflowUpdates","unresolvedFindings","validation"]}'- name: Mock Claude price auditdiff --git a/worker/src/constants/default-model-prices.json b/worker/src/constants/default-model-prices.jsonindex b87cb4590e..ea9bbb0d27 100644--- a/worker/src/constants/default-model-prices.json+++ b/worker/src/constants/default-model-prices.json@@ -2844,7 +2844,7 @@"modelName": "gemini-2.5-flash-lite","matchPattern": "(?i)^(google(ai)?\/)?(gemini-2.5-flash-lite)$","createdAt": "2025-07-03T13:44:06.964Z",- "updatedAt": "2026-03-19T00:00:00.000Z",+ "updatedAt": "2026-06-19T00:00:00.000Z","pricingTiers": [{"id": "cmcnjkrfa000207l4fpnh5mnv_tier_default",@@ -2858,8 +2858,8 @@"input_modality_1": 1e-7,"prompt_token_count": 1e-7,"promptTokenCount": 1e-7,- "input_cached_tokens": 2.5e-8,- "cached_content_token_count": 2.5e-8,+ "input_cached_tokens": 1e-8,+ "cached_content_token_count": 1e-8,"output": 4e-7,"output_text": 4e-7,"output_modality_1": 4e-7,@@ -2868,7 +2868,7 @@"thoughtsTokenCount": 4e-7,"thoughts_token_count": 4e-7,"output_reasoning": 4e-7,- "input_audio_tokens": 5e-7+ "input_audio_tokens": 3e-7}}]