- Model
moonshotai/Kimi-K2-Instruct-0905- Provider
huggingface- API
openai-completions- Base URL
https://router.huggingface.co/v1- Input
- text
- Reasoning
- No
- Context window
- 262,144
- Max tokens
- 16,384
- Cost / million input
- $1
- Cost / million output
- $3
- Cost / million cache read
- $0
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"huggingface": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "moonshotai/Kimi-K2-Instruct-0905",
"name": "Kimi-K2-Instruct-0905",
"reasoning": false,
"input": [
"text"
],
"contextWindow": 262144,
"maxTokens": 16384,
"cost": {
"input": 1,
"output": 3,
"cacheRead": 0,
"cacheWrite": 0
},
"compat": {
"supportsDeveloperRole": false
}
}
],
"api": "openai-completions",
"baseUrl": "https://router.huggingface.co/v1"
}
}
}