Yi VL 34B on Replicate API

Yi VL · 01.AI

ServerlessOpen Source

Last refreshed 2026-05-19. Next refresh: weekly.

Why use Yi VL 34B on Replicate API?

Replicate API offers Yi VL 34B with pay-as-you-go pricing at $0.20/1M input tokens. Replicate is a cloud-based platform that enables users to run machine learning models easily and efficiently.

Input / 1M
$0.20
Output / 1M
$1.00
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install replicate
Auth
export REPLICATE_API_TOKEN=...
Call
import replicate
output = replicate.run(
    "yi-vl-34b",
    input={"prompt": "Hello"}
Model ID
yi-vl-34b

Request example

import replicate

# reads REPLICATE_API_TOKEN from env
# yi-vl-34b format: "owner/model-name" (latest version) or "owner/model-name:version-hash"
output = replicate.run(
    "yi-vl-34b",
    input={"prompt": "Hello"}
)
# Output is a list or generator depending on the model
print("".join(output))

Gotchas

  • Replicate uses "owner/model-name" format (e.g. "meta/meta-llama-3-8b-instruct") for the latest version, or "owner/model-name:version-sha" to pin to a specific version. The REST endpoint splits owner and model-name into the path: /v1/models/{owner}/{model-name}/predictions.
  • The examples expect REPLICATE_API_TOKEN; rename it only if your application config maps the new variable.

Pricing

TypePrice (per 1M)
Input tokens$0.20
Output tokens$1.00

Capabilities

No model capability flags are currently sourced.

About Yi VL 34B

Yi VL 34B is 01.AI's Yi VL model. It offers a 128K-token context window.

Get Started

Model Specs

Released2024-10-26
Parameters34B
Context131k
ArchitectureDecoder Only