# Voyage Code 4

> Voyage AI's code retrieval embedding model built for coding agents, with 32K context and 256 to 2048-dim vectors.

Agent resources: the index of everything machine-readable is https://www.ohmygpt.com/llms.txt; the integration skill (endpoints, auth, SDK and coding-tool setup) is https://www.ohmygpt.com/skill.md.

- Model ID: `voyage/voyage-code-4`
- Live status and providers as JSON, no key needed: https://api.ohmygpt.com/v1/models/voyage/voyage-code-4
- Released: 2026-08-13
- Context: 32K tokens
- Input: text; output: —

## Prices (USD)

| Item | Price | Unit |
| --- | --- | --- |
| Embedding input | $0.132 | per 1M tokens |

## Providers

Without a prefix each request goes to the best-priced healthy provider. To pin one, send the model as `<provider>:voyage/voyage-code-4`.

| Provider | Pinned model ID | Location | Input | Output | Trains on your data |
| --- | --- | --- | --- | --- | --- |
| Voyage AI | `voyage:voyage/voyage-code-4` | United States | — | — | yes |

Web page: https://www.ohmygpt.com/models/voyage/voyage-code-4
