Skip to content
  • Models
  • Rankings
  • Ori
Sign Up
Sign Up
  1. Home
  2. /
  3. Compare

all-MiniLM-L12-v2 vs voyage-code-4

Compare all-MiniLM-L12-v2 from sentence-transformers and voyage-code-4 from voyageai on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

  1. Home
  2. /
  3. Compare

AI Model Comparison

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Business
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for sentence-transformers
all-MiniLM-L12-v2
Favicon for voyageai
voyage-code-4
Favicon for sentence-transformers
all-MiniLM-L12-v2
Favicon for voyageai
voyage-code-4

Overview

all-MiniLM-L12-v2
Author
sentence-transformers
voyage-code-4
Author
voyageai
all-MiniLM-L12-v2
Context length
512tokens
voyage-code-4
Context length
32Ktokens
all-MiniLM-L12-v2
Reasoning
voyage-code-4
Reasoning
all-MiniLM-L12-v2
Input modalities
voyage-code-4
Input modalities
all-MiniLM-L12-v2
Output modalities
voyage-code-4
Output modalities

all-MiniLM-L12-v2 vs voyage-code-4: side-by-side summary

all-MiniLM-L12-v2 and voyage-code-4 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

all-MiniLM-L12-v2, from sentence-transformers, has a 512-token context window and is priced at $0.005/M tokens on OpenRouter.

voyage-code-4, from voyageai, has a 32,000-token context window and is priced at $0.12/M tokens on OpenRouter.

Context window
  • all-MiniLM-L12-v2: 512 tokens
  • voyage-code-4: 32,000 tokens
Price
  • all-MiniLM-L12-v2: $0.005/M tokens
  • voyage-code-4: $0.12/M tokens
Provided by
  • all-MiniLM-L12-v2: sentence-transformers
  • voyage-code-4: voyageai
  • model details, providers and pricing
all-MiniLM-L12-v2
model details, providers and pricing
voyage-code-4