Model and payment permissions are shown in your account. Account console
VIMUROUTE / DEVELOPER GUIDE

API setup
guide

Find client settings, request examples, and troubleshooting steps.

API examplesClient setupBilling help

Setup steps

Supported text API

claude-haiku-5-5 · claude-sonnet-5-5 · claude-opus-5-5

Anthropic Messages with multi-turn text. Input is limited to 32 KB of UTF-8 text and output to 8,192 tokens. Tools and image input are not supported.

With stream=true, SSE events are returned after generation and billing have completed. This version does not deliver tokens in real time.

  1. Create your account. Sign in with email, Google, or GitHub and complete any required email verification.
  2. Create an API key. Use a separate key for each application and keep it private.
  3. Configure your client. Enter the base URL, your VM API key, and the exact model ID.
  4. Verify the connection. Use a model enabled for your account, then review the response, usage and charges in Usage & logs.

View connection settings

Client settings

SettingWhat to enter
Base URLFor the Anthropic SDK, set base_url to https://vimuroute.com. The HTTP request endpoint is https://vimuroute.com/v1/messages.
API keyUse a VM API key created in your account. Keys issued by other providers cannot authenticate VM requests.
Model IDCopy the exact model ID from the catalog, including any version numbers or suffixes.

In a desktop chat client, choose a provider option that supports a custom endpoint. Your client and the selected model must use the same API format. Compatibility can vary by client and feature.

The current API uses Anthropic Messages. Other protocols and model quotes in the directory are reference information; confirm support before integrating them.

Model / Setup guide

Request examples

Select a model, API format, and language to see the matching example.

Example code
Claudeclaude-haiku-5-5
Anthropic Messages

VM standard rates

USD / 1M tokens · Total input ≤ 100K

Input$0.03
Output$0.15
Cache read$0.003
Cache write$0.036

Long context · Total input > 100K

Input$0.15
Output$0.75
Cache read$0.015
Cache write—

Contact support for long-context usage types without a listed rate.

Model source details
QC reference prices · not VimuRoute prices

USD / 1M Token: Input: $0.10 · Output: $0.50 · Cache write: $0.12 · Cache read: $0.01

Above 100K prompt tokens (including cache writes and cache hits): Input: $0.50 · Output: $2.50 · Cache read: $0.05

QC applies a 5× multiplier to the whole request, including cache reads and writes.

QC context / maximum output: 1M / 128K

QC directory · checked November 4, 2026

Replace the example endpoint and key with your account settings. Check the selected model and API permissions in the console.

Idempotency-Key is an optional UUID header. Reuse it when retrying the same operation; the server generates one if omitted. SDK examples disable automatic retries.

Install the SDKpython -m pip install anthropic
connect.py
from uuid import uuid4
from anthropic import Anthropic

client = Anthropic(
    base_url="https://vimuroute.com",
    api_key="YOUR_VM_API_KEY",
    max_retries=0
)
request_id = str(uuid4())
response = client.messages.create(
    model="claude-haiku-5-5",
    max_tokens=1024,
    messages=[{"role": "user", "content": "Hello!"}],
    extra_headers={"Idempotency-Key": request_id}
)
print(response.content[0].text)

Run this example on your computer or server. Keep real API keys out of public browser code.

Troubleshooting

SymptomWhat to check
401Check that the key belongs to VM, is active, and has no extra spaces. Never post the complete key in a support message.
403Check your account permissions and access restrictions. An active key may not have access to every model or region.
404Check the base URL, path, and exact model ID. Different API formats use different paths.
429Check the request-rate and concurrency limits. Reduce simultaneous requests and wait before retrying.
5xx / timeoutCheck service status and your network connection. A retry may be billed as a new request, so limit automatic retries.
BalanceCheck that the payment completed, credits were added, and the selected key has enough remaining spending allowance.

Read the credit and billing rules

Setup help

Use these self-service links for account access, email verification, password recovery, and setup information.

support@vimuroute.com

Information for troubleshooting

  • Model ID, API format, and the client name/version.
  • The request time and time zone, request ID, and error message with sensitive details removed.
  • What you expected to happen and the steps needed to reproduce the issue.

Do not include full API keys, payment card details, or private prompt content.