MO
Textby Moondream

Moondream 3.1

Moondream 3.1 is a vision-language model from Moondream, the successor to Moondream 3 Preview, with 9B total parameters and 2B active (mixture-of-experts). It handles visual question answering, captioning, OCR, and...

  • By price it is in the pricier half of the 348 text models GenMagic runs (191st cheapest).
  • It was listed on Oct 15, 2026.

Data last changed Nov 1, 2026 · tracked since Oct 29, 2026 · Every model change

Try Moondream 3.1

Generate with Moondream 3.1 right here. Verify your email to start with free credits.

<$0.01
Try

Specifications

Context window

32K tokens

Max output

4K tokens

Input price

$0.45 / 1M tokens

Output price

$3.75 / 1M tokens

Capabilities

Reasoning

Works through multi-step problems before answering, for harder tasks.

Vision input

Accepts images alongside text, so you can prompt with pictures and screenshots.

Use Moondream 3.1 through the API

The model id is moondream/moondream3.1-9b-a2b. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "moondream/moondream3.1-9b-a2b",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="moondream/moondream3.1-9b-a2b",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "moondream/moondream3.1-9b-a2b" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use Moondream 3.1 in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick Moondream: Moondream 3.1, or enter moondream/moondream3.1-9b-a2b as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
Moondream: Moondream 3.1 (this model)Moondream$0.45 in / $3.75 out per 1M tokens32K
Mistral: Mistral Large 4Mistral AI$1.05 in / $3.15 out per 1M tokens1M
Google: Gemini 3.5 Flash LiteGoogle$0.45 in / $3.75 out per 1M tokens1M
Z.ai: GLM 4.7Z.AI$0.90 in / $3.30 out per 1M tokens205K
Amazon: Nova 2 LiteAmazon$0.45 in / $3.75 out per 1M tokens1M
Qwen: Qwen3.5-27BQwen$0.39 in / $3.90 out per 1M tokens262K

More from Moondream

Price and listing history

Every change GenMagic has recorded for Moondream 3.1 since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 1, 2026Price up 36%$0.33 in / $2.75 out per 1M tokens$0.45 in / $3.75 out per 1M tokens

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as Moondream publishes them (model card on Hugging Face), checked daily.
  • Changes: the data on this page last changed on Nov 1, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with Moondream 3.1 today

One GenMagic plan unlocks Moondream 3.1 and every other model across text, image, audio, and video.