Moondream2

Community
Multimodal

Moondream2 small vision-language model on Replicate. About 1.9B params, designed to run on edge devices, handles captioning, visual QA and short OCR-style reads at very low cost.

Try Moondream2 now
Send a single prompt and stream a response inline. Hit Cmd+Enter to submit.
Sign in to try this model with €5 free credits.
Sign in
Press Cmd+Enter to send
Response appears here.
TL;DRΒ·Last updated June 24, 2026

Moondream2 is multimodal AI model from Community, priced at €0.000 per 1M input tokens with a unknown context window.

About this model

Moondream2 is a compact (roughly 1.9B parameter) open vision-language model built to run efficiently on edge devices and small GPUs. Despite its size it performs well on image captioning, visual question answering, simple counting and reading short text in images. This Replicate endpoint takes an image and a question and returns a concise text answer, making it a cheap default for high-volume alt-text and tagging pipelines.
Try Moondream2

0.7

Sign in to generate β€” 50 free credits on sign-up

Pricing

Price per Generation
Per generation€0.003

API Integration

Use our OpenAI-compatible API to integrate Moondream2 into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

// Simple β€” just pass a string
const reply = await rw.run("moondream2", "Hello! What can you do?");
console.log(reply);

// With message history
const reply2 = await rw.run("moondream2", [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "Explain quantum computing simply." },
]);
console.log(reply2);

// Full response with usage info
const res = await rw.chat("moondream2", [
  { role: "user", content: "Hello!" },
], { temperature: 0.7, max_tokens: 500 });
console.log(res.choices[0].message.content);
console.log(res.usage);
Specifications
Price
€0.003
Developer
Community
Category
Multimodal
Supported Formats
text
image
Tags
replicate
moondream
vision-understanding
open-source
small
edge

Frequently asked questions

Start using Moondream2 today

Get started with free credits. No credit card required. Access Moondream2 and 100+ other models through a single API.