moondream3.1-9B-A2B

Image-to-Text • moondream

@cf/moondream/moondream3.1-9B-A2B

  • Cloudflare-hosted
  • Vision

Moondream 3 is a fast, efficient 9B mixture-of-experts vision language model (2B active parameters) that delivers frontier-level visual reasoning for tasks like object detection, pointing, OCR, and structured output.

Model Info
Terms and License link ↗
Vision Yes
Unit Pricing $0.30 per M input tokens, $1.00 per M output tokens

Parameters

task

stringdefault: queryenum: query, caption, point, detectWhich Moondream skill to run.

image

stringInput image as a public HTTPS URL or base64 data URI. Optional for `query`; required for `caption`, `point`, and `detect`.

question

stringdefault: What's in this image?Question for the `query` task.

caption_length

stringdefault: normalenum: short, normal, longCaption length for the `caption` task.

target

stringdefault: personObject phrase to locate for `point` and `detect` tasks (e.g. 'person wearing a red shirt').

reasoning

booleandefault: trueEnable reasoning trace for the `query` task.

temperature

numberdefault: 0.2minimum: 0maximum: 2Sampling temperature.

top_p

numberdefault: 0.9minimum: 0maximum: 1Top-p (nucleus) sampling.

max_tokens

integerdefault: 8192minimum: 1maximum: 28672Max tokens to generate for `query` and `caption`.

max_objects

integerdefault: 150minimum: 1maximum: 500Max objects to return for `point` and `detect`.

stream

booleandefault: falseReturn incremental tokens for `query` and `caption`. `point` and `detect` do not support streaming.

finish_reason

stringReason the generation finished.

▶metrics{}

object

answer

stringAnswer text for the `query` task. Null for other tasks.

caption

stringCaption text for the `caption` task. Null for other tasks.

▶points[]

arrayLocated points for the `point` task. Null for other tasks.

▶objects[]

arrayDetected bounding boxes for the `detect` task. Null for other tasks.

▶reasoning{}

objectReasoning trace for the `query` task when reasoning=true. Null otherwise.

API Schemas (Raw)

Input Open Download

Output Open Download

Was this helpful?

YesNo

On this page

moondream3.1-9B-A2B - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/workers-ai/models/moondream3.1-9B-A2B/#page","headline":"moondream3.1-9B-A2B","description":"Moondream 3 is a fast, efficient 9B mixture-of-experts vision language model (2B active parameters) that delivers frontier-level visual reasoning for tasks like object detection, pointing, OCR, and structured output.","url":"https://developers.cloudflare.com/workers-ai/models/moondream3.1-9B-A2B/","inLanguage":"en","image":"https://developers.cloudflare.com/og-docs.png","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Kimi K2.6 is a frontier-scale open-source 1T parameter model with a 262.1k context window, multi-turn tool calling, vision inputs, and structured outputs for agentic workloads. title: kimi-k2.6 image: https://developers.cloudflare.com/og-docs.png


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/llms.txt
Use this file to discover all available pages before exploring further.

Moonshot AI logo