How to Use Qwen3.8 Max Prime in Gemini CLI
Qwen3.8 Max Prime suits coding, document analysis, and tasks that take several steps. It retains Qwen3.8 Max's capabilities while generating output faster.
Prompts to try with Qwen3.8 Max Prime in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use Qwen3.8 Max Prime to trace the failing test in this project, identify the cause, make a focused fix, and report the verification result.
Use Qwen3.8 Max Prime to compare this project's migration guide with its current dependencies. Draft an ordered migration plan with a check for each stage.
Use Qwen3.8 Max Prime to review the authentication code across this repository. Explain the request flow and identify inconsistent behavior with file references.
Use Qwen3.8 Max Prime to implement the acceptance criteria in the project brief. Work in small steps, run relevant checks, and report any unmet criteria.
Use Qwen3.8 Max Prime to compare the supplied screenshot with this project's rendered page. List visible differences, fix them, and verify the result.
How to set up Qwen3.8 Max Prime in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Qwen3.8 Max Prime
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/qwen3.8-max-prime", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Gemini CLI finds Qwen3.8 Max Prime on Spiral, shows the price and runs it.
Qwen3.8 Max Prime providers and prices
Spiral runs Qwen3.8 Max Prime through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.06408 per run at the default inputs. $5.20 per 1M input tokens, $15.60 per 1M output tokens.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Logprobs | on or off | ||
| Max tokens | 1 to 131072 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Top logprobs | 0 to 20 | ||
| Presence penalty | -2 to 2 | ||
| Reasoning effort | minimal, low, medium, high, or xhigh | xhigh | How much the model reasons. |
| Frequency penalty | -2 to 2 |
Every API field of Qwen: Qwen3.8 Max Prime is on its tool page: open its card above.
What can you do with Qwen3.8 Max Prime in Gemini CLI?
Qwen3.8 Max Prime can carry a software task from codebase investigation through implementation and verification. Define the expected behavior and require test evidence with the final patch.
Fix bugs across a codebase
Trace a failure through related code, propose a focused patch, and check the result against a reproducible test.
Plan software migrations
Compare current behavior with migration requirements, identify dependencies, and draft an implementation order with checks for each stage.
Compare long documents
Find conflicting requirements across supplied documents and build an evidence table with section references.
Turn research into a decision brief
Compare supplied studies, separate findings from assumptions, and explain which evidence supports each recommendation.
Explain charts and screenshots
Analyze supplied visuals and write a concise explanation that distinguishes visible evidence from interpretation.
Review product demonstration videos
Turn a supplied demonstration into a written account of the workflow, confusing steps, and questions for the product team.
Prepare recurring operations briefs
Compare incoming updates with the previous report, identify unresolved dependencies, and draft the next actions with supporting evidence.
More on Qwen3.8 Max Prime and Gemini CLI
Overview
Qwen3.8 Max Prime in other agents
Questions about Qwen3.8 Max Prime in Gemini CLI
Can Gemini CLI use Qwen3.8 Max Prime?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Qwen3.8 Max Prime like any built-in tool.
How much does Qwen3.8 Max Prime cost in Gemini CLI?
Up to $0.06408 per run at the default inputs. $5.20 per 1M input tokens, $15.60 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 Qwen3.8 Max Prime in Gemini CLI?
No. Spiral runs Qwen3.8 Max Prime on its own OpenRouter account. You sign in to Spiral once and never paste a key.
How long does it take to set up Qwen3.8 Max Prime in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while Qwen3.8 Max Prime runs?
Qwen3.8 Max Prime runs in the background. Gemini CLI starts the run, checks on it and gives you the text, json when it's ready.
What is Qwen3.8 Max Prime good at?
Use it for software changes, research synthesis, document analysis, and work that requires several connected steps. Give it a concrete deliverable, the source material, and a way to check the result.
How does Qwen3.8 Max Prime differ from Qwen3.8 Max?
Prime retains Qwen3.8 Max's capabilities and generates output faster. Choose it when output speed matters during coding or repeated analysis.
How much can Qwen3.8 Max Prime read and write?
It has a one-million-token context window and supports up to 131,072 completion tokens. Keep the requested deliverable bounded; split material that exceeds the context limit into focused sections.
Does Qwen3.8 Max Prime create images or videos?
Its output is text. Use it to analyze supplied images or video and produce explanations, comparisons, or written briefs.
When should I ask for deeper reasoning?
Reserve deeper reasoning for difficult debugging, competing explanations, and plans with several dependencies. Qwen recommends medium effort for a balance of accuracy and speed and xhigh for complex analysis.
Start using Qwen3.8 Max Prime 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 https://spiral.ai/SKILL.md


