Mistral 7B

Models

Model details

Model
open-mistral-7b
Provider
mistral
API
mistral-conversations
Base URL
https://api.mistral.ai
Input
text
Reasoning
No
Context window
8,000
Max tokens
8,000
Show configuration
{
  "providers": {
    "mistral": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "open-mistral-7b",
          "name": "Mistral 7B",
          "reasoning": false,
          "input": [
            "text"
          ],
          "contextWindow": 8000,
          "maxTokens": 8000,
          "cost": {
            "input": 0.25,
            "output": 0.25,
            "cacheRead": 0.025,
            "cacheWrite": 0
          }
        }
      ],
      "api": "mistral-conversations",
      "baseUrl": "https://api.mistral.ai"
    }
  }
}

Pricing

USD per million tokens. A tier is selected from the total input tokens in each request and applies to that entire request.

Pricing rates for Mistral 7B
Request inputInputOutputCache readCache write
All requests$0.25$0.25$0.025$0

Session cost calculator

Estimate the requests made during an agent session. A user turn can make several model calls while using tools, so costs are calculated per model request.

Session shape
Rounded median shapes from recent Pi agent sessions.
Warm-request cache reuse
Effective token reuse combines partial hits and occasional complete misses.
Estimated session$0.00
Uncached input
—
Cache reads
—
Uncached prefixes
—
Cache writes
—
Output
—
Without caching
—

The first request starts cold unless marked otherwise. Output is billed separately from context growth because reasoning tokens are not always retained. This remains a directional estimate: providers differ in eligibility, rounding, and retention.

Compatibility flags

This API has no model compatibility flags.