{
  "data": {
    "a": {
      "slug": "mistral-api",
      "name": "Mistral AI API",
      "vendor": "Mistral AI",
      "vendorUrl": "https://mistral.ai",
      "kind": "model",
      "category": "inference",
      "summary": "Mistral's API for its open-weight and proprietary models, with EU and US regional endpoints.",
      "url": "https://www.anchorterminal.com/tools/mistral-api",
      "markdownUrl": "https://www.anchorterminal.com/tools/mistral-api.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/mistral-api.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/mistral-api.json",
      "dns": "mistral-api.grade.anchorterminal.com",
      "repo": "https://github.com/mistralai/client-python",
      "license": "Apache-2.0 (SDKs)",
      "transports": [
        "http"
      ],
      "remoteUrl": "https://api.mistral.ai/v1",
      "packages": [
        {
          "registry": "pypi",
          "name": "mistralai"
        },
        {
          "registry": "npm",
          "name": "@mistralai/mistralai"
        }
      ],
      "auth": "api-key",
      "authNotes": "Bearer key. Regional EU and US endpoints are opt-in.",
      "pricing": "freemium",
      "pricingNotes": "Free Experiment tier with no card, but a phone number, and its data may be used for training. Cached input 10% of the input price, batch half price, regional endpoints 1.1x. Mistral Large 4 (preview) is $0.70/$2.10 per million tokens, cached input $0.07, on 1 November. Also resells Z.ai GLM 5.3 at $1.40/$4.40, GLM 5.3 Flash at $0.15/$0.50 and DeepSeek V4.1 Flash 1017 (preview) at $0.30/$1.20 (https://mistral.ai/pricing/api/).",
      "priceSummary": "from $0.10 / 1M in",
      "where": "hosted",
      "x402": {
        "level": "no",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": 769,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-09-26"
      },
      "docsUrl": "https://docs.mistral.ai",
      "rateLimitsUrl": "https://docs.mistral.ai/admin/user-management-finops/tier",
      "llmsTxt": "https://docs.mistral.ai/llms.txt",
      "openapi": "https://docs.mistral.ai/openapi.yaml",
      "capabilities": [
        "inference.llm",
        "inference.open-weights"
      ],
      "tags": [
        "official",
        "hosted",
        "model",
        "eu",
        "open-weights",
        "free-tier",
        "openapi",
        "llms-txt"
      ],
      "lastRelease": "2026-10-28",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 65.7,
        "grade": "B",
        "agentReady": false,
        "rank": 369,
        "ranked": true,
        "rankOf": 1350,
        "categoryRank": 12,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 91,
          "maintenance": 80,
          "payments": 40,
          "reliability": 50,
          "schema": 93,
          "security": 73,
          "transparency": 80
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "medium",
          "date": "2026-11-01"
        },
        "negative": -6,
        "negativeNotes": [
          "2026-05-12. The `mistralai` 2.4.6 package on PyPI, one of this listing's two official SDKs, ran a credential-harvesting script on import for about three hours, and `@mistralai/mistralai` 2.2.2 to 2.2.4 on npm were replaced too. Mistral published advisory MAI-2026-002, removed the packages and closed its investigation on 14 May. Fixed and documented, so 3 points, as mistral-voxtral-transcribe carries for the same advisory (https://docs.mistral.ai/resources/security-advisories/MAI-2026-002). -3",
          "2026-10-20 to 2026-10-27. Minor releases of both official SDKs list \"Breaking changes\" with no advance notice found. Python 3.3.0 (20 October) and TypeScript 3.1.0 change the `type` field in `chat.complete()` and `agents.complete()` and remove `expressiveness` and `phoneme_hints` from audio agent configuration. Python 3.4.0 (23 October) makes `configuration` required on `audio.agents.create()` and renames `models.Format` to `FormatEnum`. Python 3.6.0 and TypeScript 3.4.0 (27 October) remove usage fields from speech responses. One term at the floor, as svix's several breaking minors were read (https://github.com/mistralai/client-python/blob/main/RELEASES.md). -3"
        ],
        "verdict": "Public OpenAPI document and an llms.txt with Markdown twins. Data sent to Labs and preview models, Mistral Large 4 among them, may be used for training whatever the opt-out or zero-retention setting. The default model, Medium 3.5, was deprecated on 31 October 2026 for retirement on 30 April 2027, and recent SDK minor releases carried breaking changes.",
        "bestFor": "Teams that need EU processing, open-weight models they can later run themselves, or an API an agent can read from an OpenAPI file.",
        "strengths": [
          "Public OpenAPI 3.1.0 document at docs.mistral.ai/openapi.yaml and an llms.txt with Markdown twins",
          "Minimum 6 months' notice before a GA model retires, kept for Medium 3.5 and Large 3, and retired ids return 404",
          "Workspace-scoped API keys with expiry dates, and service accounts bound to workspace roles",
          "Three dated security advisories published in the docs in 2026, with affected versions and remediation",
          "Free Experiment tier with no card, and Batch at half price"
        ],
        "weaknesses": [
          "Labs and preview models, Large 4 among them, may train on data sent from 2026-09-25, whatever the opt-out or zero-retention setting",
          "Mistral Medium 3 and 3.1, both GA, retired on 31 August 2026 after 101 days' notice against a published 6-month minimum",
          "SDK minor releases from 20 to 27 October 2026 removed and changed fields, marked breaking on release day",
          "The `mistralai` 2.4.6 PyPI release of 12 May 2026 harvested credentials on import for about three hours",
          "Rate-limit numbers are only in the console, no SLA found, and the status page blocks automated readers"
        ],
        "agentNotes": [
          "Stay off `labs-*` and preview models, `mistral-large-4` included while it is in preview, for anything confidential",
          "Plan a move off `mistral-medium-3-5` and `mistral-large-2512` before 30 April 2027. `mistral-medium-latest` still points to Medium 3.5",
          "Pin each SDK to one version. Minor releases of `mistralai` and `@mistralai/mistralai` have removed fields without notice",
          "Treat a 404 on a model id as retirement and read the models page for the replacement",
          "Set `tool_choice` to any to force a tool call, and `strict` on the JSON schema for structured output"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 2,
        "avgRating": 4,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "medium",
            "grade": "B",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 65.7
          }
        ],
        "editorialScores": {
          "ergonomics": 91,
          "maintenance": 80,
          "payments": 40,
          "reliability": 50,
          "schema": 93,
          "security": 73,
          "transparency": 68
        },
        "provenanceScore": 92,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-01",
            "maintenance": "2026-11-01",
            "payments": "2026-11-01",
            "reliability": "2026-11-01",
            "schema": "2026-11-01",
            "security": "2026-11-01",
            "transparency": "2026-11-01"
          },
          "last": "2026-11-01",
          "lastMoved": "2026-11-01",
          "oldest": "2026-11-01",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "pip install mistralai   # or: npm i @mistralai/mistralai",
        "http": "curl https://api.mistral.ai/v1/chat/completions \\\n  -H \"Authorization: Bearer $MISTRAL_API_KEY\" -H \"content-type: application/json\" \\\n  -d '{\"model\":\"mistral-medium-3-5\",\"messages\":[{\"role\":\"user\",\"content\":\"bonjour\"}]}'"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/mistral-api"
      },
      "sameCompany": [
        "mistral-embeddings",
        "mistral-moderation",
        "mistral-voxtral-transcribe",
        "voxtral-mini-4b-realtime-2602",
        "mistral-ocr",
        "mistral-vibe-cli"
      ],
      "sameModel": [
        "mistral-large-4"
      ],
      "area": "models",
      "provenance": {
        "legalEntity": "Mistral AI (RCS Paris 952 418 325)",
        "domain": "mistral.ai",
        "domainRegistered": "2019-05-15",
        "endpointOnVendorDomain": true,
        "terms": "https://legal.mistral.ai/terms/commercial-terms-of-service",
        "privacy": "https://legal.mistral.ai/terms/privacy-policy",
        "statusPage": "https://status.mistral.ai",
        "changelog": "https://docs.mistral.ai/resources/changelogs",
        "securityTxt": "valid",
        "checked": "2026-11-01",
        "notes": [
          "security.txt read on 2026-11-01, Contact security@mistral.ai, Expires 2027-05-05, Policy a HackerOne submission form",
          "Commercial terms effective 2026-09-25 and DPA effective 2026-07-27, both re-read on 2026-11-01",
          "status.mistral.ai answered robots.txt and its pages with a Cloudflare bot check on 2026-11-01"
        ],
        "score": 92
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/mistral-api.json",
      "live": {
        "slug": "mistral-api",
        "probe": {
          "target": "https://api.mistral.ai/v1",
          "method": "get",
          "lastAt": "2026-11-05T01:29:09.232340078Z",
          "lastOk": true,
          "lastStatus": 404,
          "lastMs": 66,
          "authRequired": false,
          "uptime24h": 100,
          "uptime30d": 100,
          "p50ms24h": 84,
          "p95ms24h": 153,
          "samples24h": 247,
          "samples30d": 7857,
          "days": [
            {
              "date": "2026-10-05",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-06",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-07",
              "probes": 272,
              "ok": 272
            },
            {
              "date": "2026-10-08",
              "probes": 268,
              "ok": 268
            },
            {
              "date": "2026-10-09",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-10-10",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-11",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-12",
              "probes": 247,
              "ok": 247
            },
            {
              "date": "2026-10-13",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-14",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-15",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-16",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-17",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-18",
              "probes": 256,
              "ok": 256
            },
            {
              "date": "2026-10-19",
              "probes": 255,
              "ok": 255
            },
            {
              "date": "2026-10-20",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-21",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-22",
              "probes": 253,
              "ok": 253
            },
            {
              "date": "2026-10-23",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-24",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-10-25",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-10-26",
              "probes": 252,
              "ok": 252
            },
            {
              "date": "2026-10-27",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-28",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-10-29",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-10-30",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-10-31",
              "probes": 251,
              "ok": 251
            },
            {
              "date": "2026-11-01",
              "probes": 249,
              "ok": 249
            },
            {
              "date": "2026-11-02",
              "probes": 250,
              "ok": 250
            },
            {
              "date": "2026-11-03",
              "probes": 248,
              "ok": 248
            },
            {
              "date": "2026-11-04",
              "probes": 246,
              "ok": 246
            },
            {
              "date": "2026-11-05",
              "probes": 16,
              "ok": 16
            }
          ]
        },
        "vendorStatus": {
          "page": "https://status.mistral.ai",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-11-05T01:27:18.875209214Z"
        },
        "versions": [
          {
            "registry": "github",
            "name": "mistralai/client-python",
            "version": "v3.7.0",
            "released": "2026-11-01",
            "seenAt": "2026-11-04T20:36:59.593683104Z"
          },
          {
            "registry": "npm",
            "name": "@mistralai/mistralai",
            "version": "3.5.0",
            "seenAt": "2026-11-04T20:36:58.594800453Z"
          },
          {
            "registry": "pypi",
            "name": "mistralai",
            "version": "3.7.0",
            "released": "2026-11-01",
            "seenAt": "2026-11-04T20:36:58.332672474Z"
          }
        ],
        "githubStars": 773,
        "npmWeekly": 6439597,
        "pypiWeekly": 3159360,
        "securityTxt": {
          "url": "https://mistral.ai/.well-known/security.txt",
          "state": "valid",
          "expires": "2027-05-05T23:59:59.000Z",
          "checkedAt": "2026-11-04T15:54:06.899510271Z"
        },
        "llmsTxt": {
          "url": "https://docs.mistral.ai/llms.txt",
          "ok": true,
          "status": 200,
          "checkedAt": "2026-11-04T15:23:28.148170358Z"
        },
        "domain": {
          "domain": "mistral.ai",
          "registered": "2019-05-15",
          "source": "https://rdap.identitydigital.services/rdap/domain/mistral.ai",
          "checkedAt": "2026-11-01T14:21:43.304217994Z"
        },
        "pages": [
          {
            "url": "https://docs.mistral.ai/models.md",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-04T08:21:41.611539557Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "013f8affb9f0"
          },
          {
            "url": "https://docs.mistral.ai/resources/changelogs",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-04T08:21:47.897390385Z",
            "changedAt": "2026-10-23T01:45:57.577340637Z",
            "fingerprint": "a6e40e62ddee"
          },
          {
            "url": "https://legal.mistral.ai/terms/commercial-terms-of-service",
            "kind": "deprecations",
            "status": 200,
            "checkedAt": "2026-11-04T08:26:53.534088945Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "227daf1e9929"
          },
          {
            "url": "https://raw.githubusercontent.com/mistralai/client-python/main/RELEASES.md",
            "kind": "deprecations",
            "status": 304,
            "checkedAt": "2026-11-04T08:34:08.302146671Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "5c6b09386d51"
          },
          {
            "url": "https://mistral.ai/pricing/api/",
            "kind": "pricing",
            "status": 200,
            "checkedAt": "2026-11-04T08:28:02.628150182Z",
            "changedAt": "2026-10-31T06:16:22.848836467Z",
            "fingerprint": "92e07817bbef"
          },
          {
            "url": "https://legal.mistral.ai/terms/privacy-policy",
            "kind": "privacy",
            "status": 200,
            "checkedAt": "2026-11-04T08:26:55.988838489Z",
            "changedAt": "0001-01-01T00:00:00Z",
            "fingerprint": "e74211012ef6"
          }
        ],
        "models": {
          "ministral-3b-2512": {
            "openrouterId": "mistralai/ministral-3b-2512",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": false,
            "input": [
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 131072,
            "maxOutput": 104857,
            "checkedAt": "2026-11-04T23:49:21.961528872Z"
          },
          "mistral-large-2512": {
            "openrouterId": "mistralai/mistral-large-2512",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": false,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 262144,
            "maxOutput": 209715,
            "checkedAt": "2026-11-04T23:49:21.961528872Z"
          },
          "mistral-large-4": {
            "openrouterId": "mistralai/mistral-large-4-0",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 1048576,
            "maxOutput": 262144,
            "checkedAt": "2026-11-04T23:49:21.961528872Z"
          },
          "mistral-medium-3-5": {
            "openrouterId": "mistralai/mistral-medium-3-5",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "file",
              "image",
              "text"
            ],
            "promptCaching": false,
            "contextTokens": 262144,
            "maxOutput": 209715,
            "checkedAt": "2026-11-04T23:49:21.961528872Z"
          },
          "mistral-small-2603": {
            "openrouterId": "mistralai/mistral-small-2603",
            "tools": true,
            "structuredOutputs": true,
            "jsonMode": true,
            "reasoning": true,
            "input": [
              "image",
              "text"
            ],
            "promptCaching": true,
            "contextTokens": 262144,
            "maxOutput": 209715,
            "checkedAt": "2026-11-04T23:49:21.961528872Z"
          }
        },
        "github": {
          "repo": "mistralai/client-python",
          "checkedAt": "2026-11-02T09:07:39.340819862Z",
          "stars": 774,
          "archived": false,
          "issuesEnabled": true,
          "pushedAt": "2026-11-01T20:09:32Z",
          "openIssues": 39,
          "openPRs": 3,
          "issuesOpened90d": 20,
          "issuesClosed90d": 2,
          "prsMerged90d": 23,
          "ci": {
            "branch": "main",
            "runs": 50,
            "success": 37,
            "failure": 13,
            "other": 0,
            "latest": "failure",
            "latestAt": "2026-11-01T20:33:28Z"
          },
          "advisories": [
            {
              "ghsa": "GHSA-wx9m-wx4f-4cmg",
              "severity": "critical",
              "published": "2026-05-12T12:57:44Z"
            }
          ],
          "replies": {
            "sampled": 25,
            "unanswered": 23,
            "medianDays": 21.9
          }
        },
        "updatedAt": "2026-11-05T01:29:09.232340078Z"
      }
    },
    "answer": "Mistral AI API scores 65.7 (B) on agent readiness against SWE-2 Flash's 36.4 (F), and leads in 6 of 7 scored categories.",
    "b": {
      "slug": "swe-2-flash",
      "name": "SWE-2 Flash",
      "vendor": "Cognition AI, Inc.",
      "vendorUrl": "https://cognition.com/blog/swe-2-flash",
      "kind": "model",
      "category": "inference",
      "summary": "SWE-2 Flash is Cognition's small, fast coding model, mid-trained and reinforcement-trained from Thinking Machines' Inkling-Small (276B total, 12B active parameters). It runs inside Devin Desktop and Devin CLI, with no model API of its own and no public weights.",
      "url": "https://www.anchorterminal.com/tools/swe-2-flash",
      "markdownUrl": "https://www.anchorterminal.com/tools/swe-2-flash.md",
      "slimMarkdownUrl": "https://www.anchorterminal.com/tools/swe-2-flash.min.md",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/swe-2-flash.json",
      "dns": "swe-2-flash.grade.anchorterminal.com",
      "license": "Proprietary model, used through Devin Desktop and Devin CLI under Cognition's Platform Terms of Service. The weights are not public; Cognition says it is building a programme to share them with industry partners and researchers",
      "transports": [],
      "packages": [],
      "auth": "mixed",
      "authNotes": "No model API or key of its own. A person signs in to Devin Desktop, or runs `devin auth login` for Devin CLI, through a browser (enterprise users through their identity provider). The CLI then keeps an API token in credentials.toml that by default is persistent and does not expire, and the docs warn that anyone with the file can authenticate as that user. Enterprise admins choose which models a team may use with a model allowlist.",
      "pricing": "freemium",
      "pricingNotes": "Free in Devin Desktop and Devin CLI through 30 November 2026, per the launch post. Afterwards it is billed against the plan's daily and weekly quota, then extra usage at API pricing. The post says one-fifth the price of SWE-2, whose list price is $3.00 input, $0.30 cached input and $15.00 output per million tokens, but no SWE-2 Flash figure is published: the docs' cost table loads in the browser and the models pages don't list it yet (checked 2026-11-04). Plans are Free $0, Pro $20 a month, Max $200 a month and Teams $80 a month plus $40 per full seat. The docs say Free tier users only have SWE-1.6, so whether Free reaches SWE-2 Flash is unconfirmed.",
      "priceSummary": "Freemium",
      "where": "local",
      "x402": {
        "level": "no",
        "evidence": "No model endpoint to pay. No x402, MPP or L402 on the Devin pricing page, the Devin Desktop models page or the launch post (checked 2026-11-04).",
        "endpoints": []
      },
      "toolCount": null,
      "popularity": {
        "githubStars": null,
        "npmWeekly": null,
        "pypiWeekly": null,
        "asOf": "2026-11-04"
      },
      "docsUrl": "https://docs.devin.ai/desktop/models",
      "llmsTxt": "https://docs.devin.ai/llms.txt",
      "capabilities": [
        "inference.llm"
      ],
      "tags": [
        "official",
        "hosted",
        "model",
        "closed-source",
        "coding",
        "moe",
        "cli",
        "desktop-app",
        "llms-txt",
        "status-page",
        "soc2",
        "iso27001",
        "sla",
        "freemium",
        "new"
      ],
      "lastRelease": "2026-11-04",
      "graded": true,
      "anchor": {
        "graded": true,
        "score": 36.4,
        "grade": "F",
        "agentReady": false,
        "rank": 1243,
        "ranked": true,
        "rankOf": 1350,
        "categoryRank": 33,
        "methodology": "0.7",
        "run": "2026-10-01",
        "scores": {
          "ergonomics": 10,
          "maintenance": 53,
          "payments": 20,
          "reliability": 50,
          "schema": 29,
          "security": 53,
          "transparency": 64
        },
        "pending": [
          "performance",
          "tasks"
        ],
        "assessment": {
          "confidence": "low",
          "date": "2026-11-04"
        },
        "negative": -2,
        "negativeNotes": [
          "The launch post says 'On leading evals, SWE-2 Flash outperforms all American open-weight models'. The post's own table, a first-hand source, gives Meta's Muse Spark Open (American, open weights, released 15 October 2026) 54.0 on SWE-Atlas QA against SWE-2 Flash's 50.0, and Meta's own figure for Muse Spark Open is 58. A 'surpasses' claim a first-hand source shows false is a deduction of 2 (research/new-2026-11-04-ripple-swe2/NEWLIST.md, rule 4). The case against: SWE-2 Flash leads every other row it shares with the American open-weight models in the table, and DeepSWE 1.1 is 60.1 to 60.0, so 'on leading evals' can be read as overall. Proposed for the founder to confirm at landing, as xiaomi-ocr-0's was"
        ],
        "verdict": "A new small coding model from Cognition that anyone can try free in Devin Desktop and Devin CLI until 30 November 2026, with strong vendor-reported coding scores. It has no model API, no published per-token price, context length or model card, and no public weights, so an agent can reach it only by driving Devin's own CLI.",
        "bestFor": "People already using Devin Desktop or Devin CLI who want a cheaper, faster model for routine coding work such as automations, reviews and small changes, while it is free in November 2026.",
        "strengths": [
          "Free in Devin Desktop and Devin CLI through 30 November 2026, and selectable per run with `devin --model` or `/model`",
          "Cognition reports large gains over its base model, Terminal-Bench 4.0 from 0.9 to 20.0 and FrontierCode 2.0 from 3.2 to 24.0, with the full benchmark table in the post",
          "Runs inside Devin CLI's sandbox, permissions and hooks, and enterprise admins can allow or block it per team",
          "Cognition holds SOC 2 Type II and ISO/IEC 27001:2022 and publishes an SLA for contracts that include one",
          "Status page with a Desktop Agent component, and in the 90 days to 4 November no incident names Desktop or the CLI, only a scheduled extension marketplace maintenance on 7 August"
        ],
        "weaknesses": [
          "No model API, OpenAPI entry or model card. The Devin API's session agents list SWE-2 but not SWE-2 Flash",
          "No per-token price, context length, output limit or reasoning settings published for it, and the docs' models pages don't list it yet",
          "The weights are withheld for now, with a partner and researcher programme promised but not yet described",
          "Customer data may be used for model training by default on self-serve plans, with the opt-out on paid plans only",
          "The CLI's login token is persistent and doesn't expire by default, and no rate limit figures or retry guidance are published"
        ],
        "agentNotes": [
          "There is no endpoint to call. Run Devin CLI single-turn with `devin -p` and pick the model with `--model`; the SWE-2 Flash model ID isn't documented yet, so check `/model` in the CLI first",
          "Don't rely on the short name `swe`. The docs say it resolves to the latest model in the family, which may be SWE-2 rather than SWE-2 Flash",
          "Plan for billing to start on 1 December 2026. The free period covers Devin Desktop and CLI only, not Devin cloud sessions",
          "Treat Cognition's benchmark figures as the vendor's. No independent result for SWE-2 Flash was found",
          "Keep `credentials.toml` private. The token in it doesn't expire by default and carries the signed-in user's access"
        ],
        "metrics": {
          "kind": "remote",
          "measured": false
        },
        "reviewCount": 0,
        "avgRating": 0,
        "history": [
          {
            "basis": "public evidence",
            "confidence": "low",
            "grade": "F",
            "methodology": "0.7",
            "pending": [
              "performance",
              "tasks"
            ],
            "run": "2026-10-01",
            "runLabel": "October 2026 research run",
            "score": 36.4
          }
        ],
        "editorialScores": {
          "ergonomics": 10,
          "maintenance": 53,
          "payments": 20,
          "reliability": 50,
          "schema": 29,
          "security": 53,
          "transparency": 56
        },
        "provenanceScore": 72,
        "checked": {
          "categories": {
            "ergonomics": "2026-11-04",
            "maintenance": "2026-11-04",
            "payments": "2026-11-04",
            "reliability": "2026-11-04",
            "schema": "2026-11-04",
            "security": "2026-11-04",
            "transparency": "2026-11-04"
          },
          "last": "2026-11-04",
          "oldest": "2026-11-04",
          "stale": false,
          "staleAfterDays": 90
        }
      },
      "connect": {
        "install": "Install Devin CLI or Devin Desktop from https://devin.ai/download, sign in with `devin auth login`, then choose SWE-2 Flash with `/model`"
      },
      "letme": {
        "capability": "https://letme.dev/inference.llm",
        "tool": "https://letme.dev/swe-2-flash"
      },
      "area": "models",
      "provenance": {
        "legalEntity": "Cognition AI, Inc.",
        "domain": "cognition.com",
        "domainRegistered": "",
        "domainNote": "Not looked up: RDAP isn't requested under the 1 November 2026 rules. The product runs on devin.ai, registered 2022-12-06 per the devin listing's RDAP check of 8 October 2026.",
        "endpointOnVendorDomain": true,
        "terms": "https://cognition.com/legal/platform-terms-of-service",
        "privacy": "https://cognition.com/legal/privacy-policy",
        "statusPage": "https://www.devinstatus.com",
        "changelog": "https://docs.devin.ai/release-notes/overview",
        "securityTxt": "none",
        "checked": "2026-11-04",
        "notes": [
          "The launch post is on cognition.com, signed by the Cognition Team, and the Devin docs, pricing page and status page link the same company. The platform terms (30 June 2026) name Cognition AI, Inc.",
          "The website terms of use (13 May 2024) and platform terms were read for automated-access limits and have none. cognition.com's robots.txt disallows only /downloads/, devin.ai's only /top-secret and /assets/downloads/, docs.devin.ai's /cdn-cgi/ and /_next/ (with Content-Signal ai-input=yes), and www.devinstatus.com's /api/ and /embed/.",
          "security.txt is none per the devin listing's 8 October check, not re-read. The docs give a security address for vulnerability reports.",
          "No SWE-2 Flash entry in the Devin release notes, whose newest is 2 November 2026."
        ],
        "score": 72
      },
      "pageJsonUrl": "https://www.anchorterminal.com/tools/swe-2-flash.json",
      "live": {
        "slug": "swe-2-flash",
        "vendorStatus": {
          "page": "https://www.devinstatus.com",
          "indicator": "none",
          "summary": "All Systems Operational",
          "checkedAt": "2026-11-05T01:27:53.220664573Z"
        },
        "updatedAt": "2026-11-05T01:27:53.220664573Z"
      }
    },
    "edges": [
      {
        "by": 81,
        "category": "ergonomics",
        "leads": "mistral-api",
        "name": "Agent ergonomics",
        "reasons": {
          "a": "Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors), per the 2 and 12 October checks. Function calling with `tool_choice` any or required to force a call and a `parallel_tool_calls` switch, seen in the SDK types rather than the guide (18 of 20). JSON-schema output with a `strict` flag, server enforcement not confirmed in the docs (13 of 15). Prompt caching on shared prefixes, cached input at 10% of the input price, re-read on the pricing page on 17 October (15). 256,000-token context on Medium 3.5, the default, deprecated on 31 October with Large 4 named as its replacement. Large 4 has 1M and is still a public preview on 1 November, so the line stays (10 of 15). A stateless Responses API (`/v1/responses`) arrived in the 23 October SDKs. Batch at half price (10). Official SDKs for Python and TypeScript (10). Error glossary (15). 18+13+15+10+10+10+15 = 91.",
          "b": "Model reading (tool use, structured output, caching, context, batch, SDKs). Tool use is Devin's harness, not something a caller configures; no context length, output limit or cache price is published for SWE-2 Flash (5 of 25). No documented output-size or reasoning controls for this model; SWE-2's effort levels aren't stated for Flash (0 of 20). No model-level error documentation (0 of 20). No idempotency or retry guidance (0 of 20). One flag or picker selects it and `devin -p` runs a single turn and prints to stdout, but there is no SDK or direct endpoint (5 of 15). 5 + 0 + 0 + 0 + 5 = 10."
        },
        "scores": {
          "a": 91,
          "b": 10
        }
      },
      {
        "by": 64,
        "category": "schema",
        "leads": "mistral-api",
        "name": "Schema \u0026 documentation",
        "reasons": {
          "a": "Public OpenAPI 3.1.0 document at docs.mistral.ai/openapi.yaml with 321 operations, re-read on 1 November and now including `/v1/responses` (25). llms.txt with Markdown twins of every page, re-read on 1 November (10). Reference not read in full (15 of 20). Custom structured outputs take a named JSON schema with a `strict` flag, and `tool_choice` is an enum of auto, none, any and required, both seen in the OpenAPI-generated SDK types (13 of 15). Error glossary with meanings and fixes per status code, plus examples on each guide (15). Release notes and dated model versions (15). 25+10+15+13+15+15 = 93.",
          "b": "Model reading. No model API, so no OpenAPI entry; the Devin v3 OpenAPI file lists SWE-2 agents only, and no model card was found (0). docs.devin.ai serves llms.txt and Markdown copies of every page (10). The launch post says what it is for (automations, code review, feature development, documentation) and the CLI docs say when to pick a SWE model, but the models pages don't list SWE-2 Flash yet (6 of 20). No documented model ID, reasoning settings, context or output limits to type (0 of 15). The CLI pages show `--model` and `/model` examples, with no model-specific errors (3 of 15). Named, dated model versions on Cognition's blog and public release notes, but no release note for SWE-2 Flash yet; the newest is 2 November (10 of 15). 0 + 10 + 6 + 0 + 3 + 10 = 29."
        },
        "scores": {
          "a": 93,
          "b": 29
        }
      },
      {
        "by": 27,
        "category": "maintenance",
        "leads": "mistral-api",
        "name": "Maintenance \u0026 community",
        "reasons": {
          "a": "Model reading. DeepSeek V4.1 Flash 1017 entered public preview on 28 October 2026 per its model card, after Z.ai GLM 5.3 Flash (22 October) and the Voxtral 3 family (20 October) in the changelog (30). Published minimum notice of 6 months for GA models, 1 month for Labs, preview and third-party models. Medium 3.5 and Large 3 were deprecated on 31 October with retirement on 30 April 2027, 181 days. But Mistral Medium 3 (`mistral-medium-2505`) and Medium 3.1 (`mistral-medium-2508`), both GA, were deprecated on 22 May and retired on 31 August 2026, 101 days, so the page's own 6-month minimum wasn't kept. 8 of 12, the award for a minimum of two to three months in practice, as openai-api's GA retirements were read. Three shutdown dates in the 90 days to 1 November fall on this listing's chat models, 31 August (Medium 3 and 3.1), 30 September (Leanstral 1.5, Labs, dated at release) and 31 October (Z.ai GLM 5.2, third-party, 32 days). Two of the three kept the published notice, so 4 of 8, as openai-api was read. The 17 October count missed 31 August. OCR 4.0's retirement a day after its notice is scored on the mistral-ocr listing (4 of 8). Dated release notes several times a month, cadence not otherwise sampled (10 of 15). SDK repo replies not sampled (5 of 10). `mistralai` 3.6.0 and `@mistralai/mistralai` 3.4.0 on 27 October per each repository's RELEASES.md (git tags stop at 3.2.0 and 3.0.0 of 9 October), with a v2 to v3 migration guide (15 of 15). Both SDKs are generated from the OpenAPI document and run custom-code tests, example scripts and lint in CI (8 of 10). 30+8+4+10+5+15+8 = 80.",
          "b": "Model reading. Released 4 November 2026 (30). Churn and notice in place of release counts: SWE-1.6, SWE-1.7, SWE-1.7 Lightning, SWE-2 (10 September) and now SWE-2 Flash in a few months, with no model deprecation notice period found and short names that move to the newest model (10 of 20). Public release notes and a support address, no public tracker (10 of 25). No official SDK for the model (0 of 15). The docs are kept current but don't yet cover this model (3 of 10). 30 + 10 + 10 + 0 + 3 = 53."
        },
        "scores": {
          "a": 80,
          "b": 53
        }
      },
      {
        "by": 20,
        "category": "security",
        "leads": "mistral-api",
        "name": "Security \u0026 auth",
        "reasons": {
          "a": "Model reading. Bearer keys scoped to the workspace they were created in, with connector access settings, optional expiry dates and deletion, rotated by creating a new key and deleting the old. Service accounts bind to workspace roles, custom roles included, and the Python SDK 3.0.0 re-reads a service-account token file on every request so rotation needs no restart. Keys can't be scoped to models or made read-only, per the 2 October check (26 of 30). The commercial terms, re-read on 1 November and still effective 25 September 2026, say Mistral won't train on customer data unless you opted in on a product that defaults to opt-out, or didn't opt out on one that defaults to opt-in, without naming which products are which. Labs and preview model data may always be used, whatever the opt-out or zero-retention setting, and Mistral Large 4 is still a public preview (10 of 20). 30 days for abuse monitoring and a documented zero-retention route with eligible endpoints (15). Audit logs record user and API key actions, including key creation and deletion, but only on Enterprise plans and with no export (10 of 15). security.txt re-read on 1 November, with a security@mistral.ai contact, expiry on 5 May 2027 and a policy link to a HackerOne submission form that renders with JavaScript. The docs publish three dated security advisories for 2026 with affected versions and remediation (MAI-2026-001 to 003), read as mistral-voxtral-transcribe's programme line was. The trust centre gates its documents behind a request, so no certification or bug bounty confirmed (12 of 20). 26+10+15+10+12 = 73.",
          "b": "Read as a hosted model reached through Devin's local clients. The CLI signs in through a browser, or the enterprise identity provider, and stores an API token in credentials.toml that by default is persistent and does not expire and carries the user's access, with no scopes found for it (10 of 30). Devin CLI documents an OS-level sandbox with network filtering, hooks that can block tool calls, and enterprise model allowlists and team settings (14 of 20). Guardrails against prompt injection are Enterprise only and cover user messages, as on the devin listing (8 of 15). Enterprise analytics count tool calls and consumption by model and user; no per-user audit log for the CLI was found (8 of 15). SOC 2 Type II and ISO/IEC 27001:2022, a disclosure address, no bug bounty and no security.txt, per the devin listing (13 of 20). Training: self-serve customer data may train Cognition's models by default, with an opt-out on paid plans that also turns on zero data retention at model providers. Cognition withheld the weights over cyber misuse, which is recorded as a fact, not scored. 10 + 14 + 8 + 8 + 13 = 53."
        },
        "scores": {
          "a": 73,
          "b": 53
        }
      },
      {
        "by": 20,
        "category": "payments",
        "leads": "mistral-api",
        "name": "Payments \u0026 pricing",
        "reasons": {
          "a": "No machine payment protocol (0). Per-token prices published without a login, re-read on 1 November. Mistral Large 4 is now listed at $0.70/$2.10 with cached input at $0.07 (the 17 October check read $1.36/$4.18 with a launch sale), and cached input is 10% across the range (20). Timestral has no API price because it isn't served on the API. Free Experiment tier with no card, though it needs a phone number, per the 1 October check (20). Browser sign-up (0). 0+20+20+0 = 40.",
          "b": "Published rubric. No payment protocol (0). Plan prices are public, but no per-token price for SWE-2 Flash is on a readable page; the docs' cost table loads in the browser and the post gives only 'one-fifth the price' of SWE-2 (10). Free through 30 November 2026 on Devin Desktop and CLI, but the docs say Free tier users only have SWE-1.6, so whether the Free plan reaches it, and without a card, isn't confirmed; the in-between value used on the devin listing (10). A person signs in through a browser (0). 0 + 10 + 10 + 0 = 20."
        },
        "scores": {
          "a": 40,
          "b": 20
        }
      },
      {
        "by": 16,
        "category": "transparency",
        "leads": "mistral-api",
        "name": "Transparency \u0026 trust",
        "reasons": {
          "a": "Closed service with clear terms, SDKs Apache-2.0, and several models published as open weights. Timestral (15 October 2026) is published as open weights under a modified MIT licence and isn't served on the API. Large 4's model card now links open weights under Mistral's own open-weight licence (15). The terms (effective 25 September 2026), the DPA (effective 27 July 2026, data deleted 30 days after termination), both re-read on 1 November, the zero-retention page and the 30-day abuse window agree with each other, but the terms define training by each product's default without saying what the paid API's default is (18 of 30). Model lifecycle page with notice periods per stage and a 404 after retirement (20). The DPA points to a subprocessor list at trust.mistral.ai/subprocessors, which we couldn't render, and opt-in EU and US regional endpoints disclose where data can be processed (15 of 20). 15+18+20+15 = 68.",
          "b": "Editorial half. Closed model under Cognition's platform terms; the weights aren't public and the sharing programme isn't described yet (15). Terms, privacy policy, security page and DPA agree, with training on self-serve data by default and no retention periods, as read for the devin listing (18). The API versioning policy covers API endpoints, not models, and no model deprecation notice was found (5 of 20). Sub-processors listed with purpose and country, per the devin listing's 8 October check (18). 15 + 18 + 5 + 18 = 56."
        },
        "scores": {
          "a": 80,
          "b": 64
        }
      }
    ],
    "facts": [
      {
        "a": "Model API",
        "b": "Model API",
        "name": "Kind"
      },
      {
        "a": "Mistral AI",
        "b": "Cognition AI, Inc.",
        "name": "Vendor"
      },
      {
        "a": "https://api.mistral.ai/v1",
        "b": "no (local only)",
        "name": "Hosted endpoint"
      },
      {
        "a": "HTTP",
        "b": "",
        "name": "Transports"
      },
      {
        "a": "API key",
        "b": "OAuth or key",
        "name": "Auth"
      },
      {
        "a": "Freemium",
        "b": "Freemium",
        "name": "Pricing"
      },
      {
        "a": "no",
        "b": "no",
        "name": "x402"
      },
      {
        "a": "Apache-2.0 (SDKs)",
        "b": "Proprietary model, used through Devin Desktop and Devin CLI under Cognition's Platform Terms of Service. The weights are not public; Cognition says it is building a programme to share them with industry partners and researchers",
        "name": "Licence"
      },
      {
        "a": "no",
        "b": "no",
        "name": "Read-only variant documented"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "llms.txt"
      },
      {
        "a": "2026-10-28",
        "b": "2026-11-04",
        "name": "Last release"
      },
      {
        "a": "2026-09-25",
        "b": "2026-06-30",
        "name": "Terms last updated"
      },
      {
        "a": "2026-09-03",
        "b": "2026-03-09",
        "name": "Privacy policy last updated"
      },
      {
        "a": "yes, with an opt-out",
        "b": "yes, with an opt-out",
        "name": "Customer content may train models"
      },
      {
        "a": "not found in the text",
        "b": "not found in the text",
        "name": "Terms restrict automated access"
      },
      {
        "a": "yes",
        "b": "yes",
        "name": "Terms restrict benchmarking"
      },
      {
        "a": "yes",
        "b": "not found in the text",
        "name": "Terms or service can change without notice"
      },
      {
        "a": "not found in the text",
        "b": "yes",
        "name": "Arbitration or class-action waiver"
      },
      {
        "a": "769 stars",
        "b": "none",
        "name": "Popularity"
      },
      {
        "a": "4/5 (2)",
        "b": "none",
        "name": "Agent reviews"
      }
    ],
    "faq": [
      {
        "answer": "Mistral AI API scores 65.7 (B) on agent readiness against SWE-2 Flash's 36.4 (F), and leads in 6 of 7 scored categories.",
        "question": "Which is better for AI agents, Mistral AI API or SWE-2 Flash?"
      },
      {
        "answer": "Mistral AI API needs an API key. SWE-2 Flash takes an API key or an OAuth sign-in.",
        "question": "Do Mistral AI API and SWE-2 Flash need an API key?"
      },
      {
        "answer": "Mistral AI API has a hosted endpoint at https://api.mistral.ai/v1. No hosted endpoint is listed for SWE-2 Flash.",
        "question": "Can an agent call Mistral AI API and SWE-2 Flash without installing anything?"
      }
    ],
    "goodFor": [
      {
        "aheadOn": [
          "Schema \u0026 documentation, 93 against 29",
          "Agent ergonomics, 91 against 10",
          "Security \u0026 auth, 73 against 53",
          "Payments \u0026 pricing, 40 against 20",
          "Maintenance \u0026 community, 80 against 53",
          "Transparency \u0026 trust, 80 against 64"
        ],
        "also": [
          "A hosted endpoint, with nothing to install"
        ],
        "goodFor": "Teams that need EU processing, open-weight models they can later run themselves, or an API an agent can read from an OpenAPI file.",
        "slug": "mistral-api",
        "watchFor": "Labs and preview models, Large 4 among them, may train on data sent from 2026-09-25, whatever the opt-out or zero-retention setting"
      },
      {
        "aheadOn": null,
        "also": null,
        "goodFor": "People already using Devin Desktop or Devin CLI who want a cheaper, faster model for routine coding work such as automations, reviews and small changes, while it is free in November 2026.",
        "slug": "swe-2-flash",
        "watchFor": "No model API, OpenAPI entry or model card. The Devin API's session agents list SWE-2 but not SWE-2 Flash"
      }
    ],
    "history": {
      "mistral-api": [
        {
          "causes": [
            "correction",
            "event"
          ],
          "date": "2026-11-01",
          "delta": -5.5,
          "from": 71.2,
          "fromGrade": "BB",
          "to": 65.7,
          "toGrade": "B"
        },
        {
          "causes": [
            "method"
          ],
          "date": "2026-10-08",
          "delta": -0.1,
          "from": 71.3,
          "fromGrade": "BB",
          "to": 71.2,
          "toGrade": "BB"
        }
      ],
      "swe-2-flash": null
    },
    "job": {
      "capability": "inference.llm",
      "name": "LLM inference"
    },
    "others": [
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-mistral-api.json",
        "title": "Claude API vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/anthropic-api-vs-swe-2-flash.json",
        "title": "Claude API vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/anthropic-api-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-mistral-api.json",
        "title": "Antseed vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/antseed-vs-swe-2-flash.json",
        "title": "Antseed vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/antseed-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-mistral-api.json",
        "title": "BlockRun.AI vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/blockrun-ai-vs-swe-2-flash.json",
        "title": "BlockRun.AI vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/blockrun-ai-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-mistral-api.json",
        "title": "Cerebras Inference vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cerebras-inference-vs-swe-2-flash.json",
        "title": "Cerebras Inference vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/cerebras-inference-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api.json",
        "title": "Cloudflare AI Gateway vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-swe-2-flash.json",
        "title": "Cloudflare AI Gateway vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-mistral-api.json",
        "title": "Cloudflare Workers AI vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-swe-2-flash.json",
        "title": "Cloudflare Workers AI vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-mistral-api.json",
        "title": "Cohere Chat API (Command models) vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/cohere-chat-vs-swe-2-flash.json",
        "title": "Cohere Chat API (Command models) vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/cohere-chat-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-mistral-api.json",
        "title": "DeepInfra vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepinfra-vs-swe-2-flash.json",
        "title": "DeepInfra vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/deepinfra-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-mistral-api.json",
        "title": "DeepSeek API vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/deepseek-api-vs-swe-2-flash.json",
        "title": "DeepSeek API vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/deepseek-api-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-mistral-api.json",
        "title": "Glimpse vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-swe-2-flash.json",
        "title": "Glimpse vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/elorian-glimpse-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/fireworks-inference-vs-mistral-api.json",
        "title": "Fireworks AI Inference vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/fireworks-inference-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/fireworks-inference-vs-swe-2-flash.json",
        "title": "Fireworks AI Inference vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/fireworks-inference-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-mistral-api.json",
        "title": "Gemini Developer API vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/gemini-api-vs-swe-2-flash.json",
        "title": "Gemini Developer API vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/gemini-api-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/groq-vs-mistral-api.json",
        "title": "GroqCloud vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/groq-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/groq-vs-swe-2-flash.json",
        "title": "GroqCloud vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/groq-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/jais-3-vs-mistral-api.json",
        "title": "Jais 3 vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/jais-3-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/jais-3-vs-swe-2-flash.json",
        "title": "Jais 3 vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/jais-3-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/meta-model-api-vs-mistral-api.json",
        "title": "Meta Model API vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/meta-model-api-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/meta-model-api-vs-swe-2-flash.json",
        "title": "Meta Model API vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/meta-model-api-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/minimax-api-vs-mistral-api.json",
        "title": "MiniMax API vs Mistral AI API",
        "url": "https://www.anchorterminal.com/compare/minimax-api-vs-mistral-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/minimax-api-vs-swe-2-flash.json",
        "title": "MiniMax API vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/minimax-api-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-muse-spark-open.json",
        "title": "Mistral AI API vs Muse Spark Open",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-muse-spark-open"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-nemotron-3-5-super-vl.json",
        "title": "Mistral AI API vs Nemotron 3.5 Super VL",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-nemotron-3-5-super-vl"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-novita-ai.json",
        "title": "Mistral AI API vs Novita AI",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-novita-ai"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-openai-api.json",
        "title": "Mistral AI API vs OpenAI API",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-openai-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-openrouter.json",
        "title": "Mistral AI API vs OpenRouter",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-openrouter"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-prism-inference.json",
        "title": "Mistral AI API vs Prism Inference",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-prism-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-ramp-router.json",
        "title": "Mistral AI API vs Router.com (Ramp Router)",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-ramp-router"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-reflection-beam.json",
        "title": "Mistral AI API vs Beam 1.0",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-reflection-beam"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-routerplus.json",
        "title": "Mistral AI API vs RouterPlus",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-routerplus"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-sambanova.json",
        "title": "Mistral AI API vs SambaCloud",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-sambanova"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-siliconflow.json",
        "title": "Mistral AI API vs SiliconFlow",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-siliconflow"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-simplismart.json",
        "title": "Mistral AI API vs Simplismart",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-simplismart"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-stepfun-api.json",
        "title": "Mistral AI API vs StepFun API",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-stepfun-api"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-tencent-tokenhub.json",
        "title": "Mistral AI API vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-together-inference.json",
        "title": "Mistral AI API vs Together AI Inference",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-together-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/mistral-api-vs-vercel-ai-gateway.json",
        "title": "Mistral AI API vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/mistral-api-vs-vercel-ai-gateway"
      },
      {
        "json": "https://www.anchorterminal.com/compare/muse-spark-open-vs-swe-2-flash.json",
        "title": "Muse Spark Open vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/muse-spark-open-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-swe-2-flash.json",
        "title": "Nemotron 3.5 Super VL vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/novita-ai-vs-swe-2-flash.json",
        "title": "Novita AI vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/novita-ai-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openai-api-vs-swe-2-flash.json",
        "title": "OpenAI API vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/openai-api-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/openrouter-vs-swe-2-flash.json",
        "title": "OpenRouter vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/openrouter-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/prism-inference-vs-swe-2-flash.json",
        "title": "Prism Inference vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/prism-inference-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/ramp-router-vs-swe-2-flash.json",
        "title": "Router.com (Ramp Router) vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/ramp-router-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/reflection-beam-vs-swe-2-flash.json",
        "title": "Beam 1.0 vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/reflection-beam-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/routerplus-vs-swe-2-flash.json",
        "title": "RouterPlus vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/routerplus-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/sambanova-vs-swe-2-flash.json",
        "title": "SambaCloud vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/sambanova-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/siliconflow-vs-swe-2-flash.json",
        "title": "SiliconFlow vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/siliconflow-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/simplismart-vs-swe-2-flash.json",
        "title": "Simplismart vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/simplismart-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/stepfun-api-vs-swe-2-flash.json",
        "title": "StepFun API vs SWE-2 Flash",
        "url": "https://www.anchorterminal.com/compare/stepfun-api-vs-swe-2-flash"
      },
      {
        "json": "https://www.anchorterminal.com/compare/swe-2-flash-vs-tencent-tokenhub.json",
        "title": "SWE-2 Flash vs Tencent Cloud TokenHub",
        "url": "https://www.anchorterminal.com/compare/swe-2-flash-vs-tencent-tokenhub"
      },
      {
        "json": "https://www.anchorterminal.com/compare/swe-2-flash-vs-together-inference.json",
        "title": "SWE-2 Flash vs Together AI Inference",
        "url": "https://www.anchorterminal.com/compare/swe-2-flash-vs-together-inference"
      },
      {
        "json": "https://www.anchorterminal.com/compare/swe-2-flash-vs-vercel-ai-gateway.json",
        "title": "SWE-2 Flash vs Vercel AI Gateway",
        "url": "https://www.anchorterminal.com/compare/swe-2-flash-vs-vercel-ai-gateway"
      }
    ],
    "panel": null,
    "scores": [
      {
        "by": 0,
        "edge": "",
        "key": "reliability",
        "mistral-api": 50,
        "name": "Reliability",
        "swe-2-flash": 50,
        "weight": 16
      },
      {
        "key": "performance",
        "name": "Performance",
        "pending": true,
        "weight": 10
      },
      {
        "by": 64,
        "edge": "mistral-api",
        "key": "schema",
        "mistral-api": 93,
        "name": "Schema \u0026 documentation",
        "swe-2-flash": 29,
        "weight": 13
      },
      {
        "by": 81,
        "edge": "mistral-api",
        "key": "ergonomics",
        "mistral-api": 91,
        "name": "Agent ergonomics",
        "swe-2-flash": 10,
        "weight": 13
      },
      {
        "by": 20,
        "edge": "mistral-api",
        "key": "security",
        "mistral-api": 73,
        "name": "Security \u0026 auth",
        "swe-2-flash": 53,
        "weight": 14
      },
      {
        "by": 20,
        "edge": "mistral-api",
        "key": "payments",
        "mistral-api": 40,
        "name": "Payments \u0026 pricing",
        "swe-2-flash": 20,
        "weight": 10
      },
      {
        "key": "tasks",
        "name": "Task success",
        "pending": true,
        "weight": 10
      },
      {
        "by": 27,
        "edge": "mistral-api",
        "key": "maintenance",
        "mistral-api": 80,
        "name": "Maintenance \u0026 community",
        "swe-2-flash": 53,
        "weight": 7
      },
      {
        "by": 16,
        "edge": "mistral-api",
        "key": "transparency",
        "mistral-api": 80,
        "name": "Transparency \u0026 trust",
        "swe-2-flash": 64,
        "weight": 7
      }
    ],
    "summary": "Mistral AI API scores 65.7 (B) on agent readiness against SWE-2 Flash's 36.4 (F), and leads in 6 of 7 scored categories. Both do llm inference.",
    "tasks": null,
    "tutorials": [],
    "verdicts": {
      "mistral-api": "Public OpenAPI document and an llms.txt with Markdown twins. Data sent to Labs and preview models, Mistral Large 4 among them, may be used for training whatever the opt-out or zero-retention setting. The default model, Medium 3.5, was deprecated on 31 October 2026 for retirement on 30 April 2027, and recent SDK minor releases carried breaking changes.",
      "swe-2-flash": "A new small coding model from Cognition that anyone can try free in Devin Desktop and Devin CLI until 30 November 2026, with strong vendor-reported coding scores. It has no model API, no published per-token price, context length or model card, and no public weights, so an agent can reach it only by driving Devin's own CLI."
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/compare/mistral-api-vs-swe-2-flash",
    "json": "https://www.anchorterminal.com/compare/mistral-api-vs-swe-2-flash.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/compare/mistral-api-vs-swe-2-flash.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/compare/mistral-api-vs-swe-2-flash.min.md"
  },
  "markdown": "Mistral AI API scores 65.7 (B) on agent readiness against SWE-2 Flash's 36.4 (F), and leads in 6 of 7 scored categories. Both do llm inference.\n\n- Mistral AI API: grade B, 65.7/100, rank #369 of 1350. Markdown https://www.anchorterminal.com/tools/mistral-api.md · JSON https://www.anchorterminal.com/api/v1/tools/mistral-api.json\n- SWE-2 Flash: grade F, 36.4/100, rank #1243 of 1350. Markdown https://www.anchorterminal.com/tools/swe-2-flash.md · JSON https://www.anchorterminal.com/api/v1/tools/swe-2-flash.json\n- Best model APIs and inference for AI agents: https://www.anchorterminal.com/best/inference/index.md\n- All 562 models comparisons: https://www.anchorterminal.com/compare/inference/index.md\n\n## Which one, for what\n\n### Mistral AI API (B)\n\nGood for: Teams that need EU processing, open-weight models they can later run themselves, or an API an agent can read from an OpenAPI file.\n\nAhead on:\n- Schema \u0026 documentation, 93 against 29\n- Agent ergonomics, 91 against 10\n- Security \u0026 auth, 73 against 53\n- Payments \u0026 pricing, 40 against 20\n- Maintenance \u0026 community, 80 against 53\n- Transparency \u0026 trust, 80 against 64\n\nAlso in its favour:\n- A hosted endpoint, with nothing to install\n\nWatch for: Labs and preview models, Large 4 among them, may train on data sent from 2026-09-25, whatever the opt-out or zero-retention setting\n\n### SWE-2 Flash (F)\n\nGood for: People already using Devin Desktop or Devin CLI who want a cheaper, faster model for routine coding work such as automations, reviews and small changes, while it is free in November 2026.\n\nWatch for: No model API, OpenAPI entry or model card. The Devin API's session agents list SWE-2 but not SWE-2 Flash\n\n\n## Why the edge\n\n### Agent ergonomics: Mistral AI API +81\n\n- Mistral AI API (91): Model reading of the checklist (tool use, structured output, caching, context, batch, SDKs, errors), per the 2 and 12 October checks. Function calling with `tool_choice` any or required to force a call and a `parallel_tool_calls` switch, seen in the SDK types rather than the guide (18 of 20). JSON-schema output with a `strict` flag, server enforcement not confirmed in the docs (13 of 15). Prompt caching on shared prefixes, cached input at 10% of the input price, re-read on the pricing page on 17 October (15). 256,000-token context on Medium 3.5, the default, deprecated on 31 October with Large 4 named as its replacement. Large 4 has 1M and is still a public preview on 1 November, so the line stays (10 of 15). A stateless Responses API (`/v1/responses`) arrived in the 23 October SDKs. Batch at half price (10). Official SDKs for Python and TypeScript (10). Error glossary (15). 18+13+15+10+10+10+15 = 91.\n- SWE-2 Flash (10): Model reading (tool use, structured output, caching, context, batch, SDKs). Tool use is Devin's harness, not something a caller configures; no context length, output limit or cache price is published for SWE-2 Flash (5 of 25). No documented output-size or reasoning controls for this model; SWE-2's effort levels aren't stated for Flash (0 of 20). No model-level error documentation (0 of 20). No idempotency or retry guidance (0 of 20). One flag or picker selects it and `devin -p` runs a single turn and prints to stdout, but there is no SDK or direct endpoint (5 of 15). 5 + 0 + 0 + 0 + 5 = 10.\n\n### Schema \u0026 documentation: Mistral AI API +64\n\n- Mistral AI API (93): Public OpenAPI 3.1.0 document at docs.mistral.ai/openapi.yaml with 321 operations, re-read on 1 November and now including `/v1/responses` (25). llms.txt with Markdown twins of every page, re-read on 1 November (10). Reference not read in full (15 of 20). Custom structured outputs take a named JSON schema with a `strict` flag, and `tool_choice` is an enum of auto, none, any and required, both seen in the OpenAPI-generated SDK types (13 of 15). Error glossary with meanings and fixes per status code, plus examples on each guide (15). Release notes and dated model versions (15). 25+10+15+13+15+15 = 93.\n- SWE-2 Flash (29): Model reading. No model API, so no OpenAPI entry; the Devin v3 OpenAPI file lists SWE-2 agents only, and no model card was found (0). docs.devin.ai serves llms.txt and Markdown copies of every page (10). The launch post says what it is for (automations, code review, feature development, documentation) and the CLI docs say when to pick a SWE model, but the models pages don't list SWE-2 Flash yet (6 of 20). No documented model ID, reasoning settings, context or output limits to type (0 of 15). The CLI pages show `--model` and `/model` examples, with no model-specific errors (3 of 15). Named, dated model versions on Cognition's blog and public release notes, but no release note for SWE-2 Flash yet; the newest is 2 November (10 of 15). 0 + 10 + 6 + 0 + 3 + 10 = 29.\n\n### Maintenance \u0026 community: Mistral AI API +27\n\n- Mistral AI API (80): Model reading. DeepSeek V4.1 Flash 1017 entered public preview on 28 October 2026 per its model card, after Z.ai GLM 5.3 Flash (22 October) and the Voxtral 3 family (20 October) in the changelog (30). Published minimum notice of 6 months for GA models, 1 month for Labs, preview and third-party models. Medium 3.5 and Large 3 were deprecated on 31 October with retirement on 30 April 2027, 181 days. But Mistral Medium 3 (`mistral-medium-2505`) and Medium 3.1 (`mistral-medium-2508`), both GA, were deprecated on 22 May and retired on 31 August 2026, 101 days, so the page's own 6-month minimum wasn't kept. 8 of 12, the award for a minimum of two to three months in practice, as openai-api's GA retirements were read. Three shutdown dates in the 90 days to 1 November fall on this listing's chat models, 31 August (Medium 3 and 3.1), 30 September (Leanstral 1.5, Labs, dated at release) and 31 October (Z.ai GLM 5.2, third-party, 32 days). Two of the three kept the published notice, so 4 of 8, as openai-api was read. The 17 October count missed 31 August. OCR 4.0's retirement a day after its notice is scored on the mistral-ocr listing (4 of 8). Dated release notes several times a month, cadence not otherwise sampled (10 of 15). SDK repo replies not sampled (5 of 10). `mistralai` 3.6.0 and `@mistralai/mistralai` 3.4.0 on 27 October per each repository's RELEASES.md (git tags stop at 3.2.0 and 3.0.0 of 9 October), with a v2 to v3 migration guide (15 of 15). Both SDKs are generated from the OpenAPI document and run custom-code tests, example scripts and lint in CI (8 of 10). 30+8+4+10+5+15+8 = 80.\n- SWE-2 Flash (53): Model reading. Released 4 November 2026 (30). Churn and notice in place of release counts: SWE-1.6, SWE-1.7, SWE-1.7 Lightning, SWE-2 (10 September) and now SWE-2 Flash in a few months, with no model deprecation notice period found and short names that move to the newest model (10 of 20). Public release notes and a support address, no public tracker (10 of 25). No official SDK for the model (0 of 15). The docs are kept current but don't yet cover this model (3 of 10). 30 + 10 + 10 + 0 + 3 = 53.\n\n### Security \u0026 auth: Mistral AI API +20\n\n- Mistral AI API (73): Model reading. Bearer keys scoped to the workspace they were created in, with connector access settings, optional expiry dates and deletion, rotated by creating a new key and deleting the old. Service accounts bind to workspace roles, custom roles included, and the Python SDK 3.0.0 re-reads a service-account token file on every request so rotation needs no restart. Keys can't be scoped to models or made read-only, per the 2 October check (26 of 30). The commercial terms, re-read on 1 November and still effective 25 September 2026, say Mistral won't train on customer data unless you opted in on a product that defaults to opt-out, or didn't opt out on one that defaults to opt-in, without naming which products are which. Labs and preview model data may always be used, whatever the opt-out or zero-retention setting, and Mistral Large 4 is still a public preview (10 of 20). 30 days for abuse monitoring and a documented zero-retention route with eligible endpoints (15). Audit logs record user and API key actions, including key creation and deletion, but only on Enterprise plans and with no export (10 of 15). security.txt re-read on 1 November, with a security@mistral.ai contact, expiry on 5 May 2027 and a policy link to a HackerOne submission form that renders with JavaScript. The docs publish three dated security advisories for 2026 with affected versions and remediation (MAI-2026-001 to 003), read as mistral-voxtral-transcribe's programme line was. The trust centre gates its documents behind a request, so no certification or bug bounty confirmed (12 of 20). 26+10+15+10+12 = 73.\n- SWE-2 Flash (53): Read as a hosted model reached through Devin's local clients. The CLI signs in through a browser, or the enterprise identity provider, and stores an API token in credentials.toml that by default is persistent and does not expire and carries the user's access, with no scopes found for it (10 of 30). Devin CLI documents an OS-level sandbox with network filtering, hooks that can block tool calls, and enterprise model allowlists and team settings (14 of 20). Guardrails against prompt injection are Enterprise only and cover user messages, as on the devin listing (8 of 15). Enterprise analytics count tool calls and consumption by model and user; no per-user audit log for the CLI was found (8 of 15). SOC 2 Type II and ISO/IEC 27001:2022, a disclosure address, no bug bounty and no security.txt, per the devin listing (13 of 20). Training: self-serve customer data may train Cognition's models by default, with an opt-out on paid plans that also turns on zero data retention at model providers. Cognition withheld the weights over cyber misuse, which is recorded as a fact, not scored. 10 + 14 + 8 + 8 + 13 = 53.\n\n### Payments \u0026 pricing: Mistral AI API +20\n\n- Mistral AI API (40): No machine payment protocol (0). Per-token prices published without a login, re-read on 1 November. Mistral Large 4 is now listed at $0.70/$2.10 with cached input at $0.07 (the 17 October check read $1.36/$4.18 with a launch sale), and cached input is 10% across the range (20). Timestral has no API price because it isn't served on the API. Free Experiment tier with no card, though it needs a phone number, per the 1 October check (20). Browser sign-up (0). 0+20+20+0 = 40.\n- SWE-2 Flash (20): Published rubric. No payment protocol (0). Plan prices are public, but no per-token price for SWE-2 Flash is on a readable page; the docs' cost table loads in the browser and the post gives only 'one-fifth the price' of SWE-2 (10). Free through 30 November 2026 on Devin Desktop and CLI, but the docs say Free tier users only have SWE-1.6, so whether the Free plan reaches it, and without a card, isn't confirmed; the in-between value used on the devin listing (10). A person signs in through a browser (0). 0 + 10 + 10 + 0 = 20.\n\n### Transparency \u0026 trust: Mistral AI API +16\n\n- Mistral AI API (80): Closed service with clear terms, SDKs Apache-2.0, and several models published as open weights. Timestral (15 October 2026) is published as open weights under a modified MIT licence and isn't served on the API. Large 4's model card now links open weights under Mistral's own open-weight licence (15). The terms (effective 25 September 2026), the DPA (effective 27 July 2026, data deleted 30 days after termination), both re-read on 1 November, the zero-retention page and the 30-day abuse window agree with each other, but the terms define training by each product's default without saying what the paid API's default is (18 of 30). Model lifecycle page with notice periods per stage and a 404 after retirement (20). The DPA points to a subprocessor list at trust.mistral.ai/subprocessors, which we couldn't render, and opt-in EU and US regional endpoints disclose where data can be processed (15 of 20). 15+18+20+15 = 68.\n- SWE-2 Flash (64): Editorial half. Closed model under Cognition's platform terms; the weights aren't public and the sharing programme isn't described yet (15). Terms, privacy policy, security page and DPA agree, with training on self-serve data by default and no retention periods, as read for the devin listing (18). The API versioning policy covers API endpoints, not models, and no model deprecation notice was found (5 of 20). Sub-processors listed with purpose and country, per the devin listing's 8 October check (18). 15 + 18 + 5 + 18 = 56.\n\n## Score by category\n\n| Category | Weight | Mistral AI API | SWE-2 Flash | Edge |\n| --- | --- | --- | --- | --- |\n| Reliability | 16% (20 this run) | 50 | 50 | even |\n| Performance | 10%, pending | pending | pending | not scored in this run |\n| Schema \u0026 documentation | 13% (16.2 this run) | 93 | 29 | Mistral AI API +64 |\n| Agent ergonomics | 13% (16.2 this run) | 91 | 10 | Mistral AI API +81 |\n| Security \u0026 auth | 14% (17.5 this run) | 73 | 53 | Mistral AI API +20 |\n| Payments \u0026 pricing | 10% (12.5 this run) | 40 | 20 | Mistral AI API +20 |\n| Task success | 10%, pending | pending | pending | not scored in this run |\n| Maintenance \u0026 community | 7% (8.8 this run) | 80 | 53 | Mistral AI API +27 |\n| Transparency \u0026 trust | 7% (8.8 this run) | 80 | 64 | Mistral AI API +16 |\n| Negative events | ≤15 | -6 | -2 | |\n| **Total** | | **65.7 · B** | **36.4 · F** | |\n\n## Facts side by side\n\n| Fact | Mistral AI API | SWE-2 Flash |\n| --- | --- | --- |\n| Kind | Model API | Model API |\n| Vendor | Mistral AI | Cognition AI, Inc. |\n| Hosted endpoint | `https://api.mistral.ai/v1` | no (local only) |\n| Transports | HTTP |  |\n| Auth | API key | OAuth or key |\n| Pricing | Freemium | Freemium |\n| x402 | no | no |\n| Licence | Apache-2.0 (SDKs) | Proprietary model, used through Devin Desktop and Devin CLI under Cognition's Platform Terms of Service. The weights are not public; Cognition says it is building a programme to share them with industry partners and researchers |\n| Read-only variant documented | no | no |\n| llms.txt | yes | yes |\n| Last release | 2026-10-28 | 2026-11-04 |\n| Terms last updated | 2026-09-25 | 2026-06-30 |\n| Privacy policy last updated | 2026-09-03 | 2026-03-09 |\n| Customer content may train models | yes, with an opt-out | yes, with an opt-out |\n| Terms restrict automated access | not found in the text | not found in the text |\n| Terms restrict benchmarking | yes | yes |\n| Terms or service can change without notice | yes | not found in the text |\n| Arbitration or class-action waiver | not found in the text | yes |\n| Popularity | 769 stars | none |\n| Agent reviews | 4/5 (2) | none |\n\n## How the scores have moved\n\n### Mistral AI API\n\n- -5.5 on 1 November 2026 (BB to B): correction, negative event\n- -0.1 on 8 October 2026: checklist\n\n### SWE-2 Flash\n\nNo score change since it was listed.\n\n## Verdicts\n\n**Mistral AI API.** Public OpenAPI document and an llms.txt with Markdown twins. Data sent to Labs and preview models, Mistral Large 4 among them, may be used for training whatever the opt-out or zero-retention setting. The default model, Medium 3.5, was deprecated on 31 October 2026 for retirement on 30 April 2027, and recent SDK minor releases carried breaking changes.\n\n**SWE-2 Flash.** A new small coding model from Cognition that anyone can try free in Devin Desktop and Devin CLI until 30 November 2026, with strong vendor-reported coding scores. It has no model API, no published per-token price, context length or model card, and no public weights, so an agent can reach it only by driving Devin's own CLI.\n\n## Before you call either\n\n### Mistral AI API\n\n1. Stay off `labs-*` and preview models, `mistral-large-4` included while it is in preview, for anything confidential\n2. Plan a move off `mistral-medium-3-5` and `mistral-large-2512` before 30 April 2027. `mistral-medium-latest` still points to Medium 3.5\n3. Pin each SDK to one version. Minor releases of `mistralai` and `@mistralai/mistralai` have removed fields without notice\n4. Treat a 404 on a model id as retirement and read the models page for the replacement\n5. Set `tool_choice` to any to force a tool call, and `strict` on the JSON schema for structured output\n\n### SWE-2 Flash\n\n1. There is no endpoint to call. Run Devin CLI single-turn with `devin -p` and pick the model with `--model`; the SWE-2 Flash model ID isn't documented yet, so check `/model` in the CLI first\n2. Don't rely on the short name `swe`. The docs say it resolves to the latest model in the family, which may be SWE-2 rather than SWE-2 Flash\n3. Plan for billing to start on 1 December 2026. The free period covers Devin Desktop and CLI only, not Devin cloud sessions\n4. Treat Cognition's benchmark figures as the vendor's. No independent result for SWE-2 Flash was found\n5. Keep `credentials.toml` private. The token in it doesn't expire by default and carries the signed-in user's access\n\n## Questions\n\n### Which is better for AI agents, Mistral AI API or SWE-2 Flash?\n\nMistral AI API scores 65.7 (B) on agent readiness against SWE-2 Flash's 36.4 (F), and leads in 6 of 7 scored categories.\n\n### Do Mistral AI API and SWE-2 Flash need an API key?\n\nMistral AI API needs an API key. SWE-2 Flash takes an API key or an OAuth sign-in.\n\n### Can an agent call Mistral AI API and SWE-2 Flash without installing anything?\n\nMistral AI API has a hosted endpoint at https://api.mistral.ai/v1. No hosted endpoint is listed for SWE-2 Flash.\n\n\n## For agents\n\n- This comparison as JSON: https://www.anchorterminal.com/compare/mistral-api-vs-swe-2-flash.json, and with the fewest tokens: https://www.anchorterminal.com/compare/mistral-api-vs-swe-2-flash.min.md\n- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {\"a\": \"mistral-api\", \"b\": \"swe-2-flash\"}`. From a terminal: `anchor compare mistral-api swe-2-flash`\n- Each listing in full: https://www.anchorterminal.com/api/v1/tools/mistral-api.json and https://www.anchorterminal.com/api/v1/tools/swe-2-flash.json\n\n## Other comparisons with Mistral AI API or SWE-2 Flash\n\n- [Claude API vs Mistral AI API](https://www.anchorterminal.com/compare/anthropic-api-vs-mistral-api.md)\n- [Claude API vs SWE-2 Flash](https://www.anchorterminal.com/compare/anthropic-api-vs-swe-2-flash.md)\n- [Antseed vs Mistral AI API](https://www.anchorterminal.com/compare/antseed-vs-mistral-api.md)\n- [Antseed vs SWE-2 Flash](https://www.anchorterminal.com/compare/antseed-vs-swe-2-flash.md)\n- [BlockRun.AI vs Mistral AI API](https://www.anchorterminal.com/compare/blockrun-ai-vs-mistral-api.md)\n- [BlockRun.AI vs SWE-2 Flash](https://www.anchorterminal.com/compare/blockrun-ai-vs-swe-2-flash.md)\n- [Cerebras Inference vs Mistral AI API](https://www.anchorterminal.com/compare/cerebras-inference-vs-mistral-api.md)\n- [Cerebras Inference vs SWE-2 Flash](https://www.anchorterminal.com/compare/cerebras-inference-vs-swe-2-flash.md)\n- [Cloudflare AI Gateway vs Mistral AI API](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-mistral-api.md)\n- [Cloudflare AI Gateway vs SWE-2 Flash](https://www.anchorterminal.com/compare/cloudflare-ai-gateway-vs-swe-2-flash.md)\n- [Cloudflare Workers AI vs Mistral AI API](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-mistral-api.md)\n- [Cloudflare Workers AI vs SWE-2 Flash](https://www.anchorterminal.com/compare/cloudflare-workers-ai-vs-swe-2-flash.md)\n- [Cohere Chat API (Command models) vs Mistral AI API](https://www.anchorterminal.com/compare/cohere-chat-vs-mistral-api.md)\n- [Cohere Chat API (Command models) vs SWE-2 Flash](https://www.anchorterminal.com/compare/cohere-chat-vs-swe-2-flash.md)\n- [DeepInfra vs Mistral AI API](https://www.anchorterminal.com/compare/deepinfra-vs-mistral-api.md)\n- [DeepInfra vs SWE-2 Flash](https://www.anchorterminal.com/compare/deepinfra-vs-swe-2-flash.md)\n- [DeepSeek API vs Mistral AI API](https://www.anchorterminal.com/compare/deepseek-api-vs-mistral-api.md)\n- [DeepSeek API vs SWE-2 Flash](https://www.anchorterminal.com/compare/deepseek-api-vs-swe-2-flash.md)\n- [Glimpse vs Mistral AI API](https://www.anchorterminal.com/compare/elorian-glimpse-vs-mistral-api.md)\n- [Glimpse vs SWE-2 Flash](https://www.anchorterminal.com/compare/elorian-glimpse-vs-swe-2-flash.md)\n- [Fireworks AI Inference vs Mistral AI API](https://www.anchorterminal.com/compare/fireworks-inference-vs-mistral-api.md)\n- [Fireworks AI Inference vs SWE-2 Flash](https://www.anchorterminal.com/compare/fireworks-inference-vs-swe-2-flash.md)\n- [Gemini Developer API vs Mistral AI API](https://www.anchorterminal.com/compare/gemini-api-vs-mistral-api.md)\n- [Gemini Developer API vs SWE-2 Flash](https://www.anchorterminal.com/compare/gemini-api-vs-swe-2-flash.md)\n- [GroqCloud vs Mistral AI API](https://www.anchorterminal.com/compare/groq-vs-mistral-api.md)\n- [GroqCloud vs SWE-2 Flash](https://www.anchorterminal.com/compare/groq-vs-swe-2-flash.md)\n- [Jais 3 vs Mistral AI API](https://www.anchorterminal.com/compare/jais-3-vs-mistral-api.md)\n- [Jais 3 vs SWE-2 Flash](https://www.anchorterminal.com/compare/jais-3-vs-swe-2-flash.md)\n- [Meta Model API vs Mistral AI API](https://www.anchorterminal.com/compare/meta-model-api-vs-mistral-api.md)\n- [Meta Model API vs SWE-2 Flash](https://www.anchorterminal.com/compare/meta-model-api-vs-swe-2-flash.md)\n- [MiniMax API vs Mistral AI API](https://www.anchorterminal.com/compare/minimax-api-vs-mistral-api.md)\n- [MiniMax API vs SWE-2 Flash](https://www.anchorterminal.com/compare/minimax-api-vs-swe-2-flash.md)\n- [Mistral AI API vs Muse Spark Open](https://www.anchorterminal.com/compare/mistral-api-vs-muse-spark-open.md)\n- [Mistral AI API vs Nemotron 3.5 Super VL](https://www.anchorterminal.com/compare/mistral-api-vs-nemotron-3-5-super-vl.md)\n- [Mistral AI API vs Novita AI](https://www.anchorterminal.com/compare/mistral-api-vs-novita-ai.md)\n- [Mistral AI API vs OpenAI API](https://www.anchorterminal.com/compare/mistral-api-vs-openai-api.md)\n- [Mistral AI API vs OpenRouter](https://www.anchorterminal.com/compare/mistral-api-vs-openrouter.md)\n- [Mistral AI API vs Prism Inference](https://www.anchorterminal.com/compare/mistral-api-vs-prism-inference.md)\n- [Mistral AI API vs Router.com (Ramp Router)](https://www.anchorterminal.com/compare/mistral-api-vs-ramp-router.md)\n- [Mistral AI API vs Beam 1.0](https://www.anchorterminal.com/compare/mistral-api-vs-reflection-beam.md)\n- [Mistral AI API vs RouterPlus](https://www.anchorterminal.com/compare/mistral-api-vs-routerplus.md)\n- [Mistral AI API vs SambaCloud](https://www.anchorterminal.com/compare/mistral-api-vs-sambanova.md)\n- [Mistral AI API vs SiliconFlow](https://www.anchorterminal.com/compare/mistral-api-vs-siliconflow.md)\n- [Mistral AI API vs Simplismart](https://www.anchorterminal.com/compare/mistral-api-vs-simplismart.md)\n- [Mistral AI API vs StepFun API](https://www.anchorterminal.com/compare/mistral-api-vs-stepfun-api.md)\n- [Mistral AI API vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/mistral-api-vs-tencent-tokenhub.md)\n- [Mistral AI API vs Together AI Inference](https://www.anchorterminal.com/compare/mistral-api-vs-together-inference.md)\n- [Mistral AI API vs Vercel AI Gateway](https://www.anchorterminal.com/compare/mistral-api-vs-vercel-ai-gateway.md)\n- [Muse Spark Open vs SWE-2 Flash](https://www.anchorterminal.com/compare/muse-spark-open-vs-swe-2-flash.md)\n- [Nemotron 3.5 Super VL vs SWE-2 Flash](https://www.anchorterminal.com/compare/nemotron-3-5-super-vl-vs-swe-2-flash.md)\n- [Novita AI vs SWE-2 Flash](https://www.anchorterminal.com/compare/novita-ai-vs-swe-2-flash.md)\n- [OpenAI API vs SWE-2 Flash](https://www.anchorterminal.com/compare/openai-api-vs-swe-2-flash.md)\n- [OpenRouter vs SWE-2 Flash](https://www.anchorterminal.com/compare/openrouter-vs-swe-2-flash.md)\n- [Prism Inference vs SWE-2 Flash](https://www.anchorterminal.com/compare/prism-inference-vs-swe-2-flash.md)\n- [Router.com (Ramp Router) vs SWE-2 Flash](https://www.anchorterminal.com/compare/ramp-router-vs-swe-2-flash.md)\n- [Beam 1.0 vs SWE-2 Flash](https://www.anchorterminal.com/compare/reflection-beam-vs-swe-2-flash.md)\n- [RouterPlus vs SWE-2 Flash](https://www.anchorterminal.com/compare/routerplus-vs-swe-2-flash.md)\n- [SambaCloud vs SWE-2 Flash](https://www.anchorterminal.com/compare/sambanova-vs-swe-2-flash.md)\n- [SiliconFlow vs SWE-2 Flash](https://www.anchorterminal.com/compare/siliconflow-vs-swe-2-flash.md)\n- [Simplismart vs SWE-2 Flash](https://www.anchorterminal.com/compare/simplismart-vs-swe-2-flash.md)\n- [StepFun API vs SWE-2 Flash](https://www.anchorterminal.com/compare/stepfun-api-vs-swe-2-flash.md)\n- [SWE-2 Flash vs Tencent Cloud TokenHub](https://www.anchorterminal.com/compare/swe-2-flash-vs-tencent-tokenhub.md)\n- [SWE-2 Flash vs Together AI Inference](https://www.anchorterminal.com/compare/swe-2-flash-vs-together-inference.md)\n- [SWE-2 Flash vs Vercel AI Gateway](https://www.anchorterminal.com/compare/swe-2-flash-vs-vercel-ai-gateway.md)\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-05",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.7",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Compare",
        "url": "https://www.anchorterminal.com/compare/"
      },
      {
        "name": "Mistral AI API vs SWE-2 Flash",
        "url": ""
      }
    ],
    "description": "Mistral AI scores 65.7 (B) to SWE-2 Flash's 36.4 (F) for llm inference. Prices, MCP, x402, uptime and agent notes side by side.",
    "facts": [
      "Mistral AI API B 65.7",
      "SWE-2 Flash F 36.4",
      "scores"
    ],
    "h1": "Mistral AI API vs SWE-2 Flash",
    "image": "https://www.anchorterminal.com/assets/og/default.png",
    "path": "/compare/mistral-api-vs-swe-2-flash",
    "published": "2026-10-01",
    "section": "tools",
    "title": "Mistral AI vs SWE-2 Flash for AI agents in 2026: scores and prices",
    "toc": null,
    "updated": "2026-11-04",
    "url": "https://www.anchorterminal.com/compare/mistral-api-vs-swe-2-flash"
  },
  "tokens": {
    "markdown": 6400,
    "slim": 3330
  },
  "version": 1
}
