Skip to main content
All models

Mistral Nemo

OpenRouterOpenRouter docs

mistralai/mistral-nemo

Run Mistral Nemo in a hosted Python Task with structured output and file inputs.

Mistral AI's efficient smaller model via OpenRouter. Provides fast inference and lower costs while maintaining good performance for everyday tasks.

What Mistral Nemo supports in qbash

  • Structured outputReplies as JSON that matches a schema you pass.
  • Document inputReads PDF, TEXT, DOC, XLS, RTF and 7 more files.
  • Prompt cachingRepeated input is billed at the cached rate.

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 Nemo 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 1default 0.3

Structured output with Mistral Nemo in a Python Task

qbash.ai.raw calls Mistral Nemo from a Task. Pass a JSON Schema as output_schema and the reply comes back as a Python dict that matches it, ready to route to a connector.

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

triage = qbash.ai.raw(
f"Summarize this support ticket and rate its urgency:\n\n{ticket}",
model="mistralai/mistral-nemo",
output_schema={
"type": "object",
"properties": {
"summary": {"type": "string"},
"urgency": {"type": "string", "enum": ["low", "medium", "high"]},
},
"required": ["summary", "urgency"],
},
)

# triage is a dict, e.g. {"summary": "...", "urgency": "high"}
if triage["urgency"] == "high":
qbash.integrations.slack.create_message(
channel="#support",
text=triage["summary"],
)

qbash.output(triage)
Structured output in Tasks

Mistral Nemo pricing

Input$0.15 per 1M tokens
Output$0.15 per 1M tokens
Cached input$0.015 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 Nemo with qbash