Skip to content

Add byteplus configuration and pricing files#765

Merged
prabhash-varma merged 5 commits into
mainfrom
feat/byteplus-provider
May 15, 2026
Merged

Add byteplus configuration and pricing files#765
prabhash-varma merged 5 commits into
mainfrom
feat/byteplus-provider

Conversation

@prabhash-varma
Copy link
Copy Markdown
Contributor

  • Introduced new JSON configuration for byteplus, detailing parameters and types for various models.
  • Added comprehensive pricing structure for byteplus, including pay-as-you-go rates for request and response tokens across multiple model variants.

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)

- Introduced new JSON configuration for byteplus, detailing parameters and types for various models.
- Added comprehensive pricing structure for byteplus, including pay-as-you-go rates for request and response tokens across multiple model variants.
@prabhash-varma
Copy link
Copy Markdown
Contributor Author

Comment thread pricing/byteplus.json
- Removed redundant image pricing entries and replaced them with additional units for embedding tokens.
- Updated pricing for embedding_image_token and embedding_text_token to streamline the configuration.
Copy link
Copy Markdown
Contributor

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

Adds Byteplus as a new provider in the Portkey Models catalog by introducing provider-level model configuration metadata and a comprehensive pay-as-you-go pricing map for multiple Byteplus model variants (chat, image, embedding).

Changes:

  • Added general/byteplus.json defining default parameter schema plus per-model capability/type overrides (chat/tools/image, image-only, embedding).
  • Added pricing/byteplus.json with default pricing calculation config and per-model rate entries (including cache rates and additional units).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
pricing/byteplus.json Introduces Byteplus pricing definitions and default pricing calculation logic across many model IDs.
general/byteplus.json Introduces Byteplus model configuration defaults and per-model overrides for capabilities and types.

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

Comment thread general/byteplus.json Outdated
Comment thread pricing/byteplus.json
Comment thread pricing/byteplus.json
Comment thread general/byteplus.json Outdated
sivadurga-d
sivadurga-d previously approved these changes May 15, 2026
@prabhash-varma prabhash-varma merged commit ff2dd5f into main May 15, 2026
2 checks passed
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.

4 participants