OmniRouter
Kimi K2.7 Code HighSpeed
Kimi K2.7 Code HighSpeed from OmniRouter, with a 262K-token context window. Call it as moonshotai/kimi-k2.7-code-highspeed through the OpenAI- or Anthropic-compatible endpoint with a Tokens key.
moonshotai/kimi-k2.7-code-highspeed- Input, per 1M tokens
- ৳261.25$2.09
- Output, per 1M tokens
- ৳1,100.00$8.80
- Context window
- 262K262,000 tokens
- Available on
- Free, Weekly, Monthly, Pay as you go
What it costs in practice
Estimates at the current price. Coding agents send far more input than output; your own mix depends on the agent and the task.
| Workload | USD | BDT |
|---|---|---|
| One agent turn25K input, 1.5K output | $0.07 | ৳8.18 |
| An hour of agent work1M input, 60K output | $2.62 | ৳327.25 |
| A month of daily use20M input, 1.2M output | $52.36 | ৳6,545.00 |
Use Kimi K2.7 Code HighSpeed
Each setup already points at Tokens with this model selected. Replace the key with one from your dashboard. Quickstart
~/.claude/settings.json
{
"env": {
"ANTHROPIC_BASE_URL": "https://tokens.bd",
"ANTHROPIC_AUTH_TOKEN": "tok_live_your_key",
"ANTHROPIC_MODEL": "moonshotai/kimi-k2.7-code-highspeed"
}
}Configure Claude Code CLI via ~/.claude/settings.json or environment exports.
~/.codex/config.toml
# ~/.codex/config.toml model = "moonshotai/kimi-k2.7-code-highspeed" model_provider = "tokens" [model_providers.tokens] name = "Tokens" base_url = "https://tokens.bd/v1" env_key = "TOKENS_API_KEY" wire_api = "responses" # In your shell profile (~/.bashrc, ~/.zshrc): export TOKENS_API_KEY="tok_live_your_key"
Add a custom model provider to ~/.codex/config.toml and export the key in your shell.
opencode.json
{
"provider": {
"tokens": {
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "https://tokens.bd/v1",
"apiKey": "tok_live_your_key"
},
"models": {
"moonshotai/kimi-k2.7-code-highspeed": {}
}
}
}
}Project or global configuration for OpenCode CLI / IDE agent.
Cursor Settings
1. Open Cursor Settings -> Models 2. Under "OpenAI API Key", enter: tok_live_your_key 3. Click "Override OpenAI Base URL" and enter: https://tokens.bd/v1 4. Click "Add Custom Model" and enter: moonshotai/kimi-k2.7-code-highspeed
Add to Cursor: Settings (Gear icon) → Models → Add Custom Model & OpenAI Override.
client.py
from openai import OpenAI
client = OpenAI(
base_url="https://tokens.bd/v1",
api_key="tok_live_your_key",
)
response = client.chat.completions.create(
model="moonshotai/kimi-k2.7-code-highspeed",
messages=[
{"role": "system", "content": "You are an expert coding assistant."},
{"role": "user", "content": "Write a quick hello world in Python"},
],
temperature=0.7,
)
print(response.choices[0].message.content)Official OpenAI Python library pointing to Tokens endpoint.
request.sh
curl -X POST "https://tokens.bd/v1/chat/completions" \
-H "Authorization: Bearer tok_live_your_key" \
-H "Content-Type: application/json" \
-d '{
"model": "moonshotai/kimi-k2.7-code-highspeed",
"messages": [
{"role": "system", "content": "You are an expert coding assistant."},
{"role": "user", "content": "Write a quick hello world in Python"}
],
"temperature": 0.7
}'Raw HTTP POST request to OpenAI-compatible chat completions.