Moonshot logoMoonshot

    moonshot-v1-8k-vision-preview

    moonshot/moonshot-v1-8k-vision-preview

    ChatVisionFilesToolsSystem prompt

    Context

    8K

    Max output

    8K

    Input / 1M

    $0.20

    Output / 1M

    $2.00

    Cached / 1M

    Free

    Cutoff

    About this model

    Moonshot V1 8K Vision is Moonshot AI's vision-capable generation model with an 8,192-token context window. It understands image content and outputs text, suited for short-context multimodal chat, image understanding, and tool-calling tasks. Supports ToolCalls, JSON Mode, and Partial Mode.

    Best suited for

    • Image understanding and visual question answering
    • Short-context multimodal chat (text + image input)
    • Image-based text generation and captioning
    • Tool-calling and function-calling agents
    • JSON/structured output generation

    Built-in tools

    Web searchGtwy web search

    Hosted by the gateway — enable them per request without wiring your own endpoint.

    Capabilities

    Vision

    Accepts images alongside text in the same message.

    Files

    Accepts file attachments — PDFs, transcripts, spreadsheets.

    Tools

    Native function calling, so agents can invoke your endpoints.

    System prompt

    Honours a dedicated system role, separate from the user turn.

    Supported parameters

    max_tokens

    The maximum number of tokens to generate for the chat completion. Maps to max_completion_tokens.

    creativity_levelTemperature

    Controls the creativity of responses. Higher values (e.g., 0.7) increase randomness; lower values (e.g., 0.2) make responses more focused and deterministic. Maps to temperature.

    probability_cutoffTop P

    Nucleus sampling. The model considers tokens with a cumulative probability mass of top_p. Maps to top_p.

    response_countN

    The number of results to generate for each input message. Must not exceed 5. Maps to n.

    novelty_penaltyPresence Penalty

    Positive values penalize new tokens based on whether they appear in the text so far, increasing the likelihood of new topics. Maps to presence_penalty.

    repetition_penaltyFrequency Penalty

    Positive values penalize new tokens based on their existing frequency in the text, reducing verbatim repetition. Maps to frequency_penalty.

    tools

    Lists tool definitions or capabilities available to the model.

    tool_choice

    Decides whether to use tools or just the model for generating responses.

    response_type
    additional_stop_sequencesStop Sequences

    Up to 5 stop sequences that halt generation when fully matched. Maps to stop.

    stream

    Sends the response in real-time as it's being generated.