Chat Completion

POST/chat/completions

Listed by OrthogonalReliablePublished by OpenRouter
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "openrouter",
"path": "/chat/completions",
"method": "POST",
"body": {
"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.

99.9% success · 853 ms median · 30 days

About this endpoint

Send a chat conversation to any supported LLM and get a completion response. Supports streaming, tool calling, vision, and more.

Body parameters

More from OpenRouter

  1. List ModelsGET/modelsFree
  2. Generate ImagePOST/imagesUp to $5.00 per callResponse-based
  3. RerankPOST/rerankUp to $0.10 per callResponse-based
  4. List ProvidersGET/providersFree
  5. Create ResponsePOST/responsesUp to $5.00 per callResponse-based
  6. Generate VideoPOST/videosFrom $0.12 per callRequest-based
  7. Create EmbeddingPOST/embeddingsUp to $0.10 per callResponse-based
  8. Get ModelGET/model/{author}/{slug}Free
  9. Create MessagePOST/messagesUp to $5.00 per callResponse-based
  10. Text to SpeechPOST/audio/speechUp to $0.50 per callResponse-based
  11. Transcribe AudioPOST/audio/transcriptionsUp to $0.10 per callResponse-based
  12. List Image ModelsGET/images/modelsFree
All 20 OpenRouter endpoints

Similar endpoints

  1. Z.ai · Chat completionPOST/api/paas/v4/chat/completionsFrom $0.0327 per 1M tokens · varies by modelResponse-based · up to $2.228749
  2. Baseten · Chat CompletionsPOST/v1/chat/completions$0.60 per 1M tokensResponse-based · up to $0.20
  3. Perplexity · Chat CompletionsPOST/chat/completions$0.01 per callFixed
  4. MiniMax · Chat Completions (MiniMax-M3)POST/v1/chat/completions/minimax-m3From $0.72 per 1M tokensResponse-based · up to $1.80
  5. Massive Web · AI CompletionGET/ai$0.0625 per callFixed