> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# InternLM

> Configuration reference for InternLM, which extends OpenAILike to connect to InternLM's language models.

The InternLM model provides access to InternLM's language models.

## Parameters

| Parameter | Type | Default | Description |
| - | - | - | - |
| `id` | `str` | `"internlm2.5-latest"` | The id of the InternLM model to use |
| `name` | `str` | `"InternLM"` | The name of the model |
| `provider` | `str` | `"InternLM"` | The provider of the model |
| `api_key` | `Optional[str]` | `None` | The API key for InternLM (defaults to INTERNLM\_API\_KEY env var) |
| `base_url` | `Optional[str]` | `"https://internlm-chat.intern-ai.org.cn/puyu/api/v1/chat/completions"` | The base URL for the InternLM API |

`InternLM` extends [OpenAILike](https://agno-v2.mintlify.site/reference/models/openai-like.md) and accepts all of its parameters.


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