API call price
Input
$0.37Output
$1.25Cache write
$0.00Cache read
$0.75| 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": "glm-5.3-flashx",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello"}
]
}'Context window
1M
Max output tokens
128K
Success Rate
100.00%
Avg Latency
1.37s
Throughput
582.2tok/s
Based on billed requests over the past 24 hours.