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

Gemini Embedding 2 Preview vs voyage-code-4

Compare Gemini Embedding 2 Preview from Google 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 google
Gemini Embedding 2 Preview
Favicon for voyageai
voyage-code-4
Favicon for google
Gemini Embedding 2 Preview
Favicon for voyageai
voyage-code-4

Overview

Gemini Embedding 2 Preview
Author
Google
voyage-code-4
Author
voyageai
Gemini Embedding 2 Preview
Context length
8Ktokens
voyage-code-4
Context length
32Ktokens
Gemini Embedding 2 Preview
Reasoning
voyage-code-4
Reasoning
Gemini Embedding 2 Preview
Input modalities
voyage-code-4
Input modalities
Gemini Embedding 2 Preview
Output modalities
voyage-code-4
Output modalities

Gemini Embedding 2 Preview vs voyage-code-4: side-by-side summary

Gemini Embedding 2 Preview and voyage-code-4 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

Gemini Embedding 2 Preview, from Google, has a 8,192-token context window and is priced at $0.20/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
  • Gemini Embedding 2 Preview: 8,192 tokens
  • voyage-code-4: 32,000 tokens
Price
  • Gemini Embedding 2 Preview: $0.20/M tokens
  • voyage-code-4: $0.12/M tokens
Provided by
  • Gemini Embedding 2 Preview: Google
  • voyage-code-4: voyageai
  • Gemini Embedding 2 Preview model details, providers and pricing
  • voyage-code-4 model details, providers and pricing