Merkium

Search Merkium

API reference

Reasoning

Ganymede 1.1 is a reasoning model: it thinks before it answers. The API returns that reasoning in its own field, separate from the answer, so you can show it, log it or ignore it.

Where reasoning appears

message.reasoning_content
Non-streaming responses. A string next to message.content.
delta.reasoning_content
Streaming responses. Reasoning chunks arrive before the answer chunks in delta.content.
choices[0].message
{
  "role": "assistant",
  "content": "Rotterdam",
  "reasoning_content": "The user asks for the largest port city in the Netherlands, one word. That's Rotterdam."
}

content never includes the reasoning, so it is safe to show to end users as the answer.

Reading reasoning in code

reasoning_content is not part of the OpenAI type definitions, but both OpenAI SDKs keep the field on the parsed response.

response = client.chat.completions.create(
    model="ganymede-1.1",
    messages=[{"role": "user", "content": "Name one moon of Jupiter."}],
)

message = response.choices[0].message
print("Reasoning:", getattr(message, "reasoning_content", None))
print("Answer:", message.content)

Controlling reasoning

Reasoning is always on for Ganymede 1.1. There is no parameter to turn it off or to change its depth: sending "reasoning": false or reasoning_effort has no effect.

Reasoning and token usage

Reasoning tokens count toward usage.completion_tokens. A short answer can therefore report more completion tokens than its visible content, and reasoning uses part of the max_tokens budget. If the limit is reached while the model is still reasoning, the response has finish_reason: "length" and content: null. Leave room for reasoning when you set max_tokens.

max_tokens: 20
{
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": null,
        "reasoning_content": "The user asks: \"Explain why 91 is not prime in two sentences.\"\n\nSimple math question."
      },
      "finish_reason": "length"
    }
  ],
  "usage": { "prompt_tokens": 2804, "completion_tokens": 20, "total_tokens": 2824 }
}

Streaming works the same way. See Streaming for the chunk format.

Questions or problems with the API: mail@merkium.nl. Last verified against the live API on October 20, 2026.