API call price5% OFF
Input
$3.80Output
$19.00Cache write
$4.75Cache 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-opus-5-5",
"max_tokens": 1024,
"messages": [
{"role": "user", "content": "Hello"}
]
}'Context window
1M
Max output tokens
128K
Success Rate
100.00%
Avg Latency
2.63s
Throughput
64.0tok/s
Based on billed requests over the past 24 hours.