# Moondream 3.1 9B A2B

Moondream 3.1 is Moondream's vision language model, built on a mixture-of-experts design with 9B total parameters and 2B active. It covers querying, detection, pointing and captioning, all returning structured output, and is released under the Moondream Model License.

- **Model id:** `opencheap/moondream3.1-9b-a2b`
- **Price per 1M tokens:** $0.30 input / $2.50 output
- **Cached input:** $0.15 per 1M tokens
- **Context:** 32K tokens, 4K max output

## Providers

2 providers. Prices are per 1M tokens. As of 2026-12-04 12:06 UTC.

| Provider | Input price | Cache price | Output price | Context | Max output |
| --- | --- | --- | --- | --- | --- |
| NanoGPT · quantization unknown | $0.30 | $0.15 | $2.50 | 32K | 4K |

1 more provider through partner hosts · from $0.31 in · $2.62 out

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `reasoning`, `include_reasoning` (tools not confirmed)

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/moondream3.1-9b-a2b#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/moondream3.1-9b-a2b`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/moondream3.1-9b-a2b", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/moondream3.1-9b-a2b",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/moondream3.1-9b-a2b",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About Moondream 3.1 9B A2B

Moondream 3.1 9B A2B costs from $0.30 per 1M input tokens and $2.50 per 1M output tokens on OpenCheap, with cached input at $0.15 per 1M tokens. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0055, and 1,000 such requests about $5.50. Prices as of 2026-12-04 12:01 UTC.

2 providers serve Moondream 3.1 9B A2B on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 32K tokens (32,000), room for roughly 24,000 words of English in one request.

Moondream 3.1 9B A2B is one of [2 Moondream models](https://opencheap.si/models/lab/moondream) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the Moondream 3.1 9B A2B API cost per 1M tokens?

Moondream 3.1 9B A2B costs from $0.30 per 1M input tokens and $2.50 per 1M output tokens on OpenCheap, with cached input at $0.15 per 1M tokens. Prices as of 2026-12-04 12:01 UTC.

### What does one Moondream 3.1 9B A2B request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.0055, and 1,000 such requests about $5.50. Every answer reports its own cost in usage.cost.

### Which providers serve Moondream 3.1 9B A2B?

2 providers serve Moondream 3.1 9B A2B on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of Moondream 3.1 9B A2B?

Its context window is 32K tokens (32,000), room for roughly 24,000 words of English in one request.

### How do I call the Moondream 3.1 9B A2B API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/moondream3.1-9b-a2b. One OpenCheap key works for every model; the rest of your code stays the same.

## More from Moondream

- [Moondream 3 Preview](https://opencheap.si/models/moondream3-preview) (`moondream3-preview`): $0.30 / $2.50 per 1M · 32K context

[All 2 Moondream models](https://opencheap.si/models/lab/moondream)

## Similar models

- [EVA Llama 3.33 70B](https://opencheap.si/models/eva-llama-3.33-70b-v0.0): EVA-UNIT-01 · 32K context · $2.01 / $2.01 per 1M · [Compare with Moondream 3.1 9B A2B](https://opencheap.si/compare/moondream3.1-9b-a2b-vs-eva-llama-3.33-70b-v0.0)
- [EVA-LLaMA-3.33-70B-v0.1](https://opencheap.si/models/eva-llama-3.33-70b-v0.1): EVA-UNIT-01 · 32K context · $2.01 / $2.01 per 1M · [Compare with Moondream 3.1 9B A2B](https://opencheap.si/compare/moondream3.1-9b-a2b-vs-eva-llama-3.33-70b-v0.1)
- [Gemini 3.8 Flash](https://opencheap.si/models/gemini-3.8-flash): Google · 1M context · $0.45 / $2.25 per 1M, 8 % cheaper · [Compare with Moondream 3.1 9B A2B](https://opencheap.si/compare/moondream3.1-9b-a2b-vs-gemini-3.8-flash)
- [MiniMax M4](https://opencheap.si/models/minimax-m4): MiniMax · 1M context · $0.60 / $2.33 per 1M · [Compare with Moondream 3.1 9B A2B](https://opencheap.si/compare/moondream3.1-9b-a2b-vs-minimax-m4)
- [Gemini 4 Argon](https://opencheap.si/models/gemini-4-argon): Google · 1M context · $0.56 / $2.80 per 1M · [Compare with Moondream 3.1 9B A2B](https://opencheap.si/compare/moondream3.1-9b-a2b-vs-gemini-4-argon)
- [Claude Haiku 4.5](https://opencheap.si/models/claude-haiku-4.5): Anthropic · 200K context · $0.40 / $2.00 per 1M, 18 % cheaper · [Compare with Moondream 3.1 9B A2B](https://opencheap.si/compare/moondream3.1-9b-a2b-vs-claude-haiku-4.5)

[Compare Moondream 3.1 9B A2B with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/moondream3.1-9b-a2b · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
