Serverless Pricing

Serverless inference is priced according to metered usage and the applicable model prices.

How pricing works

For a simple text example, calculate input and output charges separately and add them. Additional meters, pricing rules and units may apply.

Request cost = input tokens / 1,000,000 × input price
             + output tokens / 1,000,000 × output price

Example: 500 input tokens at $1/1M + 300 output tokens at $3/1M = $0.0014

Token counts depend on the model's tokenizer. Check the response's usage where available.

Factors that affect token usage

  • Longer system prompts and conversation history increase input usage.
  • Choose an output limit appropriate to your task.
  • Compare model capabilities and published prices when selecting a model.

Example model prices

The following numbers are illustrative assumptions, not live prices or quotes. Check the model catalog for current models, prices and currencies.

Example modelInput / 1MOutput / 1M
GLM-5.3$1.40$4.40
DeepSeek V4.1 Flash$0.30$1.20
Qwen3.8 Max$2.00$6.00
Kimi K3.1 Pro$2.00$10.00

Billing and usage

Review available usage and bills in the console. Actual charges are determined by the issued bill.

View usage ↗ · View bills ↗

Browse models

Examples do not establish current availability. See the catalog for available models, capabilities and prices.

Browse models ↗