How to Use Mixtral 8x22B Instruct in Gemini
Mixtral 8x22B Instruct suits coding, math, and document questions across five supported languages. Unlike Mixtral 8x22B Base, it is fine-tuned to follow instructions.
Prompts to try with Mixtral 8x22B Instruct in Gemini
Copy an example into Gemini, or ask in your own words.
Use Mixtral 8x22B Instruct to explain compound interest on a starting balance of 1,000 at 4% annually for three years. Show the formula, each year's balance, and the final result rounded to two decimals.
Use Mixtral 8x22B Instruct to translate this support reply into French, German, Italian, and Spanish: 'Your export is ready. Open Reports, choose Exports, and select Download.' Keep the interface labels in English.
Use Mixtral 8x22B Instruct to summarize our conversation in five bullets. Separate decisions, unresolved questions, and next actions, and do not add details we have not discussed.
Use Mixtral 8x22B Instruct to explain why a Python function with a default empty list can retain values between calls. Give a short failing example, a corrected version, and the expected outputs.
Use Mixtral 8x22B Instruct to classify these messages as access, billing, or product: 'I cannot sign in'; 'My invoice has the wrong address'; 'Can I export a report?' Return one category per message and use low randomness.
How to set up Mixtral 8x22B Instruct 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 Mixtral 8x22B 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": "mistralai/mixtral-8x22b-instruct", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: Gemini finds Mixtral 8x22B Instruct on Spiral, shows the price and runs it.
Mixtral 8x22B Instruct providers and prices
Spiral runs Mixtral 8x22B Instruct through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.03204 per run at the default inputs. $2.60 per 1M input tokens, $7.80 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 p | 0 to 1 | ||
| Max tokens | 1 to 52428 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Presence penalty | -2 to 2 | ||
| Frequency penalty | -2 to 2 |
Every API field of Mistral: Mixtral 8x22B Instruct is on its tool page: open its card above.
What can you do with Mixtral 8x22B Instruct in Gemini?
Work through calculations, translate text, and ask focused questions about supplied documents with Mixtral 8x22B Instruct. State the answer language and format, and include an example when consistency matters.
Explain unfamiliar code
Ask for a walkthrough of a function, its assumptions, and likely failure cases. Supply the surrounding code so the explanation has enough context.
Draft regression tests
Provide a bug report and the affected function, then request tests for the reported failure and nearby edge cases.
Answer questions about long documents
Supply policy or product documentation and ask for answers with supporting passages. Keep the text and requested answer within the 64K-token context budget.
Draft multilingual support replies
Use supplied product policies to draft replies in English, French, Italian, German, or Spanish. Specify the response language and preserve product names.
Extract records from text
Turn meeting notes or support messages into consistent records. Provide an example record and instructions for missing values.
Work through calculations
Ask for formulas, substitutions, units, and intermediate results when checking percentage changes or operational calculations.
Classify incoming requests
Define categories such as billing, access, and product questions, then supply labeled examples. Request a category and supporting excerpt for each message.
More on Mixtral 8x22B Instruct and Gemini
Overview
Mixtral 8x22B Instruct in other agents
Questions about Mixtral 8x22B Instruct in Gemini
Can Gemini use Mixtral 8x22B Instruct?
Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Mixtral 8x22B Instruct like any built-in tool.
How much does Mixtral 8x22B Instruct cost in Gemini?
Up to $0.03204 per run at the default inputs. $2.60 per 1M input tokens, $7.80 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 Mixtral 8x22B Instruct in Gemini?
No. Spiral runs Mixtral 8x22B 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 Mixtral 8x22B Instruct 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 Mixtral 8x22B Instruct runs?
Mixtral 8x22B Instruct runs in the background. Gemini starts the run, checks on it and gives you the text, json when it's ready.
What is Mixtral 8x22B good at?
Coding, mathematics, multilingual text, and questions about long documents are documented strengths. Try it for code explanations, calculation walkthroughs, or extracting answers from supplied text.
Which languages does Mixtral 8x22B support?
Mistral names English, French, Italian, German, and Spanish. Specify the language you want in the answer, especially when your source text mixes languages.
How much text can Mixtral 8x22B handle?
Its context window is 64K tokens. Budget for the source text, conversation, and generated answer together; that window is not a promise of a 64K-token answer.
How does Mixtral 8x22B Instruct differ from Mixtral 8x22B Base?
Mixtral 8x22B Instruct is fine-tuned to follow instructions. Choose it for requests that specify a task, audience, or answer format.
How should I prompt Mixtral 8x22B?
State the task, supply the relevant text, and define the answer format. Include a worked example when you need consistent labels, extracted records, or a particular writing style.
Start using Mixtral 8x22B Instruct 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


