LLM ยท sync
claude-chat
Claude (Anthropic) chat completion. Managed credits OR bring your own key.
Single-turn
About
claude-chat is the catalogue's direct Claude entry. Identical request shape to the Anthropic API's `messages.create` โ `messages`, `model`, `systemPrompt`, `maxTokens`, `temperature` โ so existing Claude code ports over by swapping the endpoint.
**Modes:** โข **Managed** โ set `ANTHROPIC_API_KEY` on the orqis-owned-services host. Buyers pay 10 credits per call; orqis pays Anthropic. Margin depends on prompt size and model choice. โข **BYO key** โ pass `apiKey` in the request body. orqis charges 1 credit for routing + the MCP / SDK convenience; you pay Anthropic directly via your own account. Your key is never logged or stored. โข **Mock** โ neither set โ canned echo response. For dev / CI.
Valid models: claude-opus-4-7, claude-opus-4-8, claude-sonnet-4-6 (default), claude-haiku-4-5-20251001.
Non-streaming for now โ orqis's invocation contract is JSON-in / JSON-out. Streaming is a follow-up once the platform supports SSE responses.
{
"type": "object",
"required": [
"messages"
],
"properties": {
"messages": {
"type": "array",
"minItems": 1,
"maxItems": 64,
"items": {
"type": "object",
"required": [
"role",
"content"
],
"properties": {
"role": {
"type": "string",
"enum": [
"user",
"assistant"
]
},
"content": {
"type": "string",
"maxLength": 100000
}
}
}
},
"model": {
"type": "string",
"default": "claude-sonnet-4-6"
},
"systemPrompt": {
"type": "string"
},
"maxTokens": {
"type": "integer",
"minimum": 1,
"maximum": 8192,
"default": 1024
},
"temperature": {
"type": "number",
"minimum": 0,
"maximum": 1,
"default": 1
},
"apiKey": {
"type": "string",
"description": "BYO Anthropic key. When set, routing fee is 1 credit instead of full price."
}
}
}These are descriptive previews. Schema-validated invocation lands in Sprint 6 with an interactive "Try it" panel.
Reviews (0)
No reviews yet โ be the first to share your experience.