# GitHub Models (/docs/providers/github)


Overview [#overview]

[GitHub Models](https://github.com/marketplace/models) provides access to popular AI models with a free tier, integrated directly into GitHub for developer-friendly access.

**Official Website:** [https://github.com/marketplace/models](https://github.com/marketplace/models)

Key Features [#key-features]

* **Free Tier** — Generous free limits for development
* **GitHub Integration** — Seamless integration with GitHub workflows
* **Multiple Providers** — Models from OpenAI, Meta, Mistral, and more
* **Developer-Friendly** — Easy setup and usage

Usage Example [#usage-example]

```python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.yuhuanstudio.com/v1"
)

response = client.chat.completions.create(
    model="model-id",
    messages=[{"role": "user", "content": "Hello!"}]
)

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

Available Models [#available-models]

Use the [Models API](/docs/models-api) to query available models:

```bash
curl https://api.yuhuanstudio.com/v1/models?provider=github \
  -H "Authorization: Bearer YOUR_API_KEY"
```

<Callout type="info">
  Models and pricing are synced automatically. Check the dashboard for current availability and rates.
</Callout>

Official Resources [#official-resources]

* [GitHub Models](https://github.com/marketplace/models)
* [Documentation](https://docs.github.com/en/github-models)
