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

# Camel.types.unified model type

<a id="camel.types.unified_model_type" />

<a id="camel.types.unified_model_type.UnifiedModelType" />

## UnifiedModelType

```python theme={"system"}
class UnifiedModelType(str):
```

Class used for support both :obj:`ModelType` and :obj:`str` to be used
to represent a model type in a unified way. This class is a subclass of
:obj:`str` so that it can be used as string seamlessly.

**Parameters:**

* **value** (Union\[ModelType, str]): The value of the model type.

<a id="camel.types.unified_model_type.UnifiedModelType.__new__" />

### **new**

```python theme={"system"}
def __new__(cls, value: Union['ModelType', str]):
```

<a id="camel.types.unified_model_type.UnifiedModelType.__init__" />

### **init**

```python theme={"system"}
def __init__(self, value: Union['ModelType', str]):
```

<a id="camel.types.unified_model_type.UnifiedModelType.__repr__" />

### **repr**

```python theme={"system"}
def __repr__(self):
```

<a id="camel.types.unified_model_type.UnifiedModelType.__str__" />

### **str**

```python theme={"system"}
def __str__(self):
```

<a id="camel.types.unified_model_type.UnifiedModelType.value_for_tiktoken" />

### value\_for\_tiktoken

```python theme={"system"}
def value_for_tiktoken(self):
```

Returns the model name for TikToken.

<a id="camel.types.unified_model_type.UnifiedModelType.token_limit" />

### token\_limit

```python theme={"system"}
def token_limit(self):
```

Returns the context window size for the model.

For unknown model types not defined in ModelType enum, this returns
a default value of 999\_999\_999 tokens.

<a id="camel.types.unified_model_type.UnifiedModelType.is_openai" />

### is\_openai

```python theme={"system"}
def is_openai(self):
```

Returns whether the model is an OpenAI model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_aws_bedrock" />

### is\_aws\_bedrock

```python theme={"system"}
def is_aws_bedrock(self):
```

Returns whether the model is an AWS Bedrock model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_anthropic" />

### is\_anthropic

```python theme={"system"}
def is_anthropic(self):
```

Returns whether the model is an Anthropic model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_azure_openai" />

### is\_azure\_openai

```python theme={"system"}
def is_azure_openai(self):
```

Returns whether the model is an Azure OpenAI model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_groq" />

### is\_groq

```python theme={"system"}
def is_groq(self):
```

Returns whether the model is a Groq served model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_nebius" />

### is\_nebius

```python theme={"system"}
def is_nebius(self):
```

Returns whether the model is a Nebius AI Studio served model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_openrouter" />

### is\_openrouter

```python theme={"system"}
def is_openrouter(self):
```

Returns whether the model is a OpenRouter served model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_atlascloud" />

### is\_atlascloud

```python theme={"system"}
def is_atlascloud(self):
```

Returns whether the model is a AtlasCloud served model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_lmstudio" />

### is\_lmstudio

```python theme={"system"}
def is_lmstudio(self):
```

Returns whether the model is a LMStudio served model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_ppio" />

### is\_ppio

```python theme={"system"}
def is_ppio(self):
```

Returns whether the model is a PPIO served model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_zhipuai" />

### is\_zhipuai

```python theme={"system"}
def is_zhipuai(self):
```

Returns whether the model is a Zhipuai model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_gemini" />

### is\_gemini

```python theme={"system"}
def is_gemini(self):
```

Returns whether the model is a Gemini model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_mistral" />

### is\_mistral

```python theme={"system"}
def is_mistral(self):
```

Returns whether the model is a Mistral model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_netmind" />

### is\_netmind

```python theme={"system"}
def is_netmind(self):
```

Returns whether the model is a Netmind model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_reka" />

### is\_reka

```python theme={"system"}
def is_reka(self):
```

Returns whether the model is a Reka model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_cohere" />

### is\_cohere

```python theme={"system"}
def is_cohere(self):
```

Returns whether the model is a Cohere model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_cometapi" />

### is\_cometapi

```python theme={"system"}
def is_cometapi(self):
```

Returns whether the model is a CometAPI served model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_yi" />

### is\_yi

```python theme={"system"}
def is_yi(self):
```

Returns whether the model is a Yi model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_qwen" />

### is\_qwen

```python theme={"system"}
def is_qwen(self):
```

Returns whether the model is a Qwen model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_internlm" />

### is\_internlm

```python theme={"system"}
def is_internlm(self):
```

Returns whether the model is a InternLM model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_modelscope" />

### is\_modelscope

```python theme={"system"}
def is_modelscope(self):
```

Returns whether the model is a ModelScope serverd model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_moonshot" />

### is\_moonshot

```python theme={"system"}
def is_moonshot(self):
```

Returns whether this platform is Moonshot model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_novita" />

### is\_novita

```python theme={"system"}
def is_novita(self):
```

Returns whether the model is a Novita served model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_watsonx" />

### is\_watsonx

```python theme={"system"}
def is_watsonx(self):
```

Returns whether the model is a WatsonX served model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_qianfan" />

### is\_qianfan

```python theme={"system"}
def is_qianfan(self):
```

Returns whether the model is a Qianfan served model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_crynux" />

### is\_crynux

```python theme={"system"}
def is_crynux(self):
```

Returns whether the model is a Crynux served model.

<a id="camel.types.unified_model_type.UnifiedModelType.is_minimax" />

### is\_minimax

```python theme={"system"}
def is_minimax(self):
```

Returns whether the model is a Minimax served model.

<a id="camel.types.unified_model_type.UnifiedModelType.support_native_structured_output" />

### support\_native\_structured\_output

```python theme={"system"}
def support_native_structured_output(self):
```

Returns whether the model supports native structured output.

<a id="camel.types.unified_model_type.UnifiedModelType.support_native_tool_calling" />

### support\_native\_tool\_calling

```python theme={"system"}
def support_native_tool_calling(self):
```

Returns whether the model supports native tool calling.
