Skip to main content

Moderate
google/gemini-3.1-pro-preview/chat

Gemini 3.1 Pro Preview targets software engineering and precise tool use; this SpicyAPI interface accepts 1,000,000 input tokens and caps output at 32,768.

Input $1.90Output $11.40per 1 million tokens5% below the publisher's list priceCached input $0.19Prompts over 200K tokensInput $3.80Cached input $0.38Output $17.10Google official priceInput $2Output $12

Workbench

These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.

  • Input types
    Text
    Output types
    Text
    Input
    $1.90 / 1 million tokens
    Cached input
    $0.19 / 1 million tokens
    Output
    $11.40 / 1 million tokens
    Context
    1M
    Max output
    32,768

    $1.90/11.40per 1 million tokens · input / output

    fast-triage

    Low effort, a fixed system message, only the material changes. This is the cheap pass you run before deciding what deserves a careful one.

    • 1000
    • low
    Use this example
  • Input types
    Text
    Output types
    Text
    Input
    $1.90 / 1 million tokens
    Cached input
    $0.19 / 1 million tokens
    Output
    $11.40 / 1 million tokens
    Context
    1M
    Max output
    32,768

    $1.90/11.40per 1 million tokens · input / output

    long-read-short-answer

    The shape this endpoint is built for: the whole context in one message, a short answer out.

    • 1500
    • medium
    Use this example
  • Input types
    Text
    Output types
    Text
    Input
    $1.90 / 1 million tokens
    Cached input
    $0.19 / 1 million tokens
    Output
    $11.40 / 1 million tokens
    Context
    1M
    Max output
    32,768

    $1.90/11.40per 1 million tokens · input / output

    structured-output

    JSON output. response_format shapes the reply, but parsing and validation stay on your side.

    • 3000
    Use this example

This example starts at Input $1.90 / Output $11.40 per 1 million tokens. The Playground updates the estimate when you change the settings.