Skip to main content

Resell a Model API

With the Model API Reselling feature, you can offer model APIs as a billable service on your platform. Choose the credential path that best fits your business model:

  • System Default Key — Use system-provided models with better model discounts. No BYOK configuration is required.
  • Bring Your Own Key (BYOK) — Use your own provider credentials to access a broader model selection.

This guide shows you how to resell model APIs from start to finish. You will learn how to choose a credential path, review available models, configure model costs where required, set customer-facing selling prices, and manage customer-specific pricing plans.

CHOOSE YOUR RESELLING PATH

Start with the business model you need

Choose System Default Key for better model discounts and a faster setup, or choose BYOK when you need a broader model selection.

PATH B

Bring Your Own Key (BYOK)

Broader model selection

Connect a provider key configured and managed by your team.

Model availability
Models supported by your provider key
Fees
Pay Alibaba Cloud Smart Studio a token-sharing fee
Setup
Connect your provider key, then set cost and selling prices
1

Connect your provider key

2

Find an available model

3

Set its cost price

4

Set its selling price

View BYOK path

Path A: Resell with a System Default Key​

Step 1: Review the System Default Key​

Open the Provider API Key page and confirm that the system default key for the provider you want to use is enabled. The key is enabled by default, so no setup action is required.

  • Review the provider status before continuing.
  • You do not need to create a BYOK entry or paste a provider credential.
Provider Keys Page

Step 2: Review available models and cost prices​

Open Provider Models and select a provider from the provider filter:

  • SmartStudio-API-SGP: Models from Singapore region.
  • SmartStudio-API: Smart Fusion models.
What is Smart Fusion?

Smart Fusion is a unified Model API that intelligently routes AI coding tasks to the right model. It is designed for coding agents and high-volume engineering teams, delivering Claude Opus performance at about half the price.

You do not need to add a model or enter a cost price when using a System Default Key.

Model List

Step 3: Configure model selling prices​

After reviewing the available models and their cost prices:

  1. In Pricing, find the model you want to offer.
  2. Enter the customer-facing selling price and select Save.
  3. Select List to make the model available to customers.

For pricing fields, tiers, and display order, see Selling price details.

Path B: Resell with BYOK​

Step 1: Connect a provider key for model resale​

Before you continue, connect your provider key for the provider you want to use for model resale.

  1. In the Provider API Key page, select Config New BYOK.
Provider Keys Page
  1. Enter the provider key details:
  • Key Name: Enter a recognizable name (e.g., Model_Studio_Production).

  • Provider: Select Your Model API Provider.

  • Initial Status: Choose Active to use immediately or Inactive to save without activating.

  • BYOK: Paste the API-KEY you copied from Model Studio.

Configure BYOK Details
  1. Select Test Connection to verify the key. After the test succeeds, select Config BYOK to save it.

  2. Optional: Edit the BYOK entry from the Provider API Key page. You can update its name, status, or customer assignment.

Edit BYOK

Step 2: Find a model to resell​

Open Provider Models to browse the models available for resale.

Select a provider from the Provider dropdown to filter the model list, then find the model you want to resell.

If the model is not available, contact us to request it.

Provider Models Page

Models available for resale are provided by the platform. Continue with a model from the filtered list.

Step 3: Configure the model cost price​

For the model you selected, configure the cost price you pay to the upstream provider. This cost is used for profit tracking.

Pricing Configuration

For most models, a single tier with a context range of 0 to ∞ (infinity) is sufficient. To create a more complex pricing structure, such as different rates for larger contexts, click Add Tier.

Within each tier, set the specific cost prices you pay to the upstream provider, typically per 1 million tokens (/M tokens). Fill in only the fields relevant to the model's capabilities.

CategoryFieldDescription
COMMONInputThe cost you pay for 1 million input tokens.
OutputThe cost you pay for 1 million output tokens.
Input Cache ReadThe cost for reading from the cache.
Input Cache WriteThe cost for writing to the cache.
Internal ReasoningThe cost for internal model processing steps.
AUDIOAudio Input/OutputThe cost for processing audio data.
IMAGEImage Input/OutputThe cost for processing image data.
TOOLWeb SearchThe cost per web search performed by the model.
Cost configuration example
Cost Configuration Tips

You can refer to the official model pricing page for the exact cost.

Model Studio model pricing

Image model pricing​

For image generation models, pricing is configured per resolution tier. Each row represents a resolution level with its associated costs.

FieldDescription
ResolutionThe output image resolution (e.g., 0 for default, or 1280*1280).
ImageThe cost per image generated, priced per count (e.g., $0.075 /Count).
Image InputThe cost for processing input images, priced per million tokens.
Image OutputThe cost for generating output images, priced per million tokens.
Image Model Pricing

Video model pricing​

For video generation models, pricing is configured per resolution tier. Each row represents a resolution level with its associated costs.

FieldDescription
SRThe output video resolution (e.g., 1080P).
AudioToggle to enable or disable audio generation (Yes/No).
VideoThe cost per second of video generated (e.g., $0.15 /Seconds).
Video InputThe cost for processing input video, priced per million tokens.
Video OutputThe cost for generating output video, priced per million tokens.
Video Model Pricing

After filling in the relevant cost fields, click Save. Then continue with the selling price step.

Step 4: Configure model selling prices​

After saving the cost price:

  1. In Pricing, find the model you configured.
  2. Enter the customer-facing selling price and select Save.
  3. Select List to make the model available to customers.

For pricing fields, tiers, and display order, see Selling price details.

Selling price details​

The following details apply to models from both reselling paths.

In Pricing, set the selling price for each model. The price-setting interface uses the same tier structure as cost configuration.

Model selling price configuration page

Use Sort Order to control the display order in the Model Gallery. Lower numbers appear first. After you select List, the model becomes visible in the user console and available through the API.

Listed model in the user console

Manage customers​

After listing your models, open Customer Management to configure customer-specific settings and account actions:

  • Discount price — Set custom model prices, apply multipliers, enter prices manually, or apply batch discounts.
  • Context record — Record and download gateway request and response bodies for troubleshooting or audits.
  • Credits — Grant free credits for promotions, trials, or service compensation.
  • Rate limit — Set a customer's tokens-per-minute limit.
  • Reset password — Reset a customer's password.
  • Delete user — Permanently delete a customer and its associated records.

View billing and analytics​

The Billing page provides a view of your customer billing, provider billing and revenue sharing billing.

Customer Billing

Customer billing page


Provider Billing

Provider billing page

Next steps​

Manage Customers

Configure customer-specific prices, credits, rate limits, and account settings.

Monitor Usage

Review reseller traffic, service health, and usage metrics after you go live.