Skip to content

Conversation

@sk-portkey
Copy link
Contributor

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context.

  • New model pricing
  • Update existing pricing
  • New model configuration
  • Bug fix

Source Verification

Source Link: [Add link here]

Important

Please include a link to the official pricing page from the provider. Simple "I heard it from somewhere" or screenshot sources are not accepted.

Checklist

  • I have validated the JSON using jq or an online validator
  • I have verified that prices are in cents per token (not dollars)
  • I have included the source link above
  • I have signed the CLA (if first-time contributor)

Related Issue

Fixes # (issue)

@sk-portkey sk-portkey requested a review from Copilot February 1, 2026 15:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds batch pricing configuration to multiple AI provider pricing files (OpenAI, Anthropic, Google, and Vertex AI), introducing a standardized schema for batch API pricing using base price multipliers.

Changes:

  • Added batch_config sections to pricing JSON files for OpenAI, Anthropic, Google, and Vertex AI models
  • Updated OpenAPI schema to include BatchConfig and DerivedTokenPrice components
  • Added documentation in README explaining batch pricing structure and calculation

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pricing/vertex-ai.json Added batch_config sections with 0.5 multipliers for text models and 0.8 for embedding models
pricing/openai.json Added batch_config sections with 0.5 multipliers across models, fixed formatting issue
pricing/google.json Added batch_config sections with 0.5 multipliers for text models and 0.8 for embedding models
pricing/anthropic.json Added batch_config sections with 0.5 multipliers for all Claude models
openapi.yaml Defined BatchConfig and DerivedTokenPrice schemas with examples and documentation
README.md Added comprehensive documentation section for batch pricing configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sk-portkey sk-portkey force-pushed the feat/batch_pricing branch 5 times, most recently from 022330e to fe37161 Compare February 1, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants