LLM ยท sync
gemini-chat
Google Gemini chat completion. Managed credits OR bring your own key.
Single-turn
About
gemini-chat exposes Google's Gemini API behind orqis's shared chat shape. Pass the same `messages` array you'd send to claude-chat or gpt-chat โ orqis maps `role: 'assistant'` to Gemini's `role: 'model'` and wraps content in `parts: [{text}]`.
**Modes:** โข **Managed** โ set `GEMINI_API_KEY` on the orqis-owned-services host. Buyers pay 5 credits per call (Gemini's pricing is more aggressive than the others). โข **BYO key** โ pass `apiKey` in the request body for the 1-credit routing fee. โข **Mock** โ neither set โ canned echo response.
Default model: `gemini-2.5-flash`. Pass any current Gemini model id (`gemini-2.5-pro`, etc.). Supports `systemPrompt` via Gemini's `systemInstruction`.
{
"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": "gemini-2.5-flash"
},
"systemPrompt": {
"type": "string"
},
"maxTokens": {
"type": "integer",
"minimum": 1,
"maximum": 8192,
"default": 1024
},
"temperature": {
"type": "number",
"minimum": 0,
"maximum": 2,
"default": 1
},
"apiKey": {
"type": "string",
"description": "BYO Gemini key. When set, routing fee is 1 credit."
}
}
}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.