Skip to content

feat(cost): add gpt-5 and gpt-5-mini to default pricing table#1765

Merged
bug-ops merged 2 commits intomainfrom
add-gpt-5-mini-pricing
Mar 14, 2026
Merged

feat(cost): add gpt-5 and gpt-5-mini to default pricing table#1765
bug-ops merged 2 commits intomainfrom
add-gpt-5-mini-pricing

Conversation

@bug-ops
Copy link
Copy Markdown
Owner

@bug-ops bug-ops commented Mar 14, 2026

Summary

  • Adds gpt-5 and gpt-5-mini entries to default_pricing() in crates/zeph-core/src/cost.rs
  • Eliminates WARN log noise on every LLM call when using these models
  • Pricing rates: gpt-5 $1.25/$10.00 per 1M tokens, gpt-5-mini $0.25/$2.00 per 1M tokens

Closes #1744

Test plan

  • cargo nextest run --config-file .github/nextest.toml --workspace --features full --lib --bins — 5529 tests pass
  • New unit tests: gpt5_pricing_is_correct, gpt5_mini_pricing_is_correct
  • No WARN logs for gpt-5-mini in test sessions using testing.toml

Adds gpt-5 ($1.25/$10 per 1M tokens) and gpt-5-mini ($0.25/$2 per 1M
tokens) to default_pricing() to eliminate WARN logs on every LLM call
when using these models. Adds unit tests for both new entries.

Closes #1744.
@github-actions github-actions bot added documentation Improvements or additions to documentation rust Rust code changes core zeph-core crate labels Mar 14, 2026
@bug-ops bug-ops enabled auto-merge (squash) March 14, 2026 17:30
@github-actions github-actions bot added enhancement New feature or request size/S Small PR (11-50 lines) labels Mar 14, 2026
@bug-ops bug-ops merged commit ce21059 into main Mar 14, 2026
15 checks passed
@bug-ops bug-ops deleted the add-gpt-5-mini-pricing branch March 14, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core zeph-core crate documentation Improvements or additions to documentation enhancement New feature or request rust Rust code changes size/S Small PR (11-50 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(cost): add gpt-5-mini to default pricing table

1 participant