Spiral gives your agent every tool with one account. Browse the tools →

Instinct · LLMReleased 2024-04-17

How to Use Mixtral 8x22B Instruct in Instinct

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 Instinct

Copy an example into Instinct, or ask in your own words.

Every morning, use Mixtral 8x22B Instruct to summarize the support messages supplied to this run. Group them by issue, quote one example per issue, and keep the digest under 500 words.

Mixtral 8x22B InstructInstinct
Try asking
  • For each hourly batch, use Mixtral 8x22B Instruct to classify incoming messages as billing, access, product, or other. Use low randomness and return a category, message identifier, and supporting excerpt.

  • Each weekday, use Mixtral 8x22B Instruct to draft replies to the French, German, Italian, and Spanish messages supplied to this run. Answer in the customer's language and use only the supplied product policy.

  • Each evening, use Mixtral 8x22B Instruct to compare today's supplied release notes with yesterday's. List additions, removals, and changed behavior, quoting the text behind each finding.

  • Every Friday, use Mixtral 8x22B Instruct to review the weekly counts supplied to this run. Calculate percentage changes, show the arithmetic, and mark a percentage change as undefined when the previous count is zero.

How to set up Mixtral 8x22B Instruct in Instinct

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Instinct this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create an API key

    In the console, open API keys and create a key for Instinct. Copy it.

  2. Send Instinct this message

    Instinct reads Spiral's skill and asks for your API key.

    set up https://spiral.ai/SKILL.md
  3. Give Instinct the key

    When Instinct asks for the key, add it where Instinct keeps secrets, never in the chat itself.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. 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: Instinct 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.

OpenRouterLLM
Mistral: Mixtral 8x22B Instruct
mistralai/mixtral-8x22b-instruct

Settings you can ask for

Ask Instinct for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top p0 to 1
Max tokens1 to 52428

The most output tokens to generate.

Temperature0 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 Instinct?

Turn recurring batches of text into summaries, labels, and multilingual reply drafts with Mixtral 8x22B Instruct. Keep each run focused on supplied material and use a consistent answer format so results are easy to compare.

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.

Questions about Mixtral 8x22B Instruct in Instinct

Can Instinct use Mixtral 8x22B Instruct?

Yes. Add Spiral to Instinct as an MCP server, and Instinct can find and run Mixtral 8x22B Instruct like any built-in tool.

How much does Mixtral 8x22B Instruct cost in Instinct?

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 Instinct plan is separate.

Do I need an OpenRouter account to use Mixtral 8x22B Instruct in Instinct?

You need no OpenRouter account. Instinct uses one Spiral API key for every tool, and Spiral runs Mixtral 8x22B Instruct on its own OpenRouter account.

How long does it take to set up Mixtral 8x22B Instruct in Instinct?

About two minutes: create an API key, then send Instinct this message, then give Instinct the key.

Does Instinct wait while Mixtral 8x22B Instruct runs?

Mixtral 8x22B Instruct runs in the background. Instinct 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.

Get started

Start using Mixtral 8x22B Instruct in Instinct

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Instinct:

Set up Instinct

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options