API · Guides

Use VANTRA in your editor

The VANTRA API speaks the same language as OpenAI’s, so most coding tools work with it in a minute. Nothing you send is stored, and nothing is used for training.

01The three values

Every tool below asks for the same three things. You need a key first: make one on Your API, if you have early access.

Base URL
https://vantra.cloud/api/v1
API key
vk_… (from Your API)
Model
core-apex (best for coding) or core-swift (fastest)

02Cursor

  1. Open Settings › Models.
  2. Under API Keys, paste your VANTRA key as the OpenAI API key, turn on Override OpenAI Base URL and enter https://vantra.cloud/api/v1.
  3. Add the models core-apex and core-swift with + Add model, and pick one in the chat.

This covers Cursor’s chat. Its Tab autocomplete always uses Cursor’s own model. Overriding the base URL applies to every OpenAI model in Cursor, so turn it off again to use OpenAI directly.

03Continue (VS Code and JetBrains)

Add VANTRA to Continue’s config. Core Apex and Swift work in chat and agent mode (they support tool calling), Core Embed powers codebase search, and Core Nano gives autocomplete that never leaves your computer (it needs Ollama).

config.yaml
# ~/.continue/config.yaml
name: VANTRA
version: 1.0.0
schema: v1
models:
  - name: VANTRA Core Apex
    provider: openai
    model: core-apex
    apiBase: https://vantra.cloud/api/v1
    apiKey: vk_your_key_here
    roles: [chat, edit, apply]
    capabilities: [tool_use]        # agent mode
  - name: VANTRA Core Swift
    provider: openai
    model: core-swift
    apiBase: https://vantra.cloud/api/v1
    apiKey: vk_your_key_here
    roles: [chat, edit]
    capabilities: [tool_use, image_input]
  # Codebase search (@codebase): Core Embed
  - name: VANTRA Core Embed
    provider: openai
    model: core-embed
    apiBase: https://vantra.cloud/api/v1
    apiKey: vk_your_key_here
    roles: [embed]
  # Autocomplete that never leaves your computer: Core Nano through Ollama
  - name: VANTRA Core Nano (offline)
    provider: ollama
    model: vantra-productions/core-nano:q8
    roles: [autocomplete]

04Cline

  1. Open Cline’s settings and choose the API provider OpenAI Compatible.
  2. Base URL: https://vantra.cloud/api/v1. API key: your VANTRA key. Model ID: core-apex.
  3. Set the context window to 1,000,000 for Core Apex (or 256,000 for Core Swift).

Cline sends long, detailed instructions with every step, so use Core Apex with it. Core Apex can’t read pictures, so leave image support off for it (Core Swift can).

05Zed

settings.json
// Zed settings.json: add the provider, then paste your key in the Agent panel's settings
{
  "language_models": {
    "openai_compatible": {
      "VANTRA": {
        "api_url": "https://vantra.cloud/api/v1",
        "available_models": [
          { "name": "core-apex", "display_name": "VANTRA Core Apex", "max_tokens": 1000000,
            "capabilities": { "tools": true, "images": false } },
          { "name": "core-swift", "display_name": "VANTRA Core Swift", "max_tokens": 256000,
            "capabilities": { "tools": true, "images": true } }
        ]
      }
    }
  }
}

06Anything else

Most tools and libraries that use OpenAI read these two settings, so pointing them at VANTRA is often all it takes. Python and TypeScript examples are in the API docs.

Terminal
export OPENAI_BASE_URL=https://vantra.cloud/api/v1
export OPENAI_API_KEY=vk_your_key_here
# then use the model name core-apex or core-swift

Tool calling and JSON output work on Core Apex and Core Swift, pictures on Core Swift, and codebase search with Core Embed. If a tool asks whether a custom model supports tools or images, say yes for those.

07Fully offline

Want nothing to leave your computer at all? Core Nano runs on your own machine with Ollama, free, and works in any tool that supports Ollama:

Terminal
ollama run vantra-productions/core-nano