How to Use GLM 5.3 Prime in Gemini
GLM 5.3 Prime is built for coding, technical conversations, and tasks that need several rounds of tool use. It retains GLM 5.3’s capabilities while accelerating output generation, with a reported 1.5–2× increase in output throughput.
Prompts to try with GLM 5.3 Prime in Gemini
Copy an example into Gemini, or ask in your own words.
Use GLM 5.3 Prime with maximum reasoning to compare a queue-based worker and a synchronous service for processing customer exports. Evaluate retries, duplicate jobs, failure recovery, and operational complexity. State your assumptions.
Use GLM 5.3 Prime to analyze the error messages pasted above. Rank three possible causes, cite the evidence for each, and give me the next check that would distinguish them.
Use GLM 5.3 Prime to turn the API documentation pasted above into a Python client example. Include pagination and documented error handling, and identify any behavior the documentation leaves unclear.
Use GLM 5.3 Prime to extract action items from the conversation above as JSON. Give each item an action, owner, deadline, and supporting excerpt. Use null when the owner or deadline is absent.
Use GLM 5.3 Prime to review the code pasted above for boundary-condition errors. Explain each confirmed issue with a small input example and propose regression tests.
How to set up GLM 5.3 Prime in Gemini
Pick the way that suits you. Each takes about two minutes.
Use the Gemini connector
- Open Connected Apps
On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.
- Add Spiral as a custom app
Under Custom apps, click Add a custom app and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Gemini 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 GLM 5.3 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": "z-ai/glm-5.3-prime", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Gemini finds GLM 5.3 Prime on Spiral, shows the price and runs it.
GLM 5.3 Prime providers and prices
Spiral runs GLM 5.3 Prime through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.028192 per run at the default inputs. $2.184 per 1M input tokens, $6.864 per 1M output tokens.
Settings you can ask for
Ask Gemini 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 | low, high, or max | max | How much the model reasons. |
| Frequency penalty | -2 to 2 |
Every API field of Z.ai: GLM 5.3 Prime is on its tool page: open its card above.
What can you do with GLM 5.3 Prime in Gemini?
GLM 5.3 Prime can turn a technical conversation into code, a diagnostic plan, or an implementation decision. Supply the relevant text and ask for a concrete deliverable with supporting evidence.
Fix a reproducible bug
Give GLM 5.3 Prime the failure, relevant code, and expected behavior. Ask for a reproduction, a focused correction, and evidence that the correction works.
Plan a code migration
Ask GLM 5.3 Prime to map dependencies, identify compatibility risks, and divide a migration into changes with explicit acceptance checks.
Design regression tests
Have GLM 5.3 Prime turn a bug report or behavior specification into test cases covering ordinary inputs, boundary conditions, and failure paths.
Draft an API client
Provide a textual API specification and ask GLM 5.3 Prime for client code, response handling, and tests tied to documented behavior.
Triage technical incidents
Give GLM 5.3 Prime timestamped logs and deployment notes. Request an evidence-based timeline, competing explanations, and the next diagnostic checks.
Extract structured records
Ask GLM 5.3 Prime to convert supplied text into JSON using an explicit structure. Validate required properties and types before passing the records onward.
Compare implementation approaches
Ask GLM 5.3 Prime to evaluate technical approaches against stated requirements and explain which assumptions could change the recommendation.
More on GLM 5.3 Prime and Gemini
Overview
GLM 5.3 Prime in other agents
Questions about GLM 5.3 Prime in Gemini
Can Gemini use GLM 5.3 Prime?
Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run GLM 5.3 Prime like any built-in tool.
How much does GLM 5.3 Prime cost in Gemini?
Up to $0.046986 per run at the default inputs. $3.64 per 1M input tokens, $11.44 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 plan is separate.
Do I need an OpenRouter account to use GLM 5.3 Prime in Gemini?
No. Spiral runs GLM 5.3 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 GLM 5.3 Prime in Gemini?
About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.
Does Gemini wait while GLM 5.3 Prime runs?
GLM 5.3 Prime runs in the background. Gemini starts the run, checks on it and gives you the text, json when it's ready.
How does GLM 5.3 Prime differ from GLM 5.3?
Prime accelerates output generation while retaining GLM 5.3’s capabilities. The reported improvement is 1.5–2× output throughput, rather than a separate increase in reasoning quality.
How much text can GLM 5.3 Prime handle?
It supports a 1M-token context window and up to 128K output tokens. For a large task, ask for a specific deliverable, such as a migration plan or a focused patch, rather than an unrestricted response.
Can GLM 5.3 Prime read screenshots or generate images?
GLM 5.3 Prime accepts text and produces text. Provide error messages, extracted text, or a written description when the original material is visual.
Can I turn reasoning off?
Reasoning stays enabled. You can choose low, high, or maximum reasoning effort; maximum is the default.
Can GLM 5.3 Prime return reliable JSON?
It can return JSON, but JSON-schema enforcement is not supported. Describe the required structure, then validate the result before using it in an automated workflow.
Start using GLM 5.3 Prime in Gemini
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini:
set up https://spiral.ai/SKILL.md


