---
title: "Using Fine-Tuned gpt-3.5-turbo"
url: "/docs/tutorials/finetuned_chat_gpt"
canonical_url: "https://docs.litellm.ai/docs/tutorials/finetuned_chat_gpt"
type: "docs"
last_updated: "2026-10-08"
summary: "LiteLLM allows you to call completion with your fine-tuned gpt-3.5-turbo models"
related:
  - "/docs/tutorials/huggingface_codellama"
  - "/docs/tutorials/oobabooga"
---
# Using Fine-Tuned gpt-3.5-turbo

> Index of all LiteLLM docs: https://docs.litellm.ai/llms.txt

LiteLLM allows you to call `completion` with your fine-tuned gpt-3.5-turbo models
If you're trying to create your custom fine-tuned gpt-3.5-turbo model following along on this tutorial: https://platform.openai.com/docs/guides/fine-tuning/preparing-your-dataset

Once you've created your fine-tuned model, you can call it with `litellm.completion()` 

## Usage
```python
import os
from litellm import completion

# LiteLLM reads from your .env
os.environ["OPENAI_API_KEY"] = "your-api-key"

response = completion(
  model="ft:gpt-3.5-turbo:my-org:custom_suffix:id",
  messages=[
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Hello!"}
  ]
)

print(response.choices[0].message)
```

## Usage - Setting OpenAI Organization ID
LiteLLM allows you to specify your OpenAI Organization when calling OpenAI LLMs. More details here: 
[setting Organization ID](https://docs.litellm.ai/docs/providers/openai#setting-organization-id-for-completion-calls)
This can be set in one of the following ways:
- Environment Variable `OPENAI_ORGANIZATION`
- Params to `litellm.completion(model=model, organization="your-organization-id")`
- Set as `litellm.organization="your-organization-id"`
```python
import os
from litellm import completion

# LiteLLM reads from your .env
os.environ["OPENAI_API_KEY"] = "your-api-key"
os.environ["OPENAI_ORGANIZATION"] = "your-org-id" # Optional

response = completion(
  model="ft:gpt-3.5-turbo:my-org:custom_suffix:id",
  messages=[
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": "Hello!"}
  ]
)

print(response.choices[0].message)
```

## Related pages

- [CodeLlama - Code Infilling](https://docs.litellm.ai/docs/tutorials/huggingface_codellama.md)
- [Oobabooga Text Web API Tutorial](https://docs.litellm.ai/docs/tutorials/oobabooga.md)
