Skip to main content
All models

Mistral 7B

OpenRouterOpenRouter docs

mistralai/mistral-7b-instruct

Run Mistral 7B in a hosted Python Task with file inputs.

Mistral AI's ultra-efficient 7B parameter model via OpenRouter. Optimized for speed and cost-effectiveness while delivering reliable performance for straightforward tasks.

Deprecated model

This model is deprecated and not recommended for new projects.

What Mistral 7B supports in qbash

  • Document inputReads PDF, TEXT, DOC, XLS, RTF and 7 more files.

What is qbash?

qbash is where you build Tasks: Python programs that run a business process on managed infrastructure. Your code runs the steps and calls a model like Mistral 7B only at the ones that need judgment, with integrations, memory and files available in the same script.

A developer writes the Task once, and anyone on the team runs it from a form, on a schedule, from a webhook or from chat. Each Task is versioned and every run is logged.

Specifications

Context window
128Ktokens
Max output
8,192tokens
Temperature
0 to 2default 1

Use Mistral 7B in a Python Task

qbash.ai.raw calls Mistral 7B from a Task and returns its reply as a string.

main.py
notes = qbash.inputs.get("notes")

summary = qbash.ai.raw(
f"Summarize these meeting notes in five bullets:\n\n{notes}",
model="mistralai/mistral-7b-instruct",
system="You are a concise analyst.",
)

qbash.output({"summary": summary})
Model calls in Tasks

Mistral 7B pricing

Input$0.00 per 1M tokens
Output$0.00 per 1M tokens

Standard rates in USD.

Supported file formats

Documents

  • PDF
  • TEXT
  • DOC
  • XLS
  • RTF
  • DOCX
  • XLSX
  • PPTX
  • PPT
  • ODT
  • ODP
  • ODS

Automate Mistral 7B with qbash