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

Gemini Embedding 2 vs voyage-code-4

Compare Gemini Embedding 2 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

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

Gemini Embedding 2 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, 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: 8,192 tokens
  • voyage-code-4: 32,000 tokens
Price
  • Gemini Embedding 2: $0.20/M tokens
  • voyage-code-4: $0.12/M tokens
Provided by
  • Gemini Embedding 2: Google
  • voyage-code-4: voyageai
Favicon for google
Gemini Embedding 2
Favicon for voyageai
voyage-code-4
Favicon for google
Gemini Embedding 2
Favicon for voyageai
voyage-code-4

Overview

Gemini Embedding 2
Author
Google
voyage-code-4
Author
voyageai
Gemini Embedding 2
Context length
8Ktokens
voyage-code-4
Context length
32Ktokens
Gemini Embedding 2
Reasoning
voyage-code-4
Reasoning
Gemini Embedding 2
Input modalities
voyage-code-4
Input modalities
Gemini Embedding 2
Output modalities
voyage-code-4
Output modalities
model details, providers and pricing
model details, providers and pricing
Gemini Embedding 2
voyage-code-4