Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions packages/evals/scripts/publish-braintrust-ui-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,24 @@ type ModelPricing = {
};

const MODEL_PRICING_USD_PER_1M_TOKENS = new Map<string, ModelPricing>([
// Standard (non-introductory) Sonnet 5 pricing. NOTE: introductory pricing
// ($2 / $0.20 cached / $10 per 1M) applies through 2026-08-31, so costs
// published before then are overstated ~1.5x; standard rates are used
// deliberately to keep the dashboard stable across the cutover.
["anthropic/claude-sonnet-5", { input: 3, cachedInput: 0.3, output: 15 }],
["claude-sonnet-5", { input: 3, cachedInput: 0.3, output: 15 }],
// GPT-5.6 tiers per OpenAI pricing (2026-07).
["openai/gpt-5.6-sol", { input: 5, cachedInput: 0.5, output: 30 }],
Comment thread
miguelg719 marked this conversation as resolved.
["gpt-5.6-sol", { input: 5, cachedInput: 0.5, output: 30 }],
Comment thread
miguelg719 marked this conversation as resolved.
["openai/gpt-5.6-terra", { input: 2.5, cachedInput: 0.25, output: 15 }],
["gpt-5.6-terra", { input: 2.5, cachedInput: 0.25, output: 15 }],
["openai/gpt-5.6-luna", { input: 1, cachedInput: 0.1, output: 6 }],
["gpt-5.6-luna", { input: 1, cachedInput: 0.1, output: 6 }],
// xAI pricing per docs.x.ai/developers/models (2026-07).
["xai/grok-4.5", { input: 2, cachedInput: 0.5, output: 6 }],
Comment thread
miguelg719 marked this conversation as resolved.
Comment thread
miguelg719 marked this conversation as resolved.
["grok-4.5", { input: 2, cachedInput: 0.5, output: 6 }],
["xai/grok-4.3", { input: 1.25, cachedInput: 0.2, output: 2.5 }],
["grok-4.3", { input: 1.25, cachedInput: 0.2, output: 2.5 }],
["anthropic/claude-opus-4-7", { input: 5, cachedInput: 0.5, output: 25 }],
["claude-opus-4-7", { input: 5, cachedInput: 0.5, output: 25 }],
["anthropic/claude-opus-4-6", { input: 5, cachedInput: 0.5, output: 25 }],
Expand Down
Loading