Baltor Get started

Models

UI-TARS 7B

By ByteDance. 8.3 billion parameters, a context window of 128,000 tokens and the licence apache-2.0.

Facts

Released
2025-04-16 the day the repository was first published on Hugging Face Hugging Face, read
Licence
apache-2.0 the licence the model card declares Hugging Face, read
Open weights
Yes the weights are published in this Hugging Face repository Hugging Face, read
Parameters
8.3 billion counted from the safetensors weight files Hugging Face, read
Active parameters
Unknown
Knowledge cutoff
2025-01-31 the knowledge cutoff OpenRouter lists OpenRouter, read
Context window
  • 128,000 tokens the maximum position embeddings in the model configuration model configuration, read
  • 128,000 tokens the context length OpenRouter lists OpenRouter, read
Longest output
  • 2,048 tokens the largest output OpenRouter's first provider allows OpenRouter, read
Tool calling
  • Yes the chat template in the tokenizer configuration accepts tool definitions Hugging Face, read
  • No OpenRouter does not list tools among the supported parameters OpenRouter, read
Structured output
  • Yes OpenRouter lists structured outputs among the supported parameters OpenRouter, read
Reasoning controls
Unknown
Inputs and outputs
text, image in, text out Hugging Face, read
Good for
  • Vision: Hugging Face files it under image-text-to-text Hugging Face, read

Prices

Prices in US dollars per million tokens, as each source lists them
ProviderInputOutputContextAs ofSource
Parasail through OpenRouter0.100 USD0.200 USD128,000OpenRouter endpoints, read

Run it on your own hardware

Weights are the sizes of the files a source lists, or an estimate from the parameter count where none does. Memory is an estimate: weights plus KV cache plus 512 MiB and 5 percent of the weights for runtime buffers. Check it against your hardware.

QuantizationWeightsMemory at 8,192 tokensMemory at 32,768 tokens
Q2_K2.8 GiB3.9 GiB5.2 GiB
Q3_K_S3.3 GiB4.4 GiB5.7 GiB
Q3_K_M3.5 GiB4.7 GiB6.0 GiB
Q3_K_L3.8 GiB4.9 GiB6.2 GiB
IQ4_XS4.0 GiB5.1 GiB6.4 GiB
Q4_K_S4.2 GiB5.3 GiB6.6 GiB
Q4_K_M4.4 GiB5.5 GiB6.8 GiB
Q5_K_S5.0 GiB6.1 GiB7.4 GiB
Q5_K_M5.1 GiB6.3 GiB7.6 GiB
Q6_K5.8 GiB7.1 GiB8.4 GiB
Q8_07.5 GiB8.9 GiB10.2 GiB
F1614.2 GiB15.8 GiB17.2 GiB

Start it with a local runtime

  • Ollama
    ollama run hf.co/mradermacher/UI-TARS-1.5-7B-GGUF:Q4_K_S
  • LM Studio
    lms get mradermacher/UI-TARS-1.5-7B-GGUF
    lms server start
  • llama.cpp server
    llama-server -hf mradermacher/UI-TARS-1.5-7B-GGUF:Q4_K_S --jinja
  • vLLM
    vllm serve ByteDance-Seed/UI-TARS-1.5-7B
  • SGLang
    sglang serve --model-path ByteDance-Seed/UI-TARS-1.5-7B --port 30000

Use it from your harness

Set up for OpenRouter with the model bytedance/ui-tars-1.5-7b. Each endpoint page has the same setup for its own address.

OpenCode

Put this in opencode.json in your project folder:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "openrouter": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "OpenRouter",
      "options": {
        "baseURL": "https://openrouter.ai/api/v1",
        "apiKey": "{env:OPENROUTER_API_KEY}"
      },
      "models": {
        "bytedance/ui-tars-1.5-7b": {
          "name": "UI-TARS 7B",
          "limit": {
            "context": 128000,
            "output": 2048
          }
        }
      }
    }
  }
}
  • OpenCode reads any OpenAI-compatible address through the @ai-sdk/openai-compatible package, and an address that speaks the Responses API through @ai-sdk/openai.

From OpenCode documentation, read .

Pi

Put this in ~/.pi/agent/models.json:

{
  "providers": {
    "openrouter": {
      "baseUrl": "https://openrouter.ai/api/v1",
      "api": "openai-completions",
      "apiKey": "$OPENROUTER_API_KEY",
      "models": [
        {
          "id": "bytedance/ui-tars-1.5-7b"
        }
      ]
    }
  }
}
  • The apiKey field can name an environment variable as $NAME.

From Pi documentation, read .

Codex

Put this in ~/.codex/config.toml:

model = "bytedance/ui-tars-1.5-7b"
model_provider = "openrouter"

[model_providers.openrouter]
name = "OpenRouter"
base_url = "https://openrouter.ai/api/v1"
env_key = "OPENROUTER_API_KEY"
  • Codex speaks the Responses API only: responses is the one supported wire API of a custom provider. Ollama and LM Studio are built in and start with --oss.

From Codex documentation, read .

Claude Code

Put this in ~/.claude/settings.json, or variables in your shell:

export ANTHROPIC_BASE_URL="https://openrouter.ai/api"
export ANTHROPIC_AUTH_TOKEN="$OPENROUTER_API_KEY"
export ANTHROPIC_MODEL="bytedance/ui-tars-1.5-7b"
claude
  • Claude Code sends Anthropic Messages requests to ANTHROPIC_BASE_URL. Anthropic says it does not support routing Claude Code to models other than Claude through any gateway, so some features may not work with another model.

From Claude Code documentation, read .

Other ways to reach it

  • Ollama, model hf.co/mradermacher/UI-TARS-1.5-7B-GGUF:Q4_K_S

Published results

These are results other people published. Baltor did not run them and does not rank models by them.