Back to models
InternLM3-8B-Instruct
Shanghai AI Laboratory's 8B instruction-tuned language model trained on 4 trillion high-quality tokens, supporting both standard chat and deep chain-of-thought reasoning modes for math, coding, and tool-use workflows.
What you can do
- Math & logic chain-of-thought
- Agent tool use & function call
- Bilingual technical writing
Input & output
- Input
- System prompt and user text instructions up to 32K+ context
- Output
- Direct assistant response or long chain-of-thought reasoning with final answer
Try a prompt like this
Enable deep thinking mode to prove whether every finite integral domain is a field, then provide a concise summary for undergraduate students.
Things to know
Apache-2.0 open weights (~16GB VRAM in BF16 or ~6GB in INT4 AWQ/GGUF); deep thinking mode increases output token latency on complex math/logic tasks.
All listed models publish open weights for self-hosted deployment; check each repository's license before commercial use.
Call it through the API
The platform exposes an OpenAI-compatible API. Use an official SDK or any HTTP client, then set the gateway URL, API key, and model ID.
- Endpoint
POST/v1/chat/completions- Model repo ID
Shanghai_AI_Laboratory/internlm3-8b-instruct
import os
from openai import OpenAI
client = OpenAI(
base_url=os.environ["API_BASE_URL"],
api_key=os.environ["API_KEY"],
)
response = client.chat.completions.create(
model="Shanghai_AI_Laboratory/internlm3-8b-instruct",
messages=[{"role": "user", "content": "Enable deep thinking mode to prove whether every finite integral domain is a field, then provide a concise summary for undergraduate students."}],
)
print(response.choices[0].message.content)Before running a sample, set the API_BASE_URL (gateway URL) and API_KEY environment variables.
Read the full API guide