How to Use Mixtral 8x22B Instruct in Amp
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 Amp
Copy an example into Amp, or ask in your own words.
Use Mixtral 8x22B Instruct to review the current diff for missing null checks and boundary errors. Cite the affected functions, explain each suspected failure, and propose a focused regression test.
Use Mixtral 8x22B Instruct to trace the authentication flow through this project's files. Explain where credentials are checked, how failures propagate, and which conclusions need more evidence.
Use Mixtral 8x22B Instruct to draft tests for the project's percentage-change helper. Cover zero baselines, negative values, and rounding, and show the arithmetic behind each expected result.
Use Mixtral 8x22B Instruct to translate the project's English help text into French, German, Italian, and Spanish. Preserve interpolation tokens, product names, and existing key names.
Use Mixtral 8x22B Instruct to compare the README with the implementation. Report unsupported claims with file references, suggest corrected wording, and keep the answer under 800 words.
How to set up Mixtral 8x22B Instruct in Amp
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
No header and no client ID or secret: Amp registers itself with Spiral.
amp mcp add spiral https://api.spiral.ai/mcp
- Sign in
Start amp. Amp opens Spiral's sign-in page in your browser: sign in, pick the organization and click Authorize. No API key.
- Check it
amp mcp doctor
Use the Spiral skill
- Send Amp 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: Amp 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 Amp 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 Amp?
Turn project code and documentation into explanations, test drafts, and answers about implementation details with Mixtral 8x22B Instruct. Give it the relevant files and a concrete deliverable, such as a patch proposal or a list of edge cases.
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 Amp
Overview
Mixtral 8x22B Instruct in other agents
Questions about Mixtral 8x22B Instruct in Amp
Can Amp use Mixtral 8x22B Instruct?
Yes. Add Spiral to Amp as an MCP server, and Amp can find and run Mixtral 8x22B Instruct like any built-in tool.
How much does Mixtral 8x22B Instruct cost in Amp?
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 Amp plan is separate.
Do I need an OpenRouter account to use Mixtral 8x22B Instruct in Amp?
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 Amp?
About two minutes: add the server, then sign in, then check it.
Does Amp wait while Mixtral 8x22B Instruct runs?
Mixtral 8x22B Instruct runs in the background. Amp 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 Amp
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Amp:
set up https://spiral.ai/SKILL.md


