API call price20% OFF
0 – 32K
Input
$0.96Output
$4.80Cache write
$1.20Cache read
$0.19232K – 128K
Input
$1.92Output
$9.60Cache write
$2.40Cache read
$0.384> 128K
Input
$2.40Output
$12.00Cache write
$3.00Cache read
$0.48| Compatible format | Anthropic |
|---|---|
| Routes | POST /v1/messages POST /v1/messages/count_tokens |
| Features | Streaming · Prompt caching · Function calling · System messages |
| Request parameters | model, messages, system, tools, stream, metadata |
cURL Example
curl -X POST https://api.openmodel.ai/v1/messages \
-H "Content-Type: application/json" \
-H "x-api-key: $API_KEY" \
-H "anthropic-version: 2023-06-01" \
-d '{
"model": "qwen3-max",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello"}
]
}'Context window
258K
Max output tokens
65.5K
Success Rate
100.00%
Avg Latency
1.96s
Throughput
—
Based on billed requests over the past 24 hours.