> ## 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.

# Model Service

> Model Service API methods in the Galtea SDK

The Model Service in the Galtea SDK allows you to manage [models](/concepts/model) for cost tracking and estimation across your products and evaluations.
This Service is exposed by the `galtea.models` object.

<Info>
  Remember that we will be using the `galtea` object. More information [here](/sdk/api/galtea).
</Info>

## Quick Example

First, initialize the Galtea SDK:

```python theme={"system"}
galtea = Galtea(api_key="YOUR_API_KEY")
```

Create a model:

```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/",
)
```

List models:

```python theme={"system"}
models = galtea.models.list(
    sort_by_created_at="desc",
    limit=10,
)
```

Get a model by ID:

```python theme={"system"}
model = galtea.models.get(model_id=model_id)
```

## Service Methods

* [Create Model](/sdk/api/model/create)
* [List Models](/sdk/api/model/list)
* [Get Model](/sdk/api/model/get)
* [Get Model By Name](/sdk/api/model/get-by-name)
* [Update Model](/sdk/api/model/update)
* [Delete Model](/sdk/api/model/delete)

## Related

<Card title="Model" icon="microchip" iconType="solid" href="/concepts/model">
  Way to keep track of your models' costs
</Card>
