API call price20% OFF
0 – 128K
Input
$1.04Output
$6.24Cache write
$1.30Cache read
$0.104> 128K
Input
$1.60Output
$9.60Cache write
$2.00Cache read
$0.16| 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.6-max-preview",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello"}
]
}'Context window
262.1K
Max output tokens
65.5K
Success Rate
100.00%
Avg Latency
3.62s
Throughput
—
Based on billed requests over the past 24 hours.