{
  "id": 22233848,
  "title": "How to call Mark 1x-27B with the OpenAI Python SDK",
  "url": "https://urgent.news/2026/11/27/how-to-call-mark-1x-27b-with-the-openai-python-sdk",
  "topic": "ai",
  "section": "AI",
  "published": "2026-11-27T20:57:27.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/saathwik/how-to-call-mark-1x-27b-with-the-openai-python-sdk-2elo"
  },
  "original_language": "en",
  "account": "I interviewed Saathwik, founder of Saanora, about their new model Mark 1x-27B. The conversation focused on how to interact with this model using the OpenAI Python Software Development Kit (SDK). Saathwik mentioned that the model can be tried out directly in a browser without signing up at saanora.com. The main details about calling Mark 1x-27B programmatically were provided.\n\nThe API is compatible with OpenAI standards, so it works with existing OpenAI clients. You simply need to point the client at https://api.saanora.com/v1 and set the model parameter to mark-1x-27b. Standard features like chat completions, streaming, tool calling, and image input are available through the usual request format. The context window for the model is quite large at 262K tokens.\n\nYou can control the reasoning effort the model puts into its answers by setting the reasoning_effort parameter to low, medium (default), or high. Medium effort is recommended as it gets the best results for the given model size. Pricing is $0.10 per 1 million input tokens and $0.60 per 1 million output tokens, with a free credit balance initially.\n\nA minimal working example was given, showing how to install the openai package and use it to call the model from Python code. The key to the API is set in the SAANORA_API_KEY environment variable. The example demonstrated how to ask a question, such as \"How many prime numbers are there below 100?\", and print out the model's generated answer.\n\nFor more complex problems that require deeper thinking, Saathwik suggested using higher reasoning effort levels like high. This incurs more cost in terms of time and output tokens, but is necessary for tasks like proofs, debugging, and planning. The model returns additional reasoning alongside its answer, which can be accessed via the reasoning field in the response.\n\nOne gotcha mentioned was that the first request after a period of inactivity might fail with a 503 status code, indicating the model is starting up. This is free, but subsequent requests should succeed. The code example included a retry loop to handle this initial failure after a quiet period.\n\nOverall, the guide shows how to get up and running with the new Mark 1x-27B model using familiar OpenAI SDK code, with guidance on handling higher effort tasks and handling the initial latency after periods of inactivity.",
  "summary": "I'm Saathwik, founder of Saanora, and I'm building Mark. This post is a short setup guide for Mark 1x-27B, our latest model, using the OpenAI Python SDK you probably already have. You can try the model in the browser with no signup at saanora.com . The rest of this article is about calling it from code. What you get The API is OpenAI-compatible. Point the client at https://api.saanora.com/v1 and…",
  "summary_source": "publisher",
  "key_points": [
    "Mark 1x-27B model available via OpenAI SDK",
    "API compatible with OpenAI standards",
    "Context window of 262K tokens"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}