curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "openrouter",
"path": "/messages",
"method": "POST",
"body": {
"model": "",
"messages": [
{
"role": "",
"content": ""
}
]
}
}'
The final charge depends on what comes back. It shows after Run.
up to$5.00per call
Response-basedThe price is worked out from the usage reported in the response, never more than $5.00 per call.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 99.9% success · 882 ms median · 30 days
About this endpoint
Create a message using the Anthropic Messages API format. Supports text, images, PDFs, tools, and extended thinking.
Body parameters
modelrequiredstringModel identifier (e.g. anthropic/claude-sonnet-4)messagesrequiredarrayList of messages in Anthropic formatmax_tokensnumberMaximum tokens to generatesystemstringSystem prompttemperaturenumberSampling temperaturetoolsarrayTools available to the modelstreambooleanWhether to stream the responseMore from OpenRouter
- List ModelsGET/modelsFree
- Generate ImagePOST/imagesUp to $5.00 per callResponse-based
- RerankPOST/rerankUp to $0.10 per callResponse-based
- List ProvidersGET/providersFree
- Create ResponsePOST/responsesUp to $5.00 per callResponse-based
- Chat CompletionPOST/chat/completionsUp to $5.00 per callResponse-based
- Generate VideoPOST/videosFrom $0.12 per callRequest-based
- Create EmbeddingPOST/embeddingsUp to $0.10 per callResponse-based
- Get ModelGET/model/{author}/{slug}Free
- Text to SpeechPOST/audio/speechUp to $0.50 per callResponse-based
- Transcribe AudioPOST/audio/transcriptionsUp to $0.10 per callResponse-based
- List Image ModelsGET/images/modelsFree