API call price5% OFF
Input
$1.90Output
$9.50Cache write
$2.375Cache read
$0.19| 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": "claude-sonnet-5-5",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello"}
]
}'Context window
1M
Max output tokens
64K
Success Rate
100.00%
Avg Latency
14.8s
Throughput
162.3tok/s
Based on billed requests over the past 24 hours.