Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Moonshot AI

Moonshot AI: Moonshot v1 32K Vision (Preview)

moonshotai/moonshot-v1-32k-vision-preview

Access Moonshot v1 32K Vision (Preview) from Moonshot AI using Puter.js AI API.

Get Started
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "moonshotai/moonshot-v1-32k-vision-preview"
}).then(response => {
    document.body.innerHTML = response.message.content;
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "moonshotai/moonshot-v1-32k-vision-preview"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>
# pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://api.puter.com/puterai/openai/v1/",
    api_key="YOUR_PUTER_AUTH_TOKEN",
)

response = client.chat.completions.create(
    model="moonshotai/moonshot-v1-32k-vision-preview",
    messages=[
        {"role": "user", "content": "Explain quantum computing in simple terms"}
    ],
)

print(response.choices[0].message.content)
curl https://api.puter.com/puterai/openai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_PUTER_AUTH_TOKEN" \
  -d '{
    "model": "moonshotai/moonshot-v1-32k-vision-preview",
    "messages": [
      {"role": "user", "content": "Explain quantum computing in simple terms"}
    ]
  }'

Model Card

Moonshot V1 32K Vision Preview is a multimodal model from Moonshot AI that processes both images and text within a 32,000-token context window.

It extends the base 32K model with the ability to interpret visual inputs — including screenshots, diagrams, charts, and scanned documents — and return text-based responses. This is useful for workflows that combine visual context with moderate-length text, such as analyzing annotated documents or explaining UI designs.

As a preview release, the vision capabilities may evolve. The API accepts the standard OpenAI-compatible content array format for multimodal inputs.

Context Window 33K

tokens

Max Output 33K

tokens

Input Cost $1

per million tokens

Output Cost $3

per million tokens

Input text, image

modalities

Tool Use Yes

 

Release Date Jan 15, 2025

 

Model Playground

Try Moonshot v1 32K Vision (Preview) instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.

Chat moonshotai/moonshot-v1-32k-vision-preview
Moonshot AI
Chat with Moonshot v1 32K Vision (Preview)
Powered by Puter.js

More AI Models From Moonshot AI

Find other Moonshot AI models

Chat

Kimi K3

Kimi K3 is Moonshot AI's flagship open-weight model, released July 16, 2026, with full weights following on July 27. At roughly 2.8 trillion parameters in a Mixture-of-Experts architecture, Moonshot positions it as the largest open-source model released to date, built on two new components: Kimi Delta Attention, a hybrid linear attention mechanism, and Attention Residuals, a replacement for standard residual connections. It runs in an always-on thinking mode with a 1-million-token context window and accepts text, image, and video input. Reported results include 93.5% on GPQA Diamond, 91.2% on BrowseComp, 88.3% on Terminal-Bench 2.1, and a first-place finish on Arena.ai's Frontend Code Arena, putting it close to Claude Opus 4.8 and GPT-5.5 on several agentic and coding tasks. These figures come from Moonshot and early testers, not independently confirmed leaderboards. It suits developers building long-horizon coding agents and tool-calling pipelines who want frontier-level performance at open-weight pricing.

Chat

Kimi K2.7 Code Fast

Kimi K2.7 Code Fast is the high-speed serving tier of Kimi K2.7 Code, Moonshot AI's coding-agent model. The weights and capabilities are the same as the standard route; the difference is throughput. Moonshot reports around 180 tokens per second on coding tasks with median-length inputs and up to 260 tokens per second on shorter-context tasks, up to 6x faster than the standard release. Like the base model, it runs in always-on thinking mode with a 262K-token context window and supports tool calling for agentic workflows. Compared with K2.6, K2.7 Code improves coding and agent performance while using roughly 30% fewer thinking tokens. The fast route costs about twice as much per token as the standard endpoint, so it fits interactive coding agents and IDE assistants where response speed matters more than cost.

Chat

Kimi K2.7 Code

Kimi K2.7 Code is Moonshot AI's open-weight coding-agent model, released June 2026 and purpose-built for long-horizon, autonomous coding tasks. It shares the same 1-trillion-parameter Mixture-of-Experts architecture (32B active parameters) as K2.6 but is entirely focused on software engineering workloads. Compared to K2.6, it improves 21.8% on Kimi Code Bench v2, 11% on Program Bench, and 31.5% on MLS Bench Lite, while cutting reasoning-token usage by roughly 30%. It always runs in thinking mode — non-thinking mode is not supported. With a 262K-token context window, K2.7 Code is well-suited for multi-file, repository-scale coding pipelines and agentic workflows where sustained reasoning and deep code understanding matter.

Frequently Asked Questions

How do I use Moonshot v1 32K Vision (Preview)?

You can access Moonshot v1 32K Vision (Preview) by Moonshot AI through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.

Is Moonshot v1 32K Vision (Preview) free?

Yes, it is free if you're using it through Puter.js. With the User-Pays Model, you can add Moonshot v1 32K Vision (Preview) to your app at no cost — your users pay for their own AI usage directly, making it completely free for you as a developer.

What is the pricing for Moonshot v1 32K Vision (Preview)?
Moonshot v1 32K Vision (Preview) costs $1 per 1M input tokens and $3 per 1M output tokens.
Price per 1M tokens
Input$1
Output$3
Who created Moonshot v1 32K Vision (Preview)?

Moonshot v1 32K Vision (Preview) was created by Moonshot AI and released on Jan 15, 2025.

What is the context window of Moonshot v1 32K Vision (Preview)?

Moonshot v1 32K Vision (Preview) supports a context window of 33K tokens. For reference, that is roughly equivalent to 66 pages of text.

What is the max output length of Moonshot v1 32K Vision (Preview)?

Moonshot v1 32K Vision (Preview) can generate up to 33K tokens in a single response.

What types of input can Moonshot v1 32K Vision (Preview) process?

Moonshot v1 32K Vision (Preview) accepts the following input types: text, image. It produces: text.

Does Moonshot v1 32K Vision (Preview) support tool use (function calling)?

Yes, Moonshot v1 32K Vision (Preview) supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the Moonshot v1 32K Vision (Preview) API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Get started with Puter.js

Add Moonshot v1 32K Vision (Preview) to your app without worrying about API keys or setup.

Read the Docs View Tutorials