> ## Documentation Index
> Fetch the complete documentation index at: https://docs.platform.toloka.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# client.baseModels.get()

> Get a base model.

Return the name and fixed revision of a catalog model. Returns 404 if the ID is unknown.

## Signature

Method signature on `client.baseModels`:

```ts theme={null}
get(args: {
  id: "qwen3-4b" | "qwen3-8b" | "qwen3-32b" | "qwen3-235b";
}): Promise<BaseModel>;
```

## Parameters

**id** `"qwen3-4b" | "qwen3-8b" | "qwen3-32b" | "qwen3-235b"` *required*

The stable product identifier of a catalog base model.

## Returns

`Promise<BaseModel>`

A catalog base model pinned to an immutable revision. `upstreamUrl` links to that revision.

**id** `"qwen3-4b" | "qwen3-8b" | "qwen3-32b" | "qwen3-235b"` *required*

Stable identifier of the catalog base model.

**displayName** `string` *required*

Display name of the base model.

**provider** `string` *required*

The model publisher shown in the base model catalog, such as Qwen.

**upstreamModel** `string` *required*

Published repository identifier for the base model.

**upstreamRevision** `string` *required*

Immutable source revision, as a 40-character hexadecimal commit hash.

**upstreamUrl** `string` *required*

URL of the exact published model revision.

## Errors

HTTP errors throw [`PotatoApiError`](https://docs.platform.toloka.ai/docs/sdk/errors). The endpoint documents these error responses:

| Status | Description |
| - | - |
| 404 | Base model not found |
| 429 | Rate limit exceeded |

HTTP endpoint: [`GET /base-models/{baseModelId}`](https://docs.platform.toloka.ai/docs/api-reference/base-models/get-base-model).

```ts get() theme={null}
import { createClient } from "@toloka-platform/sdk";

const client = createClient({
  baseUrl: "https://platform.toloka.ai",
  apiKey: process.env.TOLOKA_API_KEY!,
});

const baseModel = await client.baseModels.get({
  id: "qwen3-4b"
});
console.log(baseModel);
```

```json get() theme={null}
{
  "id": "qwen3-4b",
  "displayName": "<string>",
  "provider": "<string>",
  "upstreamModel": "<string>",
  "upstreamRevision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "upstreamUrl": "https://example.com/resource"
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.