How to Use Gemini 3.1 Flash-Lite in Perplexity
Gemini 3.1 Flash-Lite suits repeated translation, classification, and data extraction tasks. It also generates UI code, with adjustable reasoning for more involved requests.
Prompts to try with Gemini 3.1 Flash-Lite in Perplexity
Copy an example into Perplexity, or ask in your own words.
Use Gemini 3.1 Flash-Lite to summarize the discussion above in 250 words. Separate decisions, unresolved questions, and proposed next steps; do not invent owners or deadlines.
Use Gemini 3.1 Flash-Lite to translate my previous message into Spanish for a customer in Mexico. Preserve product names and numbers, keep the tone courteous, and flag ambiguous wording.
Use Gemini 3.1 Flash-Lite with minimal reasoning to label each customer comment above as usability, reliability, feature request, or other. Give one supporting excerpt per comment.
Use Gemini 3.1 Flash-Lite to extract names, organizations, dates, and explicit commitments from the conversation above. Return a table and write 'not stated' wherever information is missing.
Use Gemini 3.1 Flash-Lite with high reasoning to write a single-page HTML dashboard for tracking reading habits. Include sorting and a genre filter, use clearly labeled sample data, and return the code.
How to set up Gemini 3.1 Flash-Lite in Perplexity
Pick the way that suits you. Each takes about two minutes.
Use the Perplexity connector
- Add a remote connector
In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Perplexity 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 Gemini 3.1 Flash-Lite
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": "vertex", "model": "google/gemini-3.1-flash-lite", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Perplexity finds Gemini 3.1 Flash-Lite on Spiral, shows the price and runs it.
Gemini 3.1 Flash-Lite providers and prices
Spiral runs Gemini 3.1 Flash-Lite through Vertex AI. Open a card for today's price, with every fee included.
Up to $0.008011 per run at the default inputs. $0.325 per 1M input tokens, $0.0325 per 1M cached input tokens, $0.108333335 per 1M cache write tokens, $0.65 per 1M audio input tokens, $1.95 per 1M output tokens.
Settings you can ask for
Ask Perplexity for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Top p | 0 to 1 | ||
| Max tokens | 1 to 65536 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Presence penalty | a number from -2 | ||
| Reasoning effort | minimal, low, medium, or high | minimal | How much the model reasons. |
| Frequency penalty | a number from -2 |
Every API field of Gemini 3.1 Flash Lite is on its tool page: open its card above.
What can you do with Gemini 3.1 Flash-Lite in Perplexity?
Turn long text into a usable summary, translation, or labeled list with Gemini 3.1 Flash-Lite. Provide the material and specify what the answer must preserve.
Translate support replies
Translate repeated customer replies while preserving product names, order numbers, and a supplied terminology list.
Classify incoming requests
Assign support messages to defined categories, with examples that distinguish billing questions, technical issues, and account requests.
Extract records from text
Turn order confirmations or business messages into structured records. Require explicit evidence for each value and leave missing information empty.
Review content against a policy
Label submitted text against a supplied moderation policy and flag uncertain cases for review.
Summarize lengthy documents
Condense supplied documents into decisions, open questions, and supporting passages so a reviewer can check the summary.
Build a dashboard prototype
Generate UI code from a defined layout, sample data, and interaction requirements, then test filtering, sorting, and empty states.
Label customer feedback
Sort feedback into a fixed list of themes and return a short supporting excerpt for each label.
More on Gemini 3.1 Flash-Lite and Perplexity
Gemini 3.1 Flash-Lite in other agents
Questions about Gemini 3.1 Flash-Lite in Perplexity
Can Perplexity use Gemini 3.1 Flash-Lite?
Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run Gemini 3.1 Flash-Lite like any built-in tool.
How much does Gemini 3.1 Flash-Lite cost in Perplexity?
Up to $0.008011 per run at the default inputs. $0.325 per 1M input tokens, $0.0325 per 1M cached input tokens, $0.108333335 per 1M cache write tokens, $0.65 per 1M audio input tokens, $1.95 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Perplexity plan is separate.
Do I need a Vertex AI account to use Gemini 3.1 Flash-Lite in Perplexity?
No. Spiral runs Gemini 3.1 Flash-Lite on its own Vertex AI account. You sign in to Spiral once and never paste a key.
How long does it take to set up Gemini 3.1 Flash-Lite in Perplexity?
About two minutes: add a remote connector, then sign in to Spiral and approve.
Does Perplexity wait while Gemini 3.1 Flash-Lite runs?
Gemini 3.1 Flash-Lite runs in the background. Perplexity starts the run, checks on it and gives you the text, json when it's ready.
What is Gemini 3.1 Flash-Lite good at?
It is designed for repeated translation, classification, and simple data extraction. Other documented uses include content moderation, document summaries, and generating UI code.
How much text can Gemini 3.1 Flash-Lite handle?
Google lists an input limit of 1,048,576 tokens and an output limit of 65,536 tokens. These are token limits, so avoid treating them as fixed word or page counts.
When should I increase the reasoning level?
Start with minimal reasoning for straightforward extraction and labeling. Try higher reasoning for requests with interacting constraints, such as generating a dashboard with filtering and validation.
Can Gemini 3.1 Flash-Lite write code?
Yes. Google specifically identifies user interfaces, dashboards, and simulations as supported coding uses; give it a concrete specification and test the resulting behavior.
How should I write prompts for Gemini 3.1 Flash-Lite?
State the task, constraints, and required output directly. Separate the source material from instructions, and include examples when labels or formatting could be ambiguous.
Start using Gemini 3.1 Flash-Lite in Perplexity
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Perplexity:
set up https://spiral.ai/SKILL.md


