Vikey Auto picks the right model for each message

Made for coding agents on pay as you go. Use one model id, such as vikey/agent-gpt. Light messages run on a light model, heavy ones on a heavy model, and old history is trimmed before it is sent again.

~/toko-onlineclaude --model vikey/agent-gpt
  1. > explain the TypeError in utils/date.ts

    GPT-6 LunalightRp32

  2. > add a phone number field to the signup form

    GPT-5.6 TerramediumRp615

  3. > build a checkout page with an order summary

    GPT-5.6 TerramediumRp615

  4. > migrate auth from sessions to OAuth

    GPT-6.1 SolheavyRp5.770

Official price
Rp29.880
Vikey price
Rp14.346
With Vikey Auto
Rp7.031
Claude Code running vikey/agent-gpt. Vikey picks a model for each new message. Without Vikey Auto, every message runs on GPT-6.1 Sol. Token counts per message are estimates. Costs use today's Vikey prices.

How it works

  1. A tier is picked for each new message

    When you send a new message, Vikey picks a light, medium or heavy model based on what the message asks for.

  2. The same model until the task is done

    While the agent works through its tool calls, the model does not change. The next pick happens on your next message.

  3. Helper requests go to the light model

    Small requests from the agent, such as writing a session title, go straight to the light model with no selection fee.

  4. Old history is trimmed

    Tool output and history that no longer matter are trimmed before resending, so the next turn's prompt can shrink by up to about half.

Technical details in the docs
claude --model vikey/agent-gpt
Claude Code with Vikey Auto
Claude Code running in a terminal on the model vikey/agent-gpt.

Three model ids, three lineups

Pick one and use it as the model name in your agent.

Model idlightmediumheavy
vikey/agent-gptGPT-6 LunaGPT-5.6 TerraGPT-6.1 Sol
vikey/agent-codingClaude Haiku 5.5Claude Sonnet 5.5Claude Opus 5.5
vikey/agent-mocinDeepSeek V4.1 FlashDeepSeek V4.1 Flash 1017DeepSeek V4.1 Flash 1017

You can change the model for each tier in the dashboard, under Auto Routing.

app.vikey.ai/dashboard/auto-routing
Auto Routing in the dashboard
The Auto Routing page shows the model for each tier and the savings from Vikey Auto.

Two layers of savings

The price per token is already lower. Vikey Auto then cuts the number of tokens you pay for.

Layer 1: prices below official rates

Same models, lower price per token. A few examples today:

Input per 1M tokens. Official price struck through.

Layer 2: fewer tokens

A light message does not need a heavy model, so each message runs on the tier that fits. Old history and tool output that no longer matter are trimmed before resending, so the next turn's prompt can shrink by up to about half.

These numbers come from our own tests with real coding agents. Savings are largest in long sessions and when the topic changes. Short sessions save little.

Estimate your savings

Pick a model, enter your monthly usage, and compare.

per month

In million tokens. You can find your usage in your current provider's dashboard.

Official price
Rp2.142.857
Vikey price
Rp1.028.571
With Vikey Auto
Rp771.429

Estimate from today's prices at Rp18.000 per USD, with 20 input tokens for every output token. The Vikey Auto column assumes 30% of input tokens are trimmed. Real results depend on session length and how you work.

The price

Rp10per new message

The model selection fee, charged only when the request succeeds. Tokens are billed at the price of the model that was picked, at pay-as-you-go prices. There is no monthly fee.

See the price of each model

Set it up in your agent

Change the base URL and API key, then set the model name to a Vikey Auto model id.

Terminal
export ANTHROPIC_BASE_URL=https://api.vikey.ai
export ANTHROPIC_AUTH_TOKEN=YOUR_VIKEY_API_KEY
export ANTHROPIC_MODEL=vikey/agent-gpt
export ANTHROPIC_DEFAULT_HAIKU_MODEL=openai/gpt-6-luna
claude

Set ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN to Vikey, then run claude.

Cline, Roo Code, Kilo Code
Choose the OpenAI Compatible provider, then enter the base URL, API key and model id.
OpenClaw
Add Vikey as a custom provider with the base URL and API key.
Hermes
Choose a custom OpenAI-compatible endpoint and enter the base URL and API key.
See the full guide in the docs

Who it fits

  • You work with Claude Code, Codex, opencode or another coding agent.
  • Your sessions are long and the topic changes often.
  • You would rather not choose a model for each message.
  • Short sessions save little. If you always need one specific model, select that model directly.

Frequently asked questions

Does Vikey Auto cost extra?

Yes, Rp10 per new message for the model selection, charged only when the request succeeds. Tokens are still billed at the price of the model that was picked.

How much does it save?

In our tests with real coding agents, the next turn's prompt shrank by up to about half. Savings are largest in long sessions and when the topic changes, and small in short sessions.

Can the model change in the middle of a task?

No. The picked model is used until the task from that message is done. A new pick happens on your next message.

Can I change the model for each tier?

Yes. Open Auto Routing in the dashboard and change the model for the light, medium or heavy tier.

How is it different from Token Plan?

Vikey Auto runs on pay as you go, so tokens are billed from your balance. Token Plan is a monthly plan on a separate endpoint with the model id vikey/plan.

Try Vikey Auto in your next session

Sign up, top up from Rp10.000, then set the model name to vikey/agent-gpt.