Portkey provides a robust and secure gateway to integrate various Large Language Models (LLMs) into applications, including BytePlus ModelArk models. With Portkey, take advantage of features like fast AI gateway access, observability, prompt management, and more, while securely managing API keys through Model Catalog.Documentation Index
Fetch the complete documentation index at: https://portkey-docs-feat-byteplus-provider.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Provider Slug:
byteplusQuick Start
Get BytePlus ModelArk working in 3 steps:Tip: You can also set
provider="@byteplus" in Portkey() and use just model="ep-m-your-endpoint-id" in the request.Add Provider in Model Catalog
- Go to Model Catalog β Add Provider
- Select BytePlus
- Choose existing credentials or create new by entering your BytePlus API key
- Name your provider (e.g.,
byteplus-prod)
Configuration Parameters
| Parameter | Description | Required |
|---|---|---|
apiKey | BytePlus ModelArk API key | Yes |
byteplusRegion | Region for API requests (ap-southeast-1 or eu-west-1) | No (defaults to ap-southeast-1) |
x-portkey-byteplus-region header.
Complete Setup Guide β
See all setup options, code examples, and detailed instructions
Supported Endpoints
| Endpoint | Support |
|---|---|
/chat/completions | Supported |
/embeddings | Supported (multimodal) |
/images/generations | Supported |
/responses | Supported |
Supported Features
| Feature | Support |
|---|---|
| Thinking/Reasoning | Supported via thinking parameter |
| Streaming | Supported |
Embeddings
Generate multimodal embeddings using BytePlus ModelArk:Image Generation
Generate images using BytePlus ModelArk image models:Additional Image Generation Parameters
BytePlus supports additional parameters for image generation:| Parameter | Description |
|---|---|
negative_prompt | Text describing what to exclude from the image |
guidance_scale | How closely to follow the prompt (1-10) |
seed | Seed for reproducible generation (-1 to 2147483647) |
width / height | Image dimensions |
watermark | Add watermark to generated images |
Responses API
Use the OpenAI Responses API format with BytePlus models:Responses API reference
Full Responses API docs β streaming, tools, instructions, and more
Regions
BytePlus ModelArk is available in multiple regions. Configure the region when setting up your provider:| Region | Base URL |
|---|---|
ap-southeast-1 (default) | https://ark.ap-southeast.bytepluses.com/api/v3 |
eu-west-1 | https://ark.eu-west.bytepluses.com/api/v3 |
Supported Models
BytePlus ModelArk provides access to various foundation models. Use either:- Model ID (preset endpoints):
ep-m-xxxformat - Endpoint ID (custom endpoints):
ep-xxxformat
Next Steps
Add Metadata
Add metadata to your BytePlus requests
Gateway Configs
Add gateway configs to your BytePlus requests
Tracing
Trace your BytePlus requests
Fallbacks
Setup fallback strategies with BytePlus
SDK Reference
Complete Portkey SDK documentation

