- Model
moonshotai/kimi-k2- Provider
vercel-ai-gateway- API
anthropic-messages- Base URL
https://ai-gateway.vercel.sh- Input
- text
- Reasoning
- No
- Context window
- 131,072
- Max tokens
- 131,072
- Cost / million input
- $0.57
- Cost / million output
- $2.3
- Cost / million cache read
- $0
- Cost / million cache write
- $0
Model config JSON
{
"providers": {
"vercel-ai-gateway": {
"apiKey": "YOUR_API_KEY",
"models": [
{
"id": "moonshotai/kimi-k2",
"name": "Kimi K2 Instruct",
"reasoning": false,
"input": [
"text"
],
"contextWindow": 131072,
"maxTokens": 131072,
"cost": {
"input": 0.5700000000000001,
"output": 2.3,
"cacheRead": 0,
"cacheWrite": 0
}
}
],
"api": "anthropic-messages",
"baseUrl": "https://ai-gateway.vercel.sh"
}
}
}