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

# Create Model

> Create a new model for cost tracking.

> [!WARNING]
>
> You are reading the docs of Galtea 5.11. [Read this page in the latest version](https://docs.galtea.ai/sdk/api/model/create.md).

## Returns

Returns a [Model](https://docs.galtea.ai/v5.11/concepts/model.md) object for the given parameters, or `None` if an error occurs.

## Example

```python theme={"system"}
model = galtea.models.create(
    name="gpt-5.5-pro " + run_identifier,
    input_cost_per_token=0.00001,
    output_cost_per_token=0.00003,
    cache_read_input_token_cost=0.000005,
    cache_creation_input_token_cost=0.0000125,
    tokenizer_provider="OpenAI",
    source="https://openai.com/api/pricing/",
)
```

## Parameters

**name** `string` *required*

Name of the model. Must be unique within your organization.

**input\_cost\_per\_token** `float`

Cost in dollars per input token.

**output\_cost\_per\_token** `float`

Cost in dollars per output token.

**cache\_read\_input\_token\_cost** `float`

Cost in dollars per cached input token. Some providers offer reduced rates for cached requests.

**cache\_creation\_input\_token\_cost** `float`

Cost in dollars per input token when creating a cache entry.

**input\_cost\_per\_token\_above\_128k\_tokens** `float`

Cost in dollars per input token for contexts larger than 128k tokens, if applicable.

**output\_cost\_per\_token\_above\_128k\_tokens** `float`

Cost in dollars per output token for contexts larger than 128k tokens, if applicable.

**tokenizer\_provider** `string`

Provider of the tokenizer used by the model. Examples: `"OpenAI"` (uses [tiktoken](https://github.com/openai/tiktoken)), `"Anthropic"` (uses [anthropic-tokenizer](https://lunary.ai/anthropic-tokenizer)).

**source** `string`

The provider or source of the pricing model. This can be a URL to the model's pricing page or documentation (e.g., `https://openai.com/api/pricing/`).


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