An API for everyone

Models and pricing

Pay for the tokens you use.

USD per 1 million tokens

DeepSeek V4.1 Flash

deepseek-v4.1-flash-1017
Input
$0.06
Output
$0.24
Cached input
$0.012

GLM-5.2

glm-5.2
Input
$1.36
Output
$3.00
Cached input
$0.36

GLM-5.3

glm-5.3
Input
$1.47
Output
$4.62
Cached input
$0.27

GLM-5.3 Flash

glm-5.3-flash
Input
$0.216
Output
$0.72
Cached input
$0.0432

Input, output and cache-hit input are billed separately. Cache-hit tokens are not billed again at the ordinary input rate.

Charges are calculated from actual usage and rounded to the smallest billing unit.

Prices updated:

Back to the website