Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · LLMReleased 2025-02-01

How to Use Qwen2.5-VL 72B Instruct in Gemini CLI

Use Qwen2.5-VL 72B Instruct to extract data from scanned documents and explain charts. It can also locate objects with bounding boxes or points, making it useful when an answer needs a position in the image.

Prompts to try with Qwen2.5-VL 72B Instruct in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use Qwen2.5-VL 72B Instruct to inspect the screenshots in this project's visual tests. Label the reference Image A and the current render Image B, list visible layout differences, then find the components responsible.

Qwen2.5-VL 72B InstructGemini CLI
Try asking
  • Use Qwen2.5-VL 72B Instruct to extract the invoice images in the test fixtures into JSON records. Follow the project's existing invoice schema and use null for unreadable values.

  • Use Qwen2.5-VL 72B Instruct to read the chart screenshot in the issue. List its title, axis labels, legend, and visible values, then compare them with the chart configuration in the project.

  • Use Qwen2.5-VL 72B Instruct to locate the Save button in the failing test screenshot. Return a labeled bounding box, then inspect the related test and component before proposing a fix.

  • Use Qwen2.5-VL 72B Instruct to inspect the object-counting fixture. Locate every visible bottle first, report the total, and compare the result with the expected annotation.

How to set up Qwen2.5-VL 72B Instruct in Gemini CLI

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Or add it to ~/.gemini/settings.json yourself:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    gemini mcp list

Use the Spiral skill

  1. Send Gemini CLI this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Qwen2.5-VL 72B Instruct

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "openrouter",
        "model": "qwen/qwen2.5-vl-72b-instruct",
        "input": {
          "messages": [
            {
              "role": "system"
            }
          ]
        }
      }'

Then paste one of the prompts above: Gemini CLI finds Qwen2.5-VL 72B Instruct on Spiral, shows the price and runs it.

Qwen2.5-VL 72B Instruct providers and prices

Spiral runs Qwen2.5-VL 72B Instruct through OpenRouter. Open a card for today's price, with every fee included.

OpenRouterLLM
Qwen: Qwen2.5 VL 72B Instruct
qwen/qwen2.5-vl-72b-instruct

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 115200

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Frequency penalty-2 to 2
Repetition penalty0 to 2

Every API field of Qwen: Qwen2.5 VL 72B Instruct is on its tool page: open its card above.

What can you do with Qwen2.5-VL 72B Instruct in Gemini CLI?

Turn screenshots and document images into evidence for code changes with Qwen2.5-VL. Ask your coding agent to connect visible labels, layouts, or extracted records to the relevant project files.

Invoice extraction

Turn invoice images into records containing the supplier, invoice number, date, line items, and total. Mark unreadable values for review.

Form transcription

Extract printed labels and completed entries from form images into a consistent table.

Chart explanations

Read chart titles, axes, legends, and visible values, then explain the comparison in plain English.

Screenshot review

Inspect interface screenshots for visible labels, layout differences, and the locations of named controls.

Multilingual text collection

Transcribe signs or document images in languages covered by Qwen's OCR training, preserving the original script.

Object annotation

Locate specified objects in images and return labeled bounding boxes or points for review.

Visual counting

Identify each visible instance of a requested object before returning a count and locations that a reviewer can inspect.

Questions about Qwen2.5-VL 72B Instruct in Gemini CLI

Can Gemini CLI use Qwen2.5-VL 72B Instruct?

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Qwen2.5-VL 72B Instruct like any built-in tool.

How much does Qwen2.5-VL 72B Instruct cost in Gemini CLI?

Up to $0.005362 per run at the default inputs. $1.04 per 1M input tokens, $1.30 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.

Do I need an OpenRouter account to use Qwen2.5-VL 72B Instruct in Gemini CLI?

No. Spiral runs Qwen2.5-VL 72B Instruct on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Qwen2.5-VL 72B Instruct in Gemini CLI?

About two minutes: add the server, then sign in, then check it.

Does Gemini CLI wait while Qwen2.5-VL 72B Instruct runs?

Qwen2.5-VL 72B Instruct runs in the background. Gemini CLI starts the run, checks on it and gives you the text, json when it's ready.

What is Qwen2.5-VL useful for?

Use it to extract information from document images, interpret charts, and locate objects. Good starting tasks include turning an invoice scan into structured data or explaining a chart's labels and values.

Can Qwen2.5-VL extract tables and forms?

Yes. It supports structured extraction from scanned tables, forms, and invoices. Specify the columns you want and ask it to mark unreadable entries instead of guessing.

Which languages does Qwen2.5-VL's OCR training cover?

Qwen names French, German, Italian, Spanish, Portuguese, Arabic, Russian, Japanese, Korean, and Vietnamese in its multilingual OCR training data. Treat that list as training coverage, not a promise of equal accuracy across languages.

What context limit does Qwen publish?

The model card describes a default configuration of 32,768 tokens. It also warns that YaRN context extension affects spatial and temporal localization, so a longer configuration should not be assumed to preserve location accuracy.

How should I prompt Qwen2.5-VL to count objects?

Ask it to locate each object first, then report the total. Qwen uses this detect-then-count approach in its reported evaluation; check the returned locations against the image.

Get started

Start using Qwen2.5-VL 72B Instruct in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options